Differences
This shows you the differences between the selected revisions of the page.
2019-10-18 | 2019-10-18 | ||
no summary (173.199.231.114) (hidden) (untrusted) | no summary (173.199.231.114) (hidden) (untrusted) | ||
Line 66: | Line 66: | ||
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: | + | You can use this property to send one file at a time. Just set the FileMask to the entire filename. |
- | 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);} | + | |
- | + |