Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

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

martin

Re: Element "mv" not found in log file

Please attach a full session and debug log file showing the problem (using the latest version of WinSCP).

To generate log files, set Session.SessionLogPath and Session.DebugLogPath. Submit the log with your post as an attachment. You may want to remove other data you consider sensitive, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you may email it to me. You will find my address (if you log in) in my forum profile. Please include link back to this topic in your email. Also note in this topic that you have emailed the log.
DennisM

Element "mv" not found in log file

I am setting up synchronization between our local folder and a remote folder on the client's side, using sftp.
The synchronization, uploading/downloading files is working fine.

I just added moving the files from one remote directory to the archive remote directory using the following statement:

$session.MoveFile("/sftp/file_*", "/sftp/archive/")

As far as I understand this should move all files from "/sftp/" starting with "file_" to the /sftp/archive folder.

However I keep getting the error:

Element "mv" not found in log file. Please advise on how to resolve this issue.

Kind regards,