Getting a remote file in OS X

James.Cass at sealedair.com James.Cass at sealedair.com
Wed Sep 15 13:43:29 EDT 2004


Mark Talluto is right.  Your path should include "Users" like this:  
"/Users/cassj/Documents/data.txt"

My example below would be:
-- -----------
on mouseUp
put "whateverName" into userName
put "whateverPassword" into password
put "123.45.67.89" into ipaddress
get URL ("ftp://" & userName & ":" & password & "@" & ipaddress & 
"/Users/cassj/Documents/data.txt")
put it into fld "x"
end mouseUp
-- -----------
-- James





James.Cass at sealedair.com
Sent by: use-revolution-bounces at lists.runrev.com
09/15/04 01:36 PM
Please respond to How to use Revolution
 
        To:     How to use Revolution <use-revolution at lists.runrev.com>
        cc: 
        Subject:        Re: Getting a remote file in OS X


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





Gregory Lypny <gregory.lypny at videotron.ca>
Sent by: use-revolution-bounces at lists.runrev.com
09/15/04 08:30 AM
Please respond to How to use Revolution

To:     Revolution <use-revolution at lists.runrev.com>
cc:
Subject:        Getting a remote file in OS X


Hello everyone,

Is there a way to get a file from one OS X computer to another?  I
tried the both of the following but nothing happens.

on mouseUp
get url ("ftp://user:password@address/Documents/Folder/File")
put it into fld "x"
end mouseUp

on mouseUp
get url ("afp://user:password@address/Documents/Folder/File")
put it into fld "x"
end mouseUp

Gregory
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


More information about the use-livecode mailing list