Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要用户能够修改用于下载 FTP 信息的端口 - 但我在 FtpWebRequest 中找不到更改此端口的方法。
端口不只是用于创建 Web 请求的 URI 的一部分吗?
FtpWebRequest request = (FtpWebRequest)WebRequest.Create("ftp://10.0.0.1:12345");