Topic "Cannot transfer a ZIP file to Server"

Author Message
tilo1583
[View user's profile]

Joined: 2010-06-07
Posts: 1
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?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
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).
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