Upload
Simon Lord
slord at mac.com
Tue Jul 30 00:44:01 EDT 2002
This is working properly for me now, thanks very much. I read a
little on the runrev site concerning libURl and I found that
libUrlFtpUpload does the same thing. Now which method is better?
On Monday, July 29, 2002, at 05:24 AM, Dave Cragg wrote:
> At 11:18 pm -0400 28/7/02, Simon Lord wrote:
>> I got this mostly working I think. but Here's what happens:
>>
>> The url:
>> ftp://slord@marelina.com:xxxxxxx@www.marelina.com/downloads/osxhints/
>> The file: /Applications/MetaCard/Direct_Chat.zip
>> The error: error File not specified
>>
>> I'm using the code you sent with the obvious variables hardcoded in
>> just to test it out. I'm wondering if it has something to do with a
>> product we use on our server but I won't know that until morning.
>> If you spot anything please let me know.
>
> You need the full file path of the destination url. For example;
>
> ftp://slord@marelina.com:xxxxxxx@www.marelina.com/downloads/osxhints/Direct_Chat.
> zip
>
> Also, you'll probably have to urlEncode your user name as it
> contains the "@" symbol.
>
> For example:
>
> put
> "ftp://<USER>:<PASS>@www.marelina.com/downloads/osxhints/Direct_Chat.zip"
> into tUrl
> put urlEncode("slord at marelina.com") into tUser
> put "xxxxxxxx" into tPass
> replace "<USER>" with tUser in tUrl
> replace "<PASS>" with tPass in tUrl
> put "binfile:/Applications/MetaCard/Direct_Chat.zip" into tSourceUrl
> put url tSourceUrl into url tUrl
> if the result is not empty then
> answer the result
> end if
>
> For more infor on libUrl, see the following:
>
> <http://www.runrev.com/revolution/developers/interimreleases/liburl/liburldoc.
> shtml>
>
> Cheers
> Dave Cragg
> _______________________________________________
> metacard mailing list
> metacard at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/metacard
>
>
Sincerely,
Simon
More information about the metacard
mailing list