From: Blackstone, J. D. <jda...@ci...> - 2002-03-15 14:59:35
|
I would never automate an FTP session by wrapping Expect/Expect.pm around an FTP client. Use Net::FTP. I know the Expect book talks about automating an FTP session, but it's a bad idea when you have a module to do it for you (and when you can't depend on your FTP clients to behave the same way on different systems). jdb > -----Original Message----- > From: RGi...@a1... [mailto:RGi...@a1...] > Sent: Friday, March 15, 2002 2:59 AM > To: Chen leonard-a17094 > Cc: Expectperl-Discuss (E-mail) > Subject: Re: [Expectperl-discuss] 'Ftp' acts different in Cygwin and > Linux > > > > When I try to automate 'ftp' under WINNT(CYGWIN_NT-4.0), > > Don't. Take a look at ncftp (http://www.ncftp.org), which is > scriptable and also runs natively under Windows. |