PDA

Click to See Complete Forum and Search --> : Internet Transfer controls


chuuz
Mar 11th, 2001, 07:25 PM
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

dj4
Mar 11th, 2001, 11:34 PM
Try this way:

dim PutFile as string

PutFile = "Hello.txt"

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

-Dj4