FTP Question

Gregory Lypny gregory.lypny at videotron.ca
Fri Jan 27 15:18:57 EST 2006


Thanks Mark and Eric,

	Problem solved.

		Greg

On 27-Jan-06, at 1:00 PM, use-revolution-request at lists.runrev.com wrote:

> Message: 17
> Date: Fri, 27 Jan 2006 15:38:53 +0100
> From: Mark Schonewille <europe at ehug.info>
> Subject: Re: FTP Question
> To: How to use Revolution <use-revolution at lists.runrev.com>
> Message-ID: <43DA307D.7020302 at ehug.info>
> Content-Type: text/plain; charset=us-ascii; format=flowed
>
> If you enable passive FTP, you have to set Rev's ftp mode to
> passive as well:
>
> libURLSetFTPMode "passive"
>
> Best,
>
> Mark
>
>
> Gregory Lypny wrote:
>> Hello Everyone,
>>
>>     The handler below used to work when I was running Panther, but no
>> longer under Tiger.
>>
>> on mouseUp
>>   put "Now this field is empty." into fld "x"
>>   libURLSetFTPMode "active"
>>   get url ("ftp://username:password@IPAddress/Users/username/
>> Documents/Folder/theFile.txt")
>>   cleanLineEndings it
>>   put it into fld "x"
>>   put "Lines:" && the number of lines in it  & cr & \
>>       "The result:" && the result into fld "y"
>> end mouseUp
>>
>> on cleanLineEndings @pText
>>    replace crlf with return in pText
>>    replace numToChar(13) with return in pText
>> end cleanLineEndings
>>
>>     I'm simply trying to download a text file from a remote Mac that
>> acts as a server.  On the remote Mac, I have enabled FTP Access in
>> Sharing preferences, enabled Passive FTP mode, enabled the firewall,
>> and have even tried creating a separate firewall rule (opening ports
>> 20-21, 1024-65535).  I have toggled each of these settings and have
>> tried with the firewall turned off, but nothing seems to work.  The
>> result of my "get URL" command is empty.  I verified that I am  
>> able  to
>> connect using Interarchy, an FTP client.
>>
>>     Any suggestions would be most appreciated.
>>
>>         Greg




More information about the use-livecode mailing list