Thanks Mark and Eric,

        Problem solved.

                Greg

On 27-Jan-06, at 1:00 PM, [EMAIL PROTECTED] wrote:

Message: 17
Date: Fri, 27 Jan 2006 15:38:53 +0100
From: Mark Schonewille <[EMAIL PROTECTED]>
Subject: Re: FTP Question
To: How to use Revolution <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
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:[EMAIL PROTECTED]/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

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to