I am using Rebex 2005 to get and put files to a server. When I am done I need to Delete the files I deleted from the directory where the files resided "target_folder"
How can I delete the files? There is a DeleteFile(string remotePath) method in Rebex, but I don't know how to use it? What value needs to be specified for "remotePath"
Am I suppose to specify an actual physical hard drive for the file location? Like this:
client.DeleteFile("C:\remote_path" + fileName); // client is my Rebex object.
What confuses me is the rebex function prototype is as follows: void Ftp.DeleteFile(string remotePath)
it says remotePath, however it does not indicate that a filename needs to be specified?