Redhat 9.0 ftp Incompatabilities?

D

David Jones

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
 
U

UnixFan

David Jones said:
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".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,776
Messages
2,569,602
Members
45,185
Latest member
GluceaReviews

Latest Threads

Top