On Thu, 22 Apr 2004, Sui Ming Louie wrote: > I changed debug from 0 to 1 and got the following (unabridged) output: > > Net::FTP: Net::FTP(2.65) > Net::FTP: Exporter(5.566) > Net::FTP: Net::Cmd(2.21) > Net::FTP: IO::Socket::INET(1.26) > Net::FTP: IO::Socket(1.27) > Net::FTP: IO::Handle(1.21) > > Net::FTP=GLOB(0x1a5a198)<<< 220 ted FTP server ready. > Net::FTP=GLOB(0x1a5a198)>>> user tensyl > Net::FTP=GLOB(0x1a5a198)<<< 331 Password required for tensyl. > Net::FTP=GLOB(0x1a5a198)>>> PASS .... > Net::FTP=GLOB(0x1a5a198)<<< 230 User tensyl logged in. > Net::FTP=GLOB(0x1a5a198)>>> CWD /Tensyl/Project/Summer_Wind > Net::FTP=GLOB(0x1a5a198)<<< 250 CWD command successful. > Net::FTP=GLOB(0x1a5a198)>>> TYPE A > Net::FTP=GLOB(0x1a5a198)<<< 200 Type set to A. > Net::FTP=GLOB(0x1a5a198)>>> PORT 192,168,168,38,9,173 > Net::FTP=GLOB(0x1a5a198)<<< 200 PORT command successful. > Net::FTP=GLOB(0x1a5a198)>>> RETR file_464.dxf > Net::FTP=GLOB(0x1a5a198)<<< 150 Opening ASCII mode data connection for > 'file_464.dxf' (629923 bytes). > Net::FTP=GLOB(0x1a5a198)<<< 226 Transfer complete. > file_464.dxf > Net::FTP=GLOB(0x1a5a198)>>> QUIT > Net::FTP=GLOB(0x1a5a198)<<< 221 Goodbye. > > The original (UNIX) file size is 629923 bytes. The > Windoze file also has that size. I tried to do this > manually via cmdline ftp and in ascii mode. The Windoze > file size is 717503 bytes. The file has 87580 lines which > also is the difference between the two file sizes. Notepad > does not like editing (Unix) text files.
I have this problem too, and would like to see a resolution (beyond doing a manual conversion on the remote end). In my case I'm not editing the transferred file, but placing it on a web server for use by other programs outside of my control, and when these programs encounter the DOS line ending, they croak. -- best regards, randy kobes _______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
