Topic "A scheduled job will not transfer zero length files"

Author Message
ghomzik
[View user's profile]

Joined: 24 May 2012
Posts: 2
I have a scheduled process works correctly except that it will not transfer zero length files.
The file transfer method is SFTP and here is the protocol
Session protocol = SSH-2
SSH implementation = SSHD
Encryption algorithm = aes
Compression = No
File transfer protocol = SFTP-3


We are using Version 4.3.7 (Build 1679)

This is the entry in the scheduled batch file
"C:\Program Files (x86)\WinSCP\winscp.exe" /script=UPSToFtpTest.txt

This is the entries in UPSToFtpTest.txt
option echo on
option batch off
option confirm off
# Connect
open UPSTo_Test
# Download the files
put *.txt

the


Zero length files.doc
 Description:

Download
 Filename:  Zero length files.doc
 Filesize:  93.5 KB
 Downloaded:  71 Time(s)

Advertisements
prikryl
[View user's profile]
Site Admin
Joined: 10 Dec 2002
Posts: 16466
Location: Prague, Czech republic
Is it the file gph.txt?
_________________
Martin Prikryl
ghomzik
[View user's profile]

Joined: 24 May 2012
Posts: 2
prikryl wrote:
Is it the file gph.txt?


Yes
prikryl
[View user's profile]
Site Admin
Joined: 10 Dec 2002
Posts: 16466
Location: Prague, Czech republic
I do not see any problem in the log. Are you able to upload empty file using any other SFTP client?
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search winscp.net

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

About donations

Associations

Kyplex Cloud Security Seal - Click for Verification

Site design by Black Gate

WinSCP Privacy Policy

WinSCP License