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

ProfessorWeed69

Thanks Martin!
ProfessorWeed69

Scripting issue with image files

Hi,

I am using WinSCP to grab a weekly batch of images our ERP provider leaves us every week. I found a WinSCP script on YouTube which seems to be working, just need to know what to modify to make it work how i want it to work.

When I run the script, it will log into the SFTP server and download all of the images. I believe the ERP provider provides an entirely new dump of images with the same folders/filenames. When I run the script after this dump, it appears WinSCP is overwriting the images with the new ones even though they are the same images, but I believe it is redownloading them possibly due to the folders/images having a new timestamp.

What would i need to do to have WinSCP ignore the timestamp and just sync folder/filenames only?

This is what I have in the script. This is the only line I have which is relevant to the script. Anything else in the script has site/credentials.
synchronize local e:\images /images

Anything I can add to this? Thanks!