- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- FTP LIST command and dot files
Operating System - HP-UX
1819804
Members
2990
Online
109607
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
Discussions
Discussions
Discussions
Forums
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
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
тАО03-16-2002 07:57 AM
тАО03-16-2002 07:57 AM
FTP LIST command and dot files
I am issuing a FTP LIST command from a FTP client (via a FTP active connection).
The problem is that the returned list of files does not contain the files starting by a dot
character.
If I am using a FTP client in passive mode,
and issuing the ls -lsa command, then all
the files are listed.
Why does the FTP server does not report the filenames starting by a dot character on the received LIST command ?
---
Michel
The problem is that the returned list of files does not contain the files starting by a dot
character.
If I am using a FTP client in passive mode,
and issuing the ls -lsa command, then all
the files are listed.
Why does the FTP server does not report the filenames starting by a dot character on the received LIST command ?
---
Michel
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2002 08:49 AM
тАО03-16-2002 08:49 AM
Re: FTP LIST command and dot files
Hi,
This may be completely besides the point, but it may have something to do with the user you are connecting to. No user (other than root) gets to see the dot-files (unless he specifically asks for them ... as you did in your passive connection) ...
Hope this helps,
Tom Geudens
This may be completely besides the point, but it may have something to do with the user you are connecting to. No user (other than root) gets to see the dot-files (unless he specifically asks for them ... as you did in your passive connection) ...
Hope this helps,
Tom Geudens
A life ? Cool ! Where can I download one of those from ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2002 11:15 AM
тАО03-16-2002 11:15 AM
Re: FTP LIST command and dot files
Michel,
I think you are talking about file names, like ".profile", ".kshrc" and such, correct? These files don't show up normally when you issue an "ls", therefore an FTP LIST won't show them either. It's just a feature of unix, and this is because when processing files in a directory, you normally don't want "special" files to be processed, thus the use of "special names" starting with a period (.).
live free or die
harry
I think you are talking about file names, like ".profile", ".kshrc" and such, correct? These files don't show up normally when you issue an "ls", therefore an FTP LIST won't show them either. It's just a feature of unix, and this is because when processing files in a directory, you normally don't want "special" files to be processed, thus the use of "special names" starting with a period (.).
live free or die
harry
Live Free or Die
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2002 05:12 AM
тАО03-20-2002 05:12 AM
Re: FTP LIST command and dot files
ftp ls (or dir) works just like the normal ls on unix as defined for this specific user.
If logged by telnet, the ls command will give the same output as in ftp.
If you would like to have an output as in 'ls -l', then you'll need to change the behaviour by setting an alias:
alias ls='ls -l'
If you put this command in your .profile, then each ftp session logging in as this user will have the same behaviour.
Succes, Ceesjan
If logged by telnet, the ls command will give the same output as in ftp.
If you would like to have an output as in 'ls -l', then you'll need to change the behaviour by setting an alias:
alias ls='ls -l'
If you put this command in your .profile, then each ftp session logging in as this user will have the same behaviour.
Succes, Ceesjan
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
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP