curl and directories

James Cook JC at JamesCook.biz
Fri Jun 20 12:24:59 PDT 2008


I'm using curl to retrieve directories on web servers. The list of 
the directory contents has several elements for each item in the 
list; read/write status, ownership, dates and the folder or file name 
itself.

I've been unable to see a way to extract just the file name since the 
elements are separated by spaces rather than tabs. A file name with 
spaces eludes easy identification.

It's not clear either on what's a file and what's a folder.

Has anyone else dealt with these issues?

-- 
James Cook
JC at JamesCook.biz

Proficiencies
http://JamesCook.biz

Founder of HindSight Ltd.
http://HSLtd.us

Custom Panorama Applications
Specializing in Panorama Enterprise for the Web


More information about the Qna mailing list