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

giermo

okay, Thanks!
martin

Re: $session.moveFile - no winSCP TransferOperationResult object returned

The Session.MoveFile throws an exception on error.
giermo

This was done using powershell as the platform. as a FYI
giermoivi

$session.moveFile - no winSCP TransferOperationResult object returned

Hello

I am attempting to move a file from one ftp dir to another. since all work is done on ftp end, i just use the move command.

I would like it to reutrn status of move, but for the life of me cant figure it out, no 1/0, and no winSCP TransferOperationResult object returned ??


$moveResult = $session.moveFile( ($fullFileName), $successPath)

Any tips???

Thanks for the help