I faced a typical problem while uploading files in a FTP server, it worked fine in the development server, however, when I deployed it in the production environment, it came up with an error “The Requested FTP Command is not supported when using HTTP proxy.”                                                                                 

 To solve this problem we have to set the proxy method of FTPWebRequest to null.

Advertisements