Solved

FtpFindFirstFile returns hh:mm filename on AIX ftp server

Posted on 2004-03-25
3
539 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
Comment Utility
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
Comment Utility
Nothing helps!

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

wolve
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
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…

763 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

9 Experts available now in Live!

Get 1:1 Help Now