Results 1 to 2 of 2

Thread: Internet Transfer controls

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2001
    Posts
    1

    Wink

    hello All,

    When i use the statement
    inet1.execute , "PUT C:\hello.txt /hello.txt"

    it works great. But when i make a variable for the transfer it doens;t work.

    dim x as string

    inet1.execute , "PUT x /x"

    if i can't use variables. does anyone know how i could accomplisht the same thing without haveing to loop threw text files and hogg down the system doing so.

    thank you
    -chuuz

  2. #2
    Lively Member
    Join Date
    Jan 1999
    Location
    Karjalohja, Finland
    Posts
    123
    Try this way:

    dim PutFile as string

    PutFile = "Hello.txt"

    inet1.execute , "PUT " & PutFile & " " & PutFile
    Do
    DoEvents
    Loop While inet1.StillExecuting

    -Dj4

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