I came across this post: Upload files with FTP using PowerShell
But I'm looking how i can upload a directory with fil开发者_运维技巧es in it to a FTP server. Thanks in Advance
You should write a script that loop into directory and then upload files one by one. I don't remember that ftp command on windows can upload an entire directory.
You should find example here :
http://www.dostips.com/DtTipsFtpBatchScript.php
精彩评论