FTP Upload Does Not Work?

Mark Smith mark at maseurope.net
Thu Aug 25 08:24:03 EDT 2005


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:Password@ftp.mydomain.com/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:Password@ftp.mydomain.com/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:secret@example.net/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
> use-revolution at lists.runrev.com
> 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



More information about the use-livecode mailing list