On Mon, Jan 2, 2012 at 5:42 PM, Gregory Lypny wrote:

> Hello everyone,
>
> I use LiveCode to upload PDFs to a remote Mac using
>
>        put url ("binfile:" & longFileName) into url ("ftp://"; &
> aFTPAddress & newFileName)
>
> but when I download those same PDFs by using
>
>        put url ("ftp://"; & aFTPAddress & newFileName) into url("file://"
> & aLocalAddress & newFileName)
>
> it appears to be corrupted or at least there is a lot of gibberish.  What
> am I doing wrong?  Should the last url reference, that is, the location on
> the local machine, be binfile rather than file?
>
> Regards,
>
> Gregory


Have you tried binfile: instead of file: to prevent alteration?  In certain
cases, you may not need the // either.

˜Roger
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to