Hi, First of all, WinSCP has made work life so much easier! So thank you.
These questions apply to VB.NET windows forms application.
Two questions please.
without error but the files are still being copied to the external server. This is causing the job to appear as completed while the files are still being transferred to the external server. What transfer options, if any, can be modified to prevent this behavior? Source code below.
Dim transOptions As New TransferOptions
transOptions.TransferMode = TransferMode.Binary
transOptions.OverwriteMode = OverwriteMode.Overwrite
transOptions.PreserveTimestamp = False
transOptions.ResumeSupport.State = TransferResumeSupportState.Off
Dim transferResult As TransferOperationResult = sess.PutFiles(dmzPath, "/" + serverDetails.WebServerFolderPath, False, transOptions)
2. We had to change the default value
due to errors we were receiving about timestamp permissions. It stopped the errors but not really clear what this property does? Also, how would
affect files being downloaded to an IIS server being displayed on website? I know you are probably not IIS experts. But do you know if
PreserveTimestamp = true
would make IIS think the file is not a new file and therefore use the cached version?
Appreciate the assistance.