Results 1 to 8 of 8

Thread: FTP ?? argggg

  1. #1

    Thread Starter
    Fanatic Member SeaHag's Avatar
    Join Date
    Jul 2001
    Location
    Lake Huron
    Posts
    901

    FTP ?? argggg

    Whywont this work.?
    is it because i am on a network?
    This stuff seems to be picky


    VB Code:
    1. Private Sub Command1_Click()
    2. Screen.MousePointer = vbHourglass
    3.  
    4. Inet1.URL = "ftp://www.george.fws1.com"
    5. Inet1.UserName = "george.fws1.com"
    6. Inet1.password = "george"
    7. Inet1.Protocol = icFTP
    8. Inet1.Execute , "put c:\testing.txt /testing.txt"
    9.  
    10. Do While Inet1.StillExecuting
    11. DoEvents
    12. Loop
    13.  
    14. Screen.MousePointer = vbDefault
    15.  
    16. End Sub

    Any help would be Fantastic!!

    Seahag

    BTW I keep getting a "Unable to connect to Remote Host"

  2. #2

    Thread Starter
    Fanatic Member SeaHag's Avatar
    Join Date
    Jul 2001
    Location
    Lake Huron
    Posts
    901

    Unhappy No Ideas ^^


  3. #3
    Frenzied Member
    Join Date
    Sep 1999
    Location
    Phoenix, az
    Posts
    1,517

    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"

  4. #4

    Thread Starter
    Fanatic Member SeaHag's Avatar
    Join Date
    Jul 2001
    Location
    Lake Huron
    Posts
    901

    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

  5. #5
    Frenzied Member
    Join Date
    Sep 1999
    Location
    Phoenix, az
    Posts
    1,517
    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.

  6. #6

    Thread Starter
    Fanatic Member SeaHag's Avatar
    Join Date
    Jul 2001
    Location
    Lake Huron
    Posts
    901
    Both instances say i am connected

    Then prompts for username password.
    But there lies the problem.

    I will try at home..
    Thanks..

  7. #7

    Thread Starter
    Fanatic Member SeaHag's Avatar
    Join Date
    Jul 2001
    Location
    Lake Huron
    Posts
    901
    Something weired..

    FTP microslut.com works too.. Arggggg

    What would the network have to do with it though..
    I am really stupid with networks..


  8. #8
    Lively Member
    Join Date
    Mar 2001
    Location
    Lisbon, Portugal
    Posts
    69
    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.
    Rita Jaques

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width