libURLDownloadToFile noob problem
Josh Mellicker
josh at dvcreators.net
Fri Jun 9 13:35:48 EDT 2006
Dave, that was it! Thanks!
On Jun 8, 2006, at 11:42 PM, Dave Cragg wrote:
>
> On 9 Jun 2006, at 03:18, Josh Mellicker wrote:
>
>> I have never used libURLDownloadToFile, my first attempt was
>> unsuccessful :(
>>
>> ----
>>
>> My code:
>>
>>
>> ON mouseUp
>>
>> libURLSetFTPMode "passive" -- I tried "active" also
>> answer folder "where?"
>> libURLDownloadToFile "ftp://user:password@revcoders.org/
>> mim.txt", it
>>
>> END mouseUp
>>
>
> libUrlDownloadToFile needs a file as a parameter, not a folder. Try
> this:
>
>
> ON mouseUp
>
> libURLSetFTPMode "passive" -- I tried "active" also
> ask file "where?"
> if it is not empty then
> libURLDownloadToFile "ftp://user:password@revcoders.org/
> mim.txt", it
> end if
>
> END mouseUp
>
> Cheers
> Dave
>
> _______________________________________________
> 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
More information about the use-livecode
mailing list