Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Divine

Uploading ZIP file via console results in corrupted file

Hi there, I recently encountered a problem uploading a password protected zip file via commandline in a .bat file:
"C:\tools\winscp\WinSCP.exe" /console /script="C:\backup\ftp.txt" /log="C:\\backup\log\winscp_%date%-%time:~0,2%%time:~3,2%%time:~6,2%.log"


The logfile seems okay (attached). WinSCP Version 6.5.3, Windows 10. However when I'm uploading the file manually via GUI, the file is intact and I can unzip it.