Author: hrushikeshjadhav | Posted on: 12/19/2008 9:54:37 PM | Views : 494

Hi I m newbi for asp.net.(VB)
i m trying to upload files to ftp using below code and i m getting below error.
 Public Sub uploadFileUsingFTP(ByVal CompleteFTPPath As String, ByVal CompleteLocalPath As String, Optional ByVal UName As String = "", Optional ByVal PWD As String = "")
        Try
            'Create a FTP Request Object and Specfiy a Complete Path
            Dim reqObj As FtpWebRequest = WebRequest.Create(CompleteFTPPath)
            'Call A FileUpload Method of FTP Request Object
            'reqObj.UsePassive = False
            reqObj.Proxy = Nothing
      ...

Go to the complete details ...