Binary upload switches to ascii when resumed ?

Advertisement

MircoBabin
Joined:
Posts:
1
Location:
Netherlands

Binary upload switches to ascii when resumed ?

Dear reader,

I'm using WinSCP to upload daily back-ups to HiDrive. Yesterday the binary transfer was interrupted and resumed. The final result on the ftp server is correct, the file 100% matches the local file.

But looking in the log I noticed that the resume uses ASCII to upload the remainder of the file. Is that correct ? Because I explicitly specified binary transer ?

WinSCP logfile is attached

Upload is done using the following BAT snippet.
    set mywinscp=c:\Program Files\WinSCP\WinSCP.exe
    echo option batch abort>"%winscp_script%"
    echo option confirm off>>"%winscp_script%"
    echo open ftpes://username:password@ftp.hidrive.strato.com/users/backup-6061/TripBuild/>>"%winscp_script%"
    echo put -resumesupport=on -transfer=binary "%backupfile%.zip">>"%winscp_script%"
    echo exit>>"%winscp_script%"
    "%mywinscp%" /console /script="%winscp_script%" /log="%winscp_log%" /loglevel=1 /ini=nul >> "%logfile%" 2>>&1
Description: WinSCP logfile

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
29,095
Location:
Prague, Czechia

Re: Binary upload switches to ascii when resumed ?

There's no transfer after reconnect.
WinSCP retrieves directory listing only (using ascii mode). And only to find out that "File transfer was completed before disconnect". So not transfer resuming really happens.

Reply with quote

Advertisement

You can post new topics in this forum