Topic "Cannot transfer a ZIP file to Server"

Author Message
[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 s -hostkey="xxxxx .."
put %1%

The file that I transfer is C:\FTP_TRANSFER\

Here is a portion of the logs:

Using username "xxxxxxxxxx".
Authenticating with pre-entered password.
Starting the session...
Reading remote directory...
Session started.
C:\FTP_TRANSFER\ | 2455527 KiB | 189.2 KiB/s | binary | 100%
Transfer was succesfully finished, but temporary transfer file ''
could not be renamed to target file name ''. 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?
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27086
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).

You can post new topics in this forum


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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License