ppokharkar Level: Trainee
 Registered: 16-10-2008 Posts: 2
|
error while connecting to FTP server
hi all,
i am using Internet Transfer Control for downloading and uploading files from FTP server.i have written following code for the same
netDownload.URL = "ftp://" & <ftp-server-name>
netDownload.UserName = <username>
netDownload.Password = <password>
Do While netDownload.StillExecuting
DoEvents
Sleep 20
Loop
netDownload.Execute , "CD " & <FTPHomeDir>
the above code throws the exception
Run-time error '35754' Unable to connect to remote host
pls. tell me the solution of above prolem its urgent
regards,
Pandurang
|