Re: Session.MoveFile issues
Not sure what you are trying to do. Are you aware that
You cannot use it with local files.
https://winscp.net/eng/docs/library_session_movefile
If you are trying to move a local file to a remote directory, use
https://winscp.net/eng/docs/library_session_putfiles
That's looks like a bug (no matter if you used
Session.MoveFile
is for moving/renaming remote file to another remote folder or name?
You cannot use it with local files.
https://winscp.net/eng/docs/library_session_movefile
If you are trying to move a local file to a remote directory, use
Session.PutFiles
and set remove
argument to true.
https://winscp.net/eng/docs/library_session_putfiles
when ever i tried to plug in the source as in @"C:/dir?*" (or others...I'd always get "Element mv not found". So I figured if the transfer.filename worked I'd run with it.
That's looks like a bug (no matter if you used
Session.MoveFile
incorrectly. Please attach a code and full debug log file showing the problem (using the latest version of WinSCP).
To generate log file, set
Session.DebugLogPath
. Submit the log with your post as an attachment. If you do not want to post the log publicly, you can mark the attachment as private.