|
-
Nov 29th, 2005, 11:03 PM
#15
Thread Starter
Addicted Member
Re: Inet FTP query
FTPInet.RemoteHost = "Host"
FTPInet.UserName = "User"
FTPInet.Password = "Pass"
FTPInet.Execute , "Put C:\Test.txt NewDir/Woot.txt"
That worked ^_^ Thank you 
Although, sadly I still can't put the "close" line in the same sub, still causes it to crash ^^;
I wonder what will happen if i try, eventually for the full program to deal with several files :S
EDIT:
Just added a second line under
FTPInet.Execute , "Put C:\Test.txt NewDir/Woot.txt"
With Woot2. It crashes T_T
It's surely not meant to take that long to execute a command, is it?
EDIT2:
Interesting. I can put a sleep delay in for any amount of time, i've tried right up to 1min, but it still comes back with the "still executing command" error. However, if i put a msgbox between the two file uploads, they both work, even if i click the box straight away....
EDIT3:
I'm not sure of it's usage, but there's apparently a command
FTPInet.StillExecuting
Maybe that could somehow tell the system to not try and execute the next line of code until it's finished, or something?
Last edited by BubbleLife; Nov 29th, 2005 at 11:18 PM.
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
|