Location: United States
Posted: 2016-07-19 22:49
We are using a current version of the PowerShell version of WinSCP. I have not been able to determine from the documentation if the WinSCP.Session.GetFiles method is synchronous or asynchronous.
We are transferring files in a batch. After the batch has transferred files, the files are to be moved to a remote directory. Occasionally, the MoveFile method fails for individual files in the batch. We have checked and the permissions on the file are all the same.
Description: code snippet
Location: Prague, Czechia
Synchronous. That's the default. I do not think there's any point mentioning that a method is synchronous. Majority is.
If you have problems, attach a session log file.
To generate the session log file, set
Btw, did you check that you are not trying to move the file over an existing file?
You can post new topics in this forum
And it's free!