Solved

FTP Program (problem with LIST command)

Posted on 2002-03-15
3
136 Views
Last Modified: 2010-05-18
I'm making a FTP client program but I have a little doubt. To show the list of files in a directory, I use the LIST command. But the result changes between OSs for example:

--------
UNIX----
--------
drwxr-xr-x   3 root     wheel         512 Mar  8  2001 boot
drwxr-xr-x   3 root     wheel         512 Nov 26 09:41 compat

--------
NT------
--------
05-30-01  11:31AM               598016 data.mdb
03-14-02  05:24PM       <DIR>          databases
12-18-00  11:21PM       <DIR>          errdocs
03-14-02  01:41PM       <DIR>          htdocs
01-10-01  03:44AM       <DIR>          logs

What are the rules or what should I follow to filter this results, and put them in a Grid or List. Is there any special position for each field, or what?

Also in the UNIX result, at the date field, in the first line I get "Mar  8  2001" (M,D,Y) but in the other one "Nov 26 09:41" (M,D,TIME), what are they diferent?
0
Comment
Question by:macob
3 Comments
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 100 total points
ID: 6869384
see if this sample can help you: http://www.freevbcode.com/ShowCode.Asp?ID=1593
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7634088
Hi macob,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept emoreau's comment(s) as an answer.

macob, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.
==========
DanRollins -- EE database cleanup volunteer
0
 
LVL 1

Expert Comment

by:kodiakbear
ID: 7665798
Moving to the paq

kb
Experts Exchange Moderator
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question