Topic "Auto skip uploading files that already exist on server"

Author Message
If_Tea_Pee

Guest


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:

Code:
"C:\Program Files (x86)\WinSCP\winscp.com" /command "open ftp://username:pass@mysite.com/" "put C:\downloads\*.* /files/"
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26480
Location: Prague, Czechia
Use the -neweronly switch or the synchronize command.

https://winscp.net/eng/docs/scriptcommand_put#neweronly
https://winscp.net/eng/docs/scriptcommand_synchronize
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