Uploading ZIP file via console results in corrupted file

Advertisement

Divine
Guest

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.
  • winscp_28.07.2025-192641.log (12.46 KB, Private file)

Reply with quote

Advertisement

You can post new topics in this forum