Re: PDFs Not Downloading Properly From FTP Server

2012-01-03 Thread Gregory Lypny
Thank you, Roger.  Works like a charm!

Gregory


On Tue, Jan 3, 2012, at 12:37 AM, Roger wrote:

 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


PDFs Not Downloading Properly From FTP Server

2012-01-02 Thread Gregory Lypny
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



___
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


Re: PDFs Not Downloading Properly From FTP Server

2012-01-02 Thread Roger Eller
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