Topic "Syncing directories / date encode Issue"

Author Message
dbeck157

Guest


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:
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"
exit

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

Any idea what this could be? I can provide more information if needed.
martin◆
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26730
Location: Prague, Czechia
Your duplicate post on Stack Overflow:
https://stackoverflow.com/q/41550129/850848
Advertisements

You can post new topics in this forum

Search

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

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License