FTP Question

Eric Chatonet eric.chatonet at sosmartsoftware.com
Fri Jan 27 09:29:53 EST 2006


Hi Greg,

Don't know :-(
But i would add "put the result" after the "get url" line.
May help :-)

Le 27 janv. 06 à 15:26, Gregory Lypny a écrit :

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

Best Regards from Paris,
Eric Chatonet
------------------------------------------------------------------------ 
----------------------
http://www.sosmartsoftware.com/    eric.chatonet at sosmartsoftware.com/





More information about the use-livecode mailing list