I'm having problems downloading a file off an FTP with the Internet Transfer Control in VB6, here's the code I used:
Private Sub Form_Load()
Inet1.Execute "ftp://username
assword@ftp://203.137.137.21", "GET /somedir/file.doc C:\My Documents\work\file.doc"
Inet1.Execute "ftp://username
assword@ftp://203.137.137.21", "CLOSE"
End Sub
I have also set up relevant info in the properties box but still can't figure out why I get an "Unable to connect to remote host" message.
Private Sub Form_Load()
Inet1.Execute "ftp://username
Inet1.Execute "ftp://username
End Sub
I have also set up relevant info in the properties box but still can't figure out why I get an "Unable to connect to remote host" message.