This is correct. Didn't spot it. I use this for backing up files from a
couple of different apps - it should be the actual file name:
libURLftpUploadFile "testfile.txt",\
"ftp://Username:[EMAIL PROTECTED]/MyFolder/myFile.txt"
Mark
On 25 Aug 2005, at 12:57, Alex Tweedly wrote:
Hi, Here's my problem,
I created a button, edited the script for the button and added the
folowing
code:
on mouseUp
libURLftpUploadFile "testfile.txt",\
"ftp://Username:[EMAIL PROTECTED]/MyFolder"
end mouseUp
Now, I create a standalone program of it, with the file
"testfile.txt" inside
the same folder as the program.
Go to run it, click the button, go to login at my ftp, and nothing
has been
uploaded, why is this?
I think the "ftp url" needs to be the url of where you want the file
to go, rather than the folder you want it to go into.
The example in docs / libURLftpUploadFile isn't very clear - but the
example in docs / libURLftpUpload shows
libURLftpUpload value,uploadURL[,callbackMessage]
libURLftpUpload field "Data","ftp://ftp.example.org/file.txt"
libURLftpUpload URL "binfile:data.jef",myURL,"uploadDone"
libURLftpUpload myData,"ftp://me:[EMAIL PROTECTED]/file.txt"
which looks to me like it ought to be the actual file name. Worth a
try ....
If that's not it ...
- does it work when run from the IDE ?
- does libURLftpUpload work (i.e. no dependency on properly finding
the local file) ?
--
Alex Tweedly http://www.tweedly.net
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.15/80 - Release Date:
23/08/2005
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
___________________________________________________________
How much free photo storage do you get? Store your holiday
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution