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 "X"
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