更新时间:2022-12-02 18:07:37
尝试使用FtpWebRequest,检查如何:使用FTP下载文件 [ ^ ]
如何使用C#将多个文件从FTP服务器传输到本地目录? [ ^ ]
或者您可以尝试使用免费FTP图书馆 [ ^ ]
Hi,
I want to access a remote location and download some files from the location. The point is the accessing requires credentials to be given as input to the command line. And i want to automate the entire thing using C#.
can anyone please help me in achieving the same,ie. how can i automate the logging into the remote machine .
Thanks!!!
try with FtpWebRequest , check How to: Download Files with FTP[^]
How to transfer multiple files from FTP server to local directory using C#?[^]
Or you can try one of Free FTP Library[^]