Getting a remote file in OS X

Gregory Lypny gregory.lypny at videotron.ca
Fri Sep 17 14:08:17 EDT 2004


Still not working for me I'm afraid.  FTP is turned on. I also have the 
firewall on.  Do I have to specify a port?  Is it because the file I 
want is rtf?  Do I have to invoke some sort of library in Rev?

on mouseUp
   get url 
("ftp://me:password@where/users/me/Documents/Miscellaneous/Envelope 
Template.rtf")
   put it into fld "x"
end mouseUp


	Gregory

On Sep 15, 2004, at 4:09 PM, use-revolution-request at lists.runrev.com 
wrote:

> Do you have ftp services enabled on the Macs?  You can do this from the
> "Sharing" pane in "System Preferences".
> Please excuse this simple question if you've already done this. :-)
>
> This worked for me:
>
> on mouseUp
>   put "whateverName" into userName
>   put "whateverPassword" into password
>   put "123.45.67.89" into ipaddress
>   get URL ("ftp://" & userName & ":" & password & "@" & ipaddress &
> "/data.txt")
>   put it into fld "x"
> end mouseUp
>
> Hope this helps...James


More information about the use-livecode mailing list