Yes, you can do that using Ftp.UploadFiles
:
ftp.CreateFolder("RemoteFolder");
ftp.UploadFiles("RemoteFolder", @"c:\LocalFolder\");
Using 3rd parameter - LocalSearchOptions
- you can for example upload only files with specific extension:
ftp.CreateFolder("RemoteFolder");
ftp.UploadFiles("RemoteFolder", @"c:\LocalFolder\",
new LocalSearchOptions("*.txt", true));