[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: IFS folder listing
They allow you to operate relative to your current directory easily. For
example if I have a file structure that has directories "work" and
"backup" under the main directory. I can have a script that processes
files in "work" and then moves them to "backup" without having to know
or lookup the parent directory.
Dosomething("./work/$FILENAME");
mv ./work/$FILENAME ./backup;
This script will work as is if the parent directory is called production
or if it is called test.
You also see it in web source a lot. It's common to have a directory
called cgi-bin that contains scripts, and one called images that holds
all the graphics for your website. Something running in the cgi-bin
directory could refer to "../images/somepicture.jpg" and it would work
no matter what the root folder is for the web site.
-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Mohamed
Musthafa Safarulla
Sent: Friday, January 15, 2010 9:03 AM
To: HTTPAPI and FTPAPI Projects
Subject: Re: IFS folder listing
I do ignore those values.
I do agree, if you try from DOS you can see those directories. What it
signifies, just trying to understand.
Thanks,
Musthafa
Kevin Bucknum
Senior Programmer Analyst
MEDDATA/MEDTRON
Tel: 985-893-2550
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------