Results 1 to 5 of 5

Thread: iNet

  1. #1

    Thread Starter
    Fanatic Member Dim's Avatar
    Join Date
    Jul 2000
    Posts
    620
    =/ can someone help me fix this problem...
    What's the diff between these 2 statements?
    Inet1.Execute , "PUT ", Text1.Text, Text2.Text
    Inet1.Execute , "PUT C:\stuff.txt stuff.txt"
    the second one uploads fine, but the first one won't.
    Text1.TExt = Path
    Text2.Text = filename

    I'm siply uploading files to an ftp...

    Thank you,
    D!m
    Dim

  2. #2
    Fanatic Member
    Join Date
    Jul 2000
    Location
    Manchester NH
    Posts
    833
    The first parameter is for the address of the computer you are connecting to. So the first one tells it to connect to the computer PUT and run the command text1 text2


    Kurt Simons
    [I know I'm a hack but my clients don't!]

  3. #3

    Thread Starter
    Fanatic Member Dim's Avatar
    Join Date
    Jul 2000
    Posts
    620
    So how would i upload files that are specified in a text box?
    Dim

  4. #4
    Junior Member
    Join Date
    Jul 2000
    Location
    Belfast
    Posts
    28
    Inet1.Execute , "PUT " & Text1.Text & " " & Text2.Text
    Inet1.Execute , "PUT C:\stuff.txt stuff.txt"

  5. #5

    Thread Starter
    Fanatic Member Dim's Avatar
    Join Date
    Jul 2000
    Posts
    620
    Thanx, i figured it out
    now i just have to place it in a waiting sequence b4 each upload.

    Laterz,
    D!m
    Dim

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