Re: Selenium Java automation WinSCPMove file from one location to other and change the extension of file
@Karan Sharma: The
If you wanted to move a local file to a remote location, use
https://winscp.net/eng/docs/scriptcommand_put#delete
mv
is for moving a remote file to another remote location (what this topic was originally about).
If you wanted to move a local file to a remote location, use
put -delete
:
put -delete C:\local\path\file.ext /remote/path/file.newext
https://winscp.net/eng/docs/scriptcommand_put#delete