Solved

FtpFindFirstFile returns hh:mm filename on AIX ftp server

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

Industry Leaders: 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

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…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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…

729 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