Cannot transfer a ZIP file to Server

Advertisement

tilo1583
Joined:
Posts:
1

Cannot transfer a ZIP file to Server

I am using WinSCP version 4.2.7 on a Windows platform. The SFTP server is freeFTPd.
I need to transfer large files around 2GB in size.
I am using scripting/automation.

Here is my .bat file

option batch on
option confirm off
open sftp://xxxxx:xxxxxxx@xxx.xx.xxx.xx:22 -hostkey="xxxxx .."
put %1%

The file that I transfer is C:\FTP_TRANSFER\2.zip

Here is a portion of the logs:

Using username "xxxxxxxxxx".
Authenticating with pre-entered password.
Authenticated.
Starting the session...
Reading remote directory...
Session started.
C:\FTP_TRANSFER\2.zip | 2455527 KiB | 189.2 KiB/s | binary | 100%
Transfer was succesfully finished, but temporary transfer file '2.zip.filepart'
could not be renamed to target file name '2.zip'. If the problem persists, you m
ay try to turn off transfer resume support.
Bad message (badly formatted packet or protocol incompatibility).
Error code: 5
Error message from server: Bad message
Request code: 18
(A)bort, (R)etry, (S)kip, Ski(p) all: Abort

Is it something related to the size of the file?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,556
Location:
Prague, Czechia

Re: Cannot transfer a ZIP file to Server

tilo1583 wrote:

Is it something related to the size of the file?
I do not know, can you upload smaller files? But large enough to trigged the resume support threshold (by default 100 Kb).

Reply with quote

Advertisement

You can post new topics in this forum