Post a reply

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

NickM

In case other come across this same issue I wanted to update this thread with how I managed to get this working.

Instead of using the FTP protocol I ended up simply switching to a jailed SSH connection and used SCP protocl (instead of FTP).

Once I did this everything started working properly. I suspect that the FTP protocol may be limited to not allow the fetching of proper timestamps.

Hope this helps someone else in the future.

Thanks!
NickM

Synchronization Scripting not skipping existing files via FTP

Hey all,

I created a simple winscp script to synchornize local files from a machine to a remote FTP server.

option batch abort

option confirm off
# We tell it which FTP to connect to
open mediasync
# We tell it to synchronize local to Remote path
synchronize -filemask="*.jpg" -criteria="time" -resumesupport="on" remote D:\FILES\Thumbnails /Thumbnails
exit


The files get uploaded however every time the script re-runs it will reupload all the files all over again.

Alternatively I've tried using -criteria="size" however get the same behavior.

Are there any known limitations that would be causing this to happen?