Main Area and Open Discussion > General Software Discussion
Generate List of Files on FTP
(1/1)
blackcat:
hello. I've been spending hours of time searching for this kind of program today but found nothing about it. I need a program that can generate simple list of all files on my ftp server. Any idea is appreciated. :)
tinjaw:
What type of access do you have to the server? That is the determining factor.
For example, if it is a *nix box and you have SSH access, then pipe a recursive file listing to a text file.
Or if you only have FTP access, then you have to spider the tree and compile a directory listing. A script based around wget and ls should get you what you need.
What are your options?
blackcat:
tinjaw, just ftp access.
tinjaw:
Putting aside for the moment that such a program, can be written, because it can :P, why do you want this? How are you going to use it?
I ask because it will fundamentally determine how such a program would work. I mean, what would you do with a listing of a thousand files that went ten sub directories deep? What purpose would it serve?
For example, do this. Open a command prompt and run this.
--- ---dir c:\windows /S /B > c:\filelist.txt
Wait about 15 seconds and then open up the 1+ MB file it produces (c:\filelist.txt). What good is it?
blackcat:
--- ---dir c:\windows /S /B > c:\filelist.txt
-tinjaw (March 18, 2008, 07:09 PM)
--- End quote ---
this is exactly how i want the list looks like ;D just filenames with their full path. this list is just for record of files i already uploaded on the ftp.
edit: i must tell you that my ftp login id is in this format : [email protected]
Navigation
[0] Message Index
Go to full version