Differences

This shows you the differences between the selected revisions of the page.

2017-09-05 2017-09-05
no summary (217.33.90.252) (hidden) (untrusted) Restored revision 1466500139. Undoing revision 1504606518. (martin) (hidden)
Line 24: Line 24:
===== Example ===== ===== Example =====
-''                 
-                RemoteDirectoryInfo lst = session.ListDirectory("/FTP/JASPER/*.eot"); // End of Transmission 
-                foreach (RemoteFileInfo file in lst.Files) 
-                { 
-                    Assert.IsNotNull(file); 
-                    string path = "/FTP/JASPER/"; 
-                    string srcPath = path + file.Name; 
-                    string targetPath = path+@"done/" + file.Name; 
-                    session.MoveFile(srcPath, targetPath); 
-                    //return; 
-                } 
-'' 
==== Real-Life Example ==== ==== Real-Life Example ====

Last modified: by martin