Solved

FtpFindFirstFile returns hh:mm filename on AIX ftp server

Posted on 2004-03-25
3
547 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
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…
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 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…

685 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