![]() NET, POSH is a full-featured task automation framework for distributed Microsoft platforms and solutions. See also WinSCP FAQ How do I transfer directory non-recursively TransferOptions transferOptions new TransferOptions () transferOptions.FileMask '/' session.PutFiles ('d:\toupload\', '/home/user/', false, transferOptions) It's an equivalent to your code. Windows PowerShell (POSH) is a command-line shell and associated scripting language created by Microsoft. 1 Answer Sorted by: 2 Your code to exclude subdirectories is correct. Submission Guidelines | Link Flair - How To This entry was posted in C# and tagged FTP, FTPS, SFTP by jack. The FTP server being connected to is IIS so it does not support all commands like MLSD in it's current configuration and I don't see them making a change if requested. NET assembly to automate nightly downloads by using the file timestamp to identify the files to be downloaded. NET Framework qui permettent de lutiliser en PowerShell. Il intègre une bibliothèque avec des fonctions.
0 Comments
Leave a Reply. |