Solved

FTP Program (problem with LIST command)

Posted on 2002-03-15
3
137 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

695 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