FTP dir command in LINUX
I am getting different output of FTP commands in linux and unix.
We are migrating an application from unix to linux.
The following output i am getting in unix and linux.
TRUE UNIX 64
ftp> dir /test/1.c
227 Passive Mode (143,90,129,198,78,223)
150 Opening ASCII mode data connection for directory listing.
-rw-r--r-- 1 529921 100 114 Jul 31 15:14 /test/1.c
226 Transfer complete.
ftp> dir /usr/local/test_amp/test/1.sh
227 Entering Passive Mode (127,0,0,1,129,229)
150 Here comes the directory listing.
-rw-r--r-- 1 1003 701 89 Jul 31 06:33 1.sh
226 Directory send OK.
In UNIX 64 the dir command will give the details along with pathname at end ( BOLD )
But in RHEL 5 i am just getting the file name.
Please update me is thery any way to get the pathname in dir command of FTP in RHEL 5.
Any suggestions are welcome.
Thanks and Regards