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.

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)


Topic review


Syncing directories / date encode Issue

Hey there. I am currently trying to use WinSCP through command line to download updated files from an ftp server to a local directory. It seems to be working but about half way through I get hit with this error:

Error listing directory '/FE_HDD_SyncFolder/Diags Old PC and Tape/DIAGS NON DG/QAPLUS 5.5 pc diags'.
Unexpected directory listing line 'EMM386.EXE////120926/0/0/3082/80/91/40/24/1/1/1'.
Invalid argument to date encode [3082-80-91]
(A)bort, (R)etry, (S)kip: Abort

MY CODE(text file):
option batch abort
option confirm off
open "mftpserver" -passive=off
synchronize local "localdirectory" "targetdirectory"

MY CODE(batch file): /script=Sync2local.txt

Any idea what this could be? I can provide more information if needed.