Want to use C# (FtpWebResponse) to read file list from FTP, but it returns HTML

后端 未结 4 626
既然无缘
既然无缘 2020-12-11 08:54

I use below codes to get files from a FTP site. It works in my computer, but it only return HTML codes when I run it on another computer (I can see that the HTML are codes o

4条回答
  •  青春惊慌失措
    2020-12-11 09:18

    I found the solution: the default proxy was enabled unexpectedly

    I now have to disable it specifically using a config file:

    
    
       
        
      
    
    

    In fact, it is really a .NET issue!

提交回复
热议问题