C# FTP 550 error

前端 未结 6 835
抹茶落季
抹茶落季 2021-01-20 03:31

I\'m trying to programatically download a file in C# via FTP, here is the relevant code (obviously with fake credntials and URI):

try
{
    var request = Ftp         


        
6条回答
  •  春和景丽
    2021-01-20 04:18

    You have not set the Method.

     request.Method = WebRequestMethods.Ftp.DownloadFile;
    

提交回复
热议问题