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

Particle

No combination of parameters caused the synchronize command to behave this way:

  • Leave alone remote files not present locally
  • Upload local files that do not exist remotely
  • Resume remote files where the local copy is larger
  • Skip remote files where the local copy is the same size

I tried many combinations and could sometimes satisfy a set of those requirements but never all.
martin

What does it mean "doesn't seem to correctly resume or skip"?
Particle

As a script at least using winscp.com, synchronize doesn't seem to correctly resume or skip regardless of options set when using FTPS. I had started there but gave up using it when I found success with put. Does it behave differently here?
Particle

.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:
put <localpath> <remotepath> -resume -neweronly

However, I've been trying to replicate this behavior using the .NET assembly and have not found an equivalent to the -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