SessionRemoteException:Internal error fz#rename (0010)

Advertisement

codenat
Joined:
Posts:
12
Location:
Columbia, SC

SessionRemoteException:Internal error fz#rename (0010)

Howdy,
I am working on a windows service that periodically checks the ftp server for new files and if there are new files, saves the file to the History folder, and then downloads the file.

I am using the .net assembly from the nuget package.

I am having trouble figuring out how to move the file (or copy the file), on the ftp server, from the original folder to the history folder within it and then download only the file and not the history folder. I've tried various things and when it works, it downloads the history folder with the file, but when it doesn't, this is my latest error message:
WinSCP.SessionRemoteException: Internal error fz#rename (0010). ---> WinSCP.SessionRemoteException: Error moving file '/users/NATTest/FileCheck/' to '/users/NATTest/FileCheck/History/'.
--- End of inner exception stack trace ---
at WinSCP.SessionLogReader.Read(LogReadFlags flags)
at WinSCP.ElementLogReader.Read(LogReadFlags flags)
at WinSCP.SessionElementLogReader.Read(LogReadFlags flags)
at WinSCP.ElementLogReader.Read(LogReadFlags flags)
at WinSCP.ElementLogReader.ReadToEnd(LogReadFlags flags)
at WinSCP.Session.MoveFile(String sourcePath, String targetPath)

Any ideas or suggestions would be fabulous. :)
Nat

Reply with quote

Advertisement

codenat

Re: SessionRemoteException:Internal error fz#rename (0010)

I can get it working without the error that I posted, but I still can't seem to get the file and not the folder.

Nat

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,518
Location:
Prague, Czechia

Re: SessionRemoteException:Internal error fz#rename (0010)

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

To generate log file, set Session.SessionLogPath. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, 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 can mark the attachment as private.

Reply with quote

Advertisement

You can post new topics in this forum