• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 585
  • Last Modified:

FtpFindFirstFile returns hh:mm filename on AIX ftp server

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
wOlve
Asked:
wOlve
1 Solution
 
WorkingJourneymanCommented:
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
 
wOlveAuthor Commented:
Nothing helps!

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

wolve
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now