Solved

FtpFindFirstFile returns hh:mm filename on AIX ftp server

Posted on 2004-03-25
3
541 Views
Last Modified: 2008-02-01
I'm prog. a ftp interface to an AIX ftp server.
The FtpFindFirstFile Function returns the time in front of the filename like this:

11:11 lala.txt

what's wrong with the API ?

Also on Reliant Unix (Sinix) ftp servers it's go wrong !

On all other servers it goes.

Has anybody a idea ?

wOlve
0
Comment
Question by:wOlve
3 Comments
 
LVL 5

Accepted Solution

by:
WorkingJourneyman earned 500 total points
ID: 10678804
There is no universal standard for the output of the LIST command from a FTP server.

The API you are calling is working correctly. The FTP servers you are addressing are also working correctly. The API simply does not understand the file listings being returned as it was not designed to do so.

I can think of a number of options, in order of practicality;

a) Only address FTP servers that the API understands, or
b) Use an alternative FTP library that works with a wider range of server types than the Microsoft library, or
c) Write your own FTP library, or
d) Use a modern file-access protocol (because FTP sucks and should only be used as a last resort)

Further information on the FTP protocol is available here; http://www.wu-ftpd.org/rfc/

Peace,
WorkingJourneyman
0
 
LVL 1

Author Comment

by:wOlve
ID: 11257459
Nothing helps!

The FTP server from AIX has perhaps a bug!
So a close this question!

wolve
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB6 Compile Compatibility Issue 4 90
VBA Shell can't Find Word document 11 76
How to make an ADE file by code? 11 80
Prevent user closing word document opened with VB6 6 67
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

895 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now