Element "mv" not found in log file

Advertisement

DennisM
Guest

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,

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,551
Location:
Prague, Czechia

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.

Reply with quote

Advertisement

You can post new topics in this forum