Auto skip uploading files that already exist on server

Advertisement

If_Tea_Pee
Guest

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/"

Reply with quote

Advertisement

jpantera
Joined:
Posts:
34
Location:
Los Angeles, CA

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.

Reply with quote

martin
Site Admin
martin avatar

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.

Reply with quote

Advertisement

You can post new topics in this forum