473,398 Members | 2,812 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

FTP "LIST" command help

I tried to google for information of what the output of the "LIST" command
means but couldn't find any articles that tell me exactly what every
character means. I can figure out most of it, its only the first 12
characters where you see stuff like +rwx and so on that I am having trouble
with. Does anyone know of a website that explains in detail what all of the
values mean? Thanks.
Nov 20 '05 #1
9 10835
look for the RFC document for FTP's it will be fully documented there
"Marco Castro" <ma**************@benlan.com> wrote in message
news:us*************@TK2MSFTNGP12.phx.gbl...
I tried to google for information of what the output of the "LIST" command
means but couldn't find any articles that tell me exactly what every
character means. I can figure out most of it, its only the first 12
characters where you see stuff like +rwx and so on that I am having trouble with. Does anyone know of a website that explains in detail what all of the values mean? Thanks.

Nov 20 '05 #2
* "Brian Henry" <brianiup[nospam]@adelphia.net> scripsit:
look for the RFC document for FTP's it will be fully documented there


<http://www.w3.org/Protocols/rfc959/Overview.html>

--
Herfried K. Wagner [MVP]
<http://dotnet.mvps.org/>
Website Address Changed!
Nov 20 '05 #3
Thats exactly what I was looking for. Thanks guys.

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:c1*************@ID-208219.news.uni-berlin.de...
* "Brian Henry" <brianiup[nospam]@adelphia.net> scripsit:
look for the RFC document for FTP's it will be fully documented there


<http://www.w3.org/Protocols/rfc959/Overview.html>

--
Herfried K. Wagner [MVP]
<http://dotnet.mvps.org/>
Website Address Changed!

Nov 20 '05 #4
"Marco Castro" <ma**************@benlan.com> wrote in news:eG#FyyU$DHA.2524
@TK2MSFTNGP10.phx.gbl:
Thats exactly what I was looking for. Thanks guys.


Wrong. :)

The RFC will be of NO help here. FTP does NOT define the data returned by the
LIST command. Its totally free form.

That being said there are several common format and the one you referenced is
a Unix format.

rwx means that you have read, write, and execute permissions. They can be
listed twice - once for group permissions and once for user permissions. If
you see a d, its a directory. An l is a symbolic link.

Indy has full support for parsing just about every known FTP LIST format
known to man. You might consider it - its totally free.

http://www.indyproject.org/
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"
Nov 20 '05 #5
I tried Indy but found its support to be lacking. Also didn't help that the
help files on its website are for an older version then is available. Do
you know of any websites that provide support for it? I especially couldn't
find any help on how to get the ftplistparser to work.
"Chad Z. Hower aka Kudzu" <cp**@hower.org> wrote in message
news:Xn******************@127.0.0.1...
"Marco Castro" <ma**************@benlan.com> wrote in news:eG#FyyU$DHA.2524 @TK2MSFTNGP10.phx.gbl:
Thats exactly what I was looking for. Thanks guys.
Wrong. :)

The RFC will be of NO help here. FTP does NOT define the data returned by

the LIST command. Its totally free form.

That being said there are several common format and the one you referenced is a Unix format.

rwx means that you have read, write, and execute permissions. They can be
listed twice - once for group permissions and once for user permissions. If you see a d, its a directory. An l is a symbolic link.

Indy has full support for parsing just about every known FTP LIST format
known to man. You might consider it - its totally free.

http://www.indyproject.org/
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"

Nov 20 '05 #6
"Marco Castro" <ma**************@benlan.com> wrote in
news:e2**************@tk2msftngp13.phx.gbl:
I tried Indy but found its support to be lacking. Also didn't help that
Support? Did you try any of it support options? Indy has a lot better support
than the socket libs in .net. ;)

There is actually a whole team providing peer support (Free) and also even
commercial support available.
the help files on its website are for an older version then is
Yes. The help files currently are for Indy 9. They are planned to be updated.
available. Do you know of any websites that provide support for it? I


Yes. :)

http://www.indyproject.org/support.html

Its linked from every page. :)

