Link to home
Start Free TrialLog in
Avatar of smilejlu
smilejlu

asked on

vb FTP run-time error '35753' "protocol not supported for this method"

i'm getting this error
run-time error '35753' "protocol not supported for this method"
when i run the following code.  the problem is it works on another ftp site.
i can download files manually from this site under a cmd window.
can a setting on the ftp site cause this error?
thanks,
pierre

Private Sub form_load()
Set ftp = pmt1.Inet1
   Inet1.URL = " ftp://ftp.eoddata.com"
   Inet1.UserName = "ptullier"
   Inet1.Password = "222222"
   Inet1.RequestTimeout = 40
   Inet1.Execute , "GET AMEX_20071001.txt"
    Do While Inet1.StillExecuting
      DoEvents
   Loop
   Inet1.Execute , "CLOSE"
   MsgBox ("Update Completed")
   End
 End Sub
ASKER CERTIFIED SOLUTION
Avatar of tward
tward

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of smilejlu
smilejlu

ASKER

thanks very much.