Topic "Uploading only New Files"

Author Message
[View user's profile]

Joined: 2016-07-08
Posts: 7
Location: Charleston, SC
Here is what my target is
I've used the GUI to upload all the image files to my target site.
Now what I want to do is to only send NEW or updated files to the target site

the ideal execute the program that would only upload any file added today the source directory, instead of uploading all the files everyday which takes an hour.

Currently I have
'Upload files
Dim MyTransferOptions As New WinSCP.TransferOptions
MyTransferOptions.TransferMode = TransferMode.Binary

Dim transferResult As TransferOperationResult
transferResult = mySession.PutFiles("\\aiken\IDPhotos\*.jpg", "/studentpics/", False, MyTransferOptions)

'Throw on any error

but I'm not sure how to isolate the new files.
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24736
Location: Prague, Czechia
Start here:

You can post new topics in this forum

Search Site

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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License