Topic "Disconnected from server"

Author Message
froggy
[View user's profile]

Joined: 2014-10-07
Posts: 5
Location: Ajaccio
Hi,

First of all thanks a lot for this very nice tool.
The scripting ability is exactly what i was looking for.
I can forget about filezilla now.

I have a issue when uploading files, i get following error after first transfer :
"Disconnected from server"
i tried batch mode and gui , i have the same error.
the same transfer works fine with filezilla.

command line :
Code:
WinSCP.com /script=script.txt /log=winscp.log


script :
Code:
option batch abort
option confirm off 
open ftp://login:pass@ftp3.akka.eu/
lcd J:\download\DEX 
cd /IT/DEX/ 
put AF-CCA_NEO-*.tar.Z 
close 
exit


i have also attached the script log file

Using WinSCP 5.5.5 on Windows 7x64.
winscp.log (56.85 KB) [Download]

Description: (none)

Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
Can you attach a log file from FileZilla too?
_________________
Martin Prikryl
froggy
[View user's profile]

Joined: 2014-10-07
Posts: 5
Location: Ajaccio
here's the filezilla log
filezilla.log (8.81 KB) [Download]

Description: (none)

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
OK, your server seems to fail on MFMT command that WinSCP uses to update uploaded file time to that of original file. FileZilla does not update file time by default.

Try to turn off Preserve timestamp transfer option:
http://winscp.net/eng/docs/ui_transfer_custom

You can also try to enable Transfer > Preserve timestamps of uploaded files in FileZilla, if it makes FileZilla fail the same way as WinSCP.
_________________
Martin Prikryl
froggy
[View user's profile]

Joined: 2014-10-07
Posts: 5
Location: Ajaccio
thanks !

it solved the problem in gui and batch mode
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
And does FileZilla fail as well when you enable option Preserve timestamps of uploaded files?
froggy
[View user's profile]

Joined: 2014-10-07
Posts: 5
Location: Ajaccio
this option seems to be unavalaible in filezilla settings
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
It's not in settings, it's in Transfer menu.
froggy
[View user's profile]

Joined: 2014-10-07
Posts: 5
Location: Ajaccio
when i use the option "preserve timestamp" in filezilla, i have the same error message than in WinSCP
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
froggy wrote:
when i use the option "preserve timestamp" in filezilla, i have the same error message than in WinSCP

Thanks for the feeedback.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License