.NET assembly equivalent of -neweronly for PutFiles()?
Hello-
I've been experimenting with WinSCP for uploading to an FTPS file server. Using a script file, I can upload files and automatically resume or skip existing files as is appropriate using:
However, I've been trying to replicate this behavior using the .NET assembly and have not found an equivalent to the
Is this feature available? Some files I'm uploading are hundreds of megabytes, so this could potentially consume a large amount of time for data which is already on the server.
Thanks,
Geoff
I've been experimenting with WinSCP for uploading to an FTPS file server. Using a script file, I can upload files and automatically resume or skip existing files as is appropriate using:
put <localpath> <remotepath> -resume -neweronly
-neweronly
flag available in winscp.com
. Neither the SessionOptions
class nor TransferOptions
class seems to have criteria for when to resume.
Is this feature available? Some files I'm uploading are hundreds of megabytes, so this could potentially consume a large amount of time for data which is already on the server.
Thanks,
Geoff