|
-
Dec 17th, 2001, 01:11 PM
#1
Thread Starter
Fanatic Member
FTP ?? argggg
Whywont this work.?
is it because i am on a network?
This stuff seems to be picky
VB Code:
Private Sub Command1_Click()
Screen.MousePointer = vbHourglass
Inet1.URL = "ftp://www.george.fws1.com"
Inet1.UserName = "george.fws1.com"
Inet1.password = "george"
Inet1.Protocol = icFTP
Inet1.Execute , "put c:\testing.txt /testing.txt"
Do While Inet1.StillExecuting
DoEvents
Loop
Screen.MousePointer = vbDefault
End Sub
Any help would be Fantastic!!
Seahag
BTW I keep getting a "Unable to connect to Remote Host"
-
Dec 17th, 2001, 04:23 PM
#2
Thread Starter
Fanatic Member
No Ideas ^^
-
Dec 17th, 2001, 04:31 PM
#3
Frenzied Member
Re: No Ideas ^^
Originally posted by SeaHag
a shot in the dark
You put
Inet1.Execute , "put c:\testing.txt /testing.txt"
Replace with
Inet1.Execute , "PUT c:\testing.txt /testing.txt"
-
Dec 17th, 2001, 04:36 PM
#4
Thread Starter
Fanatic Member
Tryed that, and lots of other string manipulations..
Nothing.
I went as far as trying to connect to my web sites ftp account through dos.. but still no luck.
I don't think its vb..
Maybe its the network here at work.. (maybe?????????)
Thanks
-
Dec 17th, 2001, 04:39 PM
#5
Frenzied Member
Originally posted by SeaHag
Tryed that, and lots of other string manipulations..
Nothing.
I went as far as trying to connect to my web sites ftp account through dos.. but still no luck.
I don't think its vb..
Maybe its the network here at work.. (maybe?????????)
Thanks
Try connecting to ftp.microsoft.com
Then it you can connect to that, its that site.
If you cant connect to microsoft its the network.
-
Dec 17th, 2001, 04:57 PM
#6
Thread Starter
Fanatic Member
Both instances say i am connected
Then prompts for username password.
But there lies the problem.
I will try at home..
Thanks..
-
Dec 17th, 2001, 04:59 PM
#7
Thread Starter
Fanatic Member
Something weired..
FTP microslut.com works too.. Arggggg
What would the network have to do with it though..
I am really stupid with networks..
-
Dec 17th, 2001, 05:11 PM
#8
Lively Member
I had a problem like yours and I couldn't understand why.
then, I found this class in this site:
http://www.codeguru.com/vb/articles/1852.shtml
and it solved my problem.
Try this.
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
|