On Sat, 07 Nov 2009 09:51:49 -0800, Boman wrote: > Have a simple script to FTP all files in one dir to a Solaris box. > Script runs fine when invoked from command line. However, when invoked > from browser (simple html form with one button that calls the .pl > script), only some files get FTPd. The process seems to stall, then the > browser times out. > > Running Apache 2.2 on Windows 2003 SP2, perl 5.8.8, ftp-ing to Solaris 9 > box.
Are you sure the files aren't being FTP'ed and you're just not seeing it in the browser? I'd suspect an issue withe your browser and buffer sizes. Does the output appear at the same rate as it does on the command line, or does it appear in a big chunk after a delay? How many files, and how long does the whole FTP session take? -- Peter Scott http://www.perlmedic.com/ http://www.perldebugged.com/ http://www.informit.com/store/product.aspx?isbn=0137001274 -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/