Hello,
I would like upload all files and his subrirectories from a local directory, to the root of a remote FTP server, but it don't works...
The problem is how to specify the root of the FTP server to the MultiplePut method, because i must specify a remote directory, if i just give "." or "./" or "" like remoteDir parameter then it rise an exception...
myFtp.MultiplePut(Application.StartupPath & "\aDirectory\", "./", "*.*", True)
For example if i specify a remote directory to the MultiplePut() method and not the root of the server then it works, but i want copy all this files and this subdirectories to the root, not into a directory at root of my server...
So, my question is, how to specify to the MultiplePut() method to upload all files from a local directory to the root of the remote FTP server ? Is it possible ?
Thanks for your help :),
Doots