Differences
This shows you the differences between the selected revisions of the page.
2019-03-27 | 2019-10-18 | ||
5.15 released - removing beta notices (martin) | no summary (173.199.231.114) (hidden) (untrusted) | ||
Line 65: | Line 65: | ||
Check //Exclude empty directories// to exclude empty directories from transfer and synchronization. | Check //Exclude empty directories// to exclude empty directories from transfer and synchronization. | ||
+ | |||
+ | Use this feature to send one file at a time. Just set the FileMask to the entire filename, like this: | ||
+ | DirectoryInfo di = new DirectoryInfo(fullpath); | ||
+ | List<FileInfo> fileInfos = di.GetFiles().ToList(); | ||
+ | foreach (FileInfo fi in fileInfos){ | ||
+ | transferOptions.FileMask = fi.Name; | ||
+ | // send it | ||
+ | SendOneFolder(fullpath, sessionOptions, transferOptions); | ||
+ | // wait | ||
+ | System.Threading.Thread.Sleep(SecondsToWaitBetweenFiles * 1000);} | ||
+ | |||