|
-
Sep 19th, 2000, 09:07 AM
#1
Thread Starter
Lively Member
i'm using the microsoft internet transfer control to
access an ftp site but when i download the file its
garbage ##@@@@##$%^&*()(*&^%%$%^&* ect....
it has a file name a xxxx with out an extention as .txt but
it is a text file
any help would be great
thanks
-
Sep 19th, 2000, 09:40 AM
#2
Fanatic Member
We would need to see the way you are downloading please.
Thank you,
D!m
-
Sep 19th, 2000, 11:23 AM
#3
Thread Starter
Lively Member
this is what i'm doing
With Inet1
.Cancel
.Protocol = icFTP
.RemoteHost = "99.99.99.999"
.RemotePort = "21"
.UserName = "name"
.Password = "pass"
End With
Inet1.Execute , "CD XXX" this changes the dir.
Inet1.Execute , "get file C:\temp\file.txt"
thanks
jason
-
Sep 19th, 2000, 02:53 PM
#4
Thread Starter
Lively Member
No ideas huh?
what about using winsock??
-
Sep 19th, 2000, 07:02 PM
#5
Try this:
Code:
Inet1.Execute "http://www.site.com/index.html", "GET"
If that doesn't work, try this:
Code:
Inet1.Execute, GET "http://www.site.com/index.html C:\htmfile.html"
-
Sep 20th, 2000, 01:53 AM
#6
Lively Member
Try this:
Private Sub FtpGetFile()
With Inet1
.Protocol = icFTP
.URL = "99.99.99.999"
.UserName = "name"
.Password = "pass"
.RemotePort = "21"
End With
Inet1.Execute , "CD XXX" 'this changes the dir.
DoLoop
Inet1.Execute , "GET file C:\temp\file.txt"
DoLoop
Inet.Execute , "QUIT"
DoLoop
End Sub
Private Sub DoLoop()
Do
DoEvents
Loop While Inet1.Still.Executing
End Sub
- Dj4
-
Sep 20th, 2000, 08:31 AM
#7
Thread Starter
Lively Member
would it matter if i ran this on windows NT workstation??
it works fine in 98 i dunno??
thnaks
jason
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|