I'm having an issue with the UploadFiles
method of the FluentFTP library. This is my code:
var count = _client.UploadFiles(filesPaths, remotePath, true, true);
foreach(var path in filesPaths)
{
AddLog(string.Format("Uploaded File: {0}", path));
}
And after execute UploadFiles
it throws an exception saying Can't find file. I discovered when I use remotePath = "/uploads"
I have this issue, but when I set remotePath to "/"
, the method uploads files without problems. I checked user permissions and he can do everything.
I don't know what could be the problem. I read the source code in GitHub and I didn't find anything weird.
Is it a bug of FluentFTP? Or am I missing something?