Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inet
Message
From
25/11/1998 11:17:40
Jody Cairns
OAO Technology Solutions
Moncton, New Brunswick, Canada
 
 
To
25/11/1998 10:44:47
General information
Forum:
Visual Basic
Category:
ActiveX controls
Title:
Re: Inet
Miscellaneous
Thread ID:
00161376
Message ID:
00161399
Views:
20
>Anybody known how to use the inet ocx for xfer of files via
>ftp (samples codes), i try with URL method and its work fine but i have no success yet with FTP

This is pretty straight-forward. Here's a basic example:
With Inet1
  .URL = "ftp://ftp.microsoft.com"
  .UserName = "anonymous"
  .Password = "cairnsj@dfo-mpo.gc.ca"
  .Execute , "get disclaimer.txt e:\downloads\test.tst"
End With
This downloads the file "disclaimer.txt" from the specifed ftp site to the local file "test.txt"

Is that what you were looking for?

jody
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform