Frontier.sysunishellcommand [was Re: Announce: Frontier 8.0b46]

Emmanuel. M. Decarie emm at scriptdigital.com
Tue Jan 15 06:15:04 PST 2002


À (At) 13:02 +0100 15/01/02, Michel Benevento écrivait (wrote) :
>- command line response deafness  (Frontier ignores any response from
>command line utilities like curl, ncftpput, maybe others?); also, i'd
>appreciate it if someone could confirm this.

This work for me:

temp.apple = sys.unixshellcommand ("curl apple.com")

temp.isotransfert = sys.unixshellcommand ("curl 
ftp://ftp.scriptdigital.com/emm/isotransfer1.0b1.htm")

Maybe what you are attempting involve an interactive session with 
curl or ncftp, in this case, this will fail, and you are better to 
write an Expect/Perl script and called it from Frontier or just use 
directly the Perl LWP library for doing all your stuff in 
HTTP/FTP/SMTP....

HTH
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Emmanuel Décarie - Consultant
   Programmation pour le Web - Programming for the Web
   UserLand Frontier  - Perl - JavaScript - AppleScript - HTML - XML
   http://www.scriptdigital.com 

---> The Frontier Newbie Toolbox:
   <http://www.scriptdigital.com/fnt/frontierNewbieToolbox.html>




More information about the Frontier-Users mailing list