If you are looking to transfer file from one location to another in the same system, then why do you want to use FTP. You can easily do that use classes in System.IO
System.IO.File.Move("Source Path","Destination Path")
My.Computer.FileSystem.MoveFile("Source Path","Destination Path")
But if you want to use FTP then link by vtortola could help. You can also use UploadFile method of WebClient class.
Gaurav Khanna
Thanks for your reply.
I have one FTP script file.I'm going to call this using a batch file.
Is there any possibility to pass the value to the FTP file from batch file.
Example: We have get commands to get the file from the folder.So fot that we have to change the dir to required location.
lcd
locationget file.txt
location of the path should be passed as a variable thru the batch file.
please help me to resolve this issue.
Thanks,
saranya.