?
Solved

FTP Program (problem with LIST command)

Posted on 2002-03-15
3
Medium Priority
?
138 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 400 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

801 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