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:[EMAIL PROTECTED]:[EMAIL PROTECTED]/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:[EMAIL PROTECTED]:[EMAIL PROTECTED]/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("[EMAIL PROTECTED]") 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
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard

Reply via email to