Post a reply

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: Having problem to move the records to our archive folder

It's difficult to help you, if you do not show us the exact values you are using.

Anyway, make sure the target path includes a file name (like /target/remote/path/file.ext).
Or if you need/want to use a directory path only, make sure the path ends with a slash (like /target/remote/path/).
Philky001

Having problem to move the records to our archive folder

I am able now to post the files on the remote server. Now we want to move them from their original spot to our archive folder. the following code
has in file, the folder path orig with the file, and the item.FolderPathArchive has the folder path of the archive folder.

It's not doing the move, am I missing anything here?

session.MoveFile(file, item.FolderPathArchive]);