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

martin

Re: Auto skip uploading files that already exist on server

@jpantera: Can you please be more specific about what you are trying to achieve? If you just want to run WinSCP script, it should be easy to do in Perl. Just run it as you would run any other commandline.
jpantera

Re: Auto skip uploading files that already exist on server

Hello @Martin: You do not have an example for this, using Perl. Is there special functionality here that makes Perl unable to use the logic found in these, or the fact there's no Perl knowledge there / or not as popular.

I do save results of Scripts we build in a historical database table, that allows the comparison that way, but was recently queried if WinSCP can do that on it's own, so wondering on this level.

Thanks,
Joe P.
If_Tea_Pee

Auto skip uploading files that already exist on server

Hello, I have a download manager that supports running a command line after a download finishes.

Basically I want those downloaded files to be uploaded to a server, skipping files that are already exist.

This is the code I'm currently using:
"C:\Program Files (x86)\WinSCP\winscp.com" /command "open ftp://username:pass@mysite.com/" "put C:\downloads\*.* /files/"