|
-
Apr 4th, 2008, 11:09 AM
#1
Thread Starter
Addicted Member
[RESOLVED] Need help with FTP uploading
Hello.
I got my ftp uploader 50% finished but 1 problem,
current code:
Code:
ITC.Protocol = icFTP
ITC.URL = "no"
ITC.username = "not"
ITC.Password = "funny"
ITC.Execute ITC.URL, "PUT C:\lol.txt"
The thing is, PUT C:\lol.txt MUST be inside " "
I have tried "PUT", "c:\lol.txt" but that doesnt work.
I really need a working code that can have variables inside like:
"PUT", app.path & and so on...
-
Apr 4th, 2008, 11:42 AM
#2
Re: Need help with FTP uploading
Did you try
PUT "C:\lol.txt"
-
Apr 4th, 2008, 11:43 AM
#3
Thread Starter
Addicted Member
Re: Need help with FTP uploading
I need like this:
PUT "C:\folder\" & variablehere & "\lol.txt"
-
Apr 4th, 2008, 12:01 PM
#4
Re: Need help with FTP uploading
Ok. What happens when you do that?
-
Apr 4th, 2008, 12:02 PM
#5
Thread Starter
Addicted Member
Re: Need help with FTP uploading
It.. well... It doesnt do anything. Says msgbox ("TRANSFER COMPLETE")
But really it doesnt upload
-
Apr 4th, 2008, 01:54 PM
#6
Re: Need help with FTP uploading
 Originally Posted by masterkert3
I need like this:
PUT "C:\folder\" & variablehere & "\lol.txt"
Have you tried a slightly different variation
Code:
ITC.Execute ITC.URL, "PUT " & "C:\folder\" & variablehere & "\lol.txt"
-
Apr 4th, 2008, 02:01 PM
#7
Thread Starter
Addicted Member
Re: Need help with FTP uploading
NICE WORK!
it works :P
I never thought of that hehe
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
|