--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"
Nov 20 '05 #7
On Sat, 28 Feb 2004 17:38:39 +0200, Chad Z. Hower aka Kudzu wrote:
[snip]
That being said there are several common format and the one you referenced is
a Unix format.

rwx means that you have read, write, and execute permissions. They can be
listed twice -


Wrong, there's three sets of permissions. The first set is the permissions
for the owner. The second set is permissions for the group that owns the
file. The third set is for everybody else.

e.g.

rwxr-xr-x

rwx - read, write, execute for owner
r-x - read and execute for the group
r-x - all others are permitted to read and execute

on a directory, the x means you can traverse into the directory (CD).

The Unix FTP directory list format comes from the fact that many Unix
servers would pipe output from the /bin/ls command. The /bin/ls command is
standardized by the OpenGroup and I think they have man pages on their
website (http://www.opengroup.org/).

HTH.
--
J. Peter Mugaas - Indy Pit Crew
Internet Direct (Indy) Website - http://www.nevrona.com/Indy
Personal Home Page - http://www.wvnet.edu/~oma00215
If I want to do business with you, I will contact you. Otherwise, do not
contact me.
Nov 20 '05 #8
On Tue, 2 Mar 2004 13:49:54 -0500, Marco Castro wrote:
I tried Indy but found its support to be lacking.
What specifically is the problem? Did you ever test Indy to see if it
would work?

If the FTPClient does not work, you may have a problem.
Also didn't help that the
help files on its website are for an older version then is available. Do
you know of any websites that provide support for it? I especially couldn't
find any help on how to get the ftplistparser to work.

The list parsing works automatically. You just get a directory listing.

If it doesn't work, you may want to send me a copy of the list output
exactly as you got it. Maybe I can fix the code or write another parser
specifically for it.
--
J. Peter Mugaas - Indy Pit Crew
Internet Direct (Indy) Website - http://www.nevrona.com/Indy
Personal Home Page - http://www.wvnet.edu/~oma00215
If I want to do business with you, I will contact you. Otherwise, do not
contact me.
Nov 20 '05 #9
"Marco Castro" <ma**************@benlan.com> wrote in news:uIFd5I3BEHA.2804
@tk2msftngp13.phx.gbl:
It's not for me. I might have an outdated version of the control so I'll
check if there is a newer version available. And thanks for spending all
this time answering my questions.


The new version definitely does, and there is an FTP demo available now too.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"
Nov 20 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Jan | last post by:
I store sql-commands in a database table. In the first step I get the sql command out of the database table with embedded sql. In the second step I try to execute the command, which i got from the...
0
by: Tallgeese | last post by:
We developed an in-process COM object for our own application. A toolbar button is used to activate the COM object. But when the COM object loaded, the HTML help hang when clicking the "List...
3
by: dencdr | last post by:
Hi, I have an application VB.NET (using Form Win32) with no icon in TaskBar. When a FORM of this application is visible I see this application in the list of "Alt+Tab" choice. How do for...
1
by: wcamp | last post by:
I would like a "field list" to appear in report design. Clicking the "filed list" icon nothing happens. Have tried dozens of ways to get a "field list", so far no luck! Have created over 5 ACCESS...
1
by: Paul Sullivan | last post by:
I have encountered the same problem another posted about several months ago. Unfortunately, there was no result posted on the old thread. I will let the original message text stand and ask if...
3
by: janzon | last post by:
Hi! Sorry for the bad subject line... Here's what I mean. Suppose we deal with C++ standard integers lists (the type is indifferent). We have a function f, declared as list<intf(int); Now...
2
by: Shyckymn | last post by:
How do I delete some entries that are result of the query below? db2 list history containing schema.table for database I want to remove some entries from the List History command. It is...
1
by: =?Utf-8?B?TWFyayBIb2xsYW5kZXI=?= | last post by:
Hi All, I have registered the steep valley XP Common Controls to the GAC, But I noticed that it does not show up automatically in the Choose Toolbox Items" List. I have to specifically browse to...
0
by: howkoss | last post by:
Hi, I've been very frustrated for 2 days trying to make this work. I started with a built-in template "Projects" that came with Access 2007. On the "Employee List" I can click on any cell and bring...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.