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");