Overview
Features
Download
Documentation
Community
Add-Ons & Services

How to determine file type on FTP server?

Please post support and help requests here.

How to determine file type on FTP server?

Postby rbock » 04 Jun 2008, 12:23

Hi,

when I obtain a directory listing from an FTP server, is there an easy way to figure out the file type (at least file or directory)?

Or do I have to parse the extended list?


Thanks and regards,

Roland
rbock
 
Posts: 7
Joined: 30 May 2008, 14:05
Location: Germany

Re: How to determine file type on FTP server?

Postby guenter » 04 Jun 2008, 13:11

You'll have to implement the parsing yourself, which is something that sucks big time, as there's no standardized format for FTP extended directory listings...
guenter
 
Posts: 1165
Joined: 11 Jul 2006, 16:27
Location: Austria

Re: Re: How to determine file type on FTP server?

Postby rbock » 04 Jun 2008, 13:27

That's what I was afraid of (:sad:)

Thanks for the confirmation.
rbock
 
Posts: 7
Joined: 30 May 2008, 14:05
Location: Germany


Return to Support

Who is online

Users browsing this forum: 666, gregee123, guenter and 1 guest