Topic "Request for MoveFiles VB.Net Exmple with WinSCP.dll"

Author Message
[View user's profile]

Joined: 2013-04-16
Posts: 1
Location: MYR

I facing a difficultly in writing the code for moving files from a remote directory to another remote directory.
Here my code:


session.MoveFile("/Folder1/Name.txt", "/Folder1/Backup/Name.txt")

When I run the code, the error came our "Error moving file '/Folder1/Name.txt' to '/Folder1/Backup/Name.txt'. "

Is my coding correct? Please provide some code samples. thx
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26890
Location: Prague, Czechia
Your code looks good.

Does /Folder1/Backup folder even exist?

I believe the error message you have posted is not complete. There must be some more details in it.
Martin Prikryl

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License