HPE GreenLake Administration
Operating System - HP-UX
1833883
Members
1501
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2009 06:39 PM
01-29-2009 06:39 PM
ftp
Dear all.
I want to see only files without file attributes in ftp command(ls).
Please advise
##### Test #####
[rx2660:/usr/newconfig/etc/ftpd/examples]ftp localhost
Connected to localhost.
220 rx2660 FTP server (Revision 1.1 Version wuftpd-2.6.1(PHNE_38578) Fri Sep 5 12:10:13 GMT 2008) ready.
Name (localhost:root): root
331 Password required for root.
Password:
230 User root logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>
ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for /usr/bin/ls.
총 24992 블록입니다.
-rw------- 1 root sys 4488 1월 13일 13:35 .ICEauthority
-rw------- 1 root sys 152 1월 13일 13:35 .TTauthority
-rw------- 1 root sys 590 1월 13일 13:35 .Xauthority
drwxr-xr-x 13 root sys 8192 1월 13일 13:44 .dt
-rwxr-xr-x 1 root sys 5450 2008.02.13 .dtprofile
-rw-rw-r-- 1 root sys 944 2008.07.21 .glancerc_hp
drwx------ 3 root sys 96 2008.02.14 .mozilla
-r--r--r-- 1 bin bin 1027 8월 21일 18:05 .profile
dr-x------ 3 root sys 96 2008.02.16 .secure
-rw------- 1 root sys 4566 1월 30일 11:23 .sh_history
drwxr-xr-x 2 root sys 96 2008.02.05 .ssh
drwxr-xr-x 6 root sys 96 2008.02.05 .sw
-rw-rw-rw- 1 root sys 0 2008.03.13 1h?5
-rw-rw-rw- 1 root sys 0 2008.03.13 9L@Z
drwxr-xr-x 2 root root 8192 2008.02.11 TT_DB
lr-xr-xr-t 1 root sys 8 2008.02.05 bin -> /usr/bin
drwxrwxr-x 2 root sys 96 2008.02.14 cdrom
-rw------- 1 root root 856672 9월 19일 14:42 core
-rw-r--r-- 1 root sys 24089 2008.03.20 cost_excel.xls
drwxr-xr-x 6 oracle dba 8192 2008.03.28 database
dr-xr-xr-x 16 bin bin 8192 1월 16일 09:44 dev
dr-xr-xr-x 30 bin bin 8192 1월 16일 09:44 etc
-rw-r--r-- 1 root sys 11284145 2008.03.12 ethereal-0.99.0.tar.gz
drwxr-xr-x 3 root sys 8192 1월 30일 10:47 hpux__11.23_01300142
-rw-rw-r-- 1 root sys 683 2008.03.28 kernel
-rw-rw-rw- 1 root sys 684 2008.02.15 kernel.sh
drwxrwxrwx 2 root sys 96 8월 7일 18:37 kk
lr-xr-xr-t 1 root sys 8 2008.02.05 lib -> /usr/lib
drwxr-xr-x 2 root root 96 2008.02.05 lost+found
drwxrwxrwx 2 root sys 96 9월 4일 17:43 lsof
-rw-rw-rw- 1 root sys 24 9월 4일 16:19 mapfile
dr-xr-xr-x 1 root root 1 1월 16일 09:42 net
dr-xr-xr-x 88 bin bin 8192 10월 2일 08:40 opt
drwxrwxrwx 2 root sys 96 2008.02.13 ora_data
drwxrwxrwx 2 root sys 96 2008.02.13 oracle
dr-xr-xr-x 15 bin bin 8192 10월 2일 09:03 sbin
-rw------- 1 root sys 1574 8월 21일 18:03 sh_history
dr-xr-xr-x 9 bin bin 8192 1월 16일 09:41 stand
drwxrwxrwx 2 root sys 96 2008.03.11 tcpdump
drwxrwxrwt 4 root root 8192 1월 30일 11:19 tmp
drwxr-xr-x 2 root sys 96 2008.05.29 tusc
-rw-rw-rw- 1 root sys 237705 1월 14일 10:25 tusc.outfile
-rw-rw-rw- 1 root sys 178888 1월 14일 10:44 tusc1.outfile
dr-xr-xr-x 21 bin bin 8192 2008.02.05 usr
dr-xr-xr-x 22 bin bin 8192 2008.02.05 var
-rw-rw-rw- 1 root sys 527 2008.04.15
226 Transfer complete.
ftp>
I want to see only files without file attributes in ftp command(ls).
Please advise
##### Test #####
[rx2660:/usr/newconfig/etc/ftpd/examples]ftp localhost
Connected to localhost.
220 rx2660 FTP server (Revision 1.1 Version wuftpd-2.6.1(PHNE_38578) Fri Sep 5 12:10:13 GMT 2008) ready.
Name (localhost:root): root
331 Password required for root.
Password:
230 User root logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>
ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for /usr/bin/ls.
총 24992 블록입니다.
-rw------- 1 root sys 4488 1월 13일 13:35 .ICEauthority
-rw------- 1 root sys 152 1월 13일 13:35 .TTauthority
-rw------- 1 root sys 590 1월 13일 13:35 .Xauthority
drwxr-xr-x 13 root sys 8192 1월 13일 13:44 .dt
-rwxr-xr-x 1 root sys 5450 2008.02.13 .dtprofile
-rw-rw-r-- 1 root sys 944 2008.07.21 .glancerc_hp
drwx------ 3 root sys 96 2008.02.14 .mozilla
-r--r--r-- 1 bin bin 1027 8월 21일 18:05 .profile
dr-x------ 3 root sys 96 2008.02.16 .secure
-rw------- 1 root sys 4566 1월 30일 11:23 .sh_history
drwxr-xr-x 2 root sys 96 2008.02.05 .ssh
drwxr-xr-x 6 root sys 96 2008.02.05 .sw
-rw-rw-rw- 1 root sys 0 2008.03.13 1h?5
-rw-rw-rw- 1 root sys 0 2008.03.13 9L@Z
drwxr-xr-x 2 root root 8192 2008.02.11 TT_DB
lr-xr-xr-t 1 root sys 8 2008.02.05 bin -> /usr/bin
drwxrwxr-x 2 root sys 96 2008.02.14 cdrom
-rw------- 1 root root 856672 9월 19일 14:42 core
-rw-r--r-- 1 root sys 24089 2008.03.20 cost_excel.xls
drwxr-xr-x 6 oracle dba 8192 2008.03.28 database
dr-xr-xr-x 16 bin bin 8192 1월 16일 09:44 dev
dr-xr-xr-x 30 bin bin 8192 1월 16일 09:44 etc
-rw-r--r-- 1 root sys 11284145 2008.03.12 ethereal-0.99.0.tar.gz
drwxr-xr-x 3 root sys 8192 1월 30일 10:47 hpux__11.23_01300142
-rw-rw-r-- 1 root sys 683 2008.03.28 kernel
-rw-rw-rw- 1 root sys 684 2008.02.15 kernel.sh
drwxrwxrwx 2 root sys 96 8월 7일 18:37 kk
lr-xr-xr-t 1 root sys 8 2008.02.05 lib -> /usr/lib
drwxr-xr-x 2 root root 96 2008.02.05 lost+found
drwxrwxrwx 2 root sys 96 9월 4일 17:43 lsof
-rw-rw-rw- 1 root sys 24 9월 4일 16:19 mapfile
dr-xr-xr-x 1 root root 1 1월 16일 09:42 net
dr-xr-xr-x 88 bin bin 8192 10월 2일 08:40 opt
drwxrwxrwx 2 root sys 96 2008.02.13 ora_data
drwxrwxrwx 2 root sys 96 2008.02.13 oracle
dr-xr-xr-x 15 bin bin 8192 10월 2일 09:03 sbin
-rw------- 1 root sys 1574 8월 21일 18:03 sh_history
dr-xr-xr-x 9 bin bin 8192 1월 16일 09:41 stand
drwxrwxrwx 2 root sys 96 2008.03.11 tcpdump
drwxrwxrwt 4 root root 8192 1월 30일 11:19 tmp
drwxr-xr-x 2 root sys 96 2008.05.29 tusc
-rw-rw-rw- 1 root sys 237705 1월 14일 10:25 tusc.outfile
-rw-rw-rw- 1 root sys 178888 1월 14일 10:44 tusc1.outfile
dr-xr-xr-x 21 bin bin 8192 2008.02.05 usr
dr-xr-xr-x 22 bin bin 8192 2008.02.05 var
-rw-rw-rw- 1 root sys 527 2008.04.15
226 Transfer complete.
ftp>
- Tags:
- ftp
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2009 06:55 PM
01-29-2009 06:55 PM
Re: ftp
use 'ls -m'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2009 07:15 PM
01-29-2009 07:15 PM
Re: ftp
"man ftp".
[...]
nlist [remote-directory] [local-file]
Write an abbreviated listing of remote-directory to local-file. [...]
[...]
[...]
nlist [remote-directory] [local-file]
Write an abbreviated listing of remote-directory to local-file. [...]
[...]
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP