469,923 Members | 1,337 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,923 developers. It's quick & easy.

Redhat 9.0 ftp Incompatabilities?

Hi, the first question has nothing to do with Perl, can anyone tell me why:

1. When I ftp a file from RH 9.0 to AIX, regardless of transfer mode
(binary or ASCII), the resultant file always has "^M"s appended to each
line?

2. The RH 9.0 ftp daemon (ftpd) returns "OK" when you list a
non-existant file or directory? By "OK" I mean, it prints "226 Directory
send OK." and gives a status code of "2", whereas other ftp daemons
(TRU-64, AIX, even IIS!) return "5". These codes I obtained by using the
Perl NET::FTP module.

3. The RH 9.0 ftp daemon (ftpd) cannot the "size" command from Perl
NET::FTP (i.e. $ftp->size($filename)), while "size" does work when
issued from an ftp command-line client?

My assumption of complete compability between different "flavours" of
UNIX was obviously, err, optimistic. :)

Cheers,
Dave

Jul 19 '05 #1
1 1600
David Jones <DJ@nospam.com> wrote in message news:<L7******************@news-server.bigpond.net.au>...
Hi, the first question has nothing to do with Perl, can anyone tell me why:

1. When I ftp a file from RH 9.0 to AIX, regardless of transfer mode
(binary or ASCII), the resultant file always has "^M"s appended to each
line?

Verify your original file: the "^M"s are most probably there, run "od"
command to check, not "vi".
2. The RH 9.0 ftp daemon (ftpd) returns "OK" when you list a
non-existant file or directory? By "OK" I mean, it prints "226 Directory
send OK." and gives a status code of "2", whereas other ftp daemons
(TRU-64, AIX, even IIS!) return "5". These codes I obtained by using the
Perl NET::FTP module.

3. The RH 9.0 ftp daemon (ftpd) cannot the "size" command from Perl
NET::FTP (i.e. $ftp->size($filename)), while "size" does work when
issued from an ftp command-line client?

My assumption of complete compability between different "flavours" of
UNIX was obviously, err, optimistic. :)

Cheers,
Dave

Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Tom Loredo | last post: by
1 post views Thread by Sebastian Knoop-Troullier | last post: by
2 posts views Thread by tim | last post: by
3 posts views Thread by Martin | last post: by
11 posts views Thread by Daniel E. Fisher | last post: by
4 posts views Thread by D. Dante Lorenso | last post: by
1 post views Thread by Uthuras | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.