Page 1 of 1

Functions :Calling all strings / names of directory .jpg's

Posted: Sun Nov 08, 2009 12:41 am
by Lukster
Hi,
I would love to know if one could help me. How can i use utilize the function_name to call all strings of all .jpgs or whatever file format in a directory on a server and download those files via the function. I have tried to make the function. But no luck. ([:].jpg'); ['(:)].jpg'; string().jpg (...).jpg i honestly have no clue. help :roll:

Thanks
Luke


Also how similar is matlab and java?

Re: Functions :Calling all strings / names of directory .jpg's

Posted: Sun Nov 08, 2009 5:49 pm
by Giorgio Maone
This is not possible unless the file names are actually listed somewhere.
Otherwise a tool should generate as many strings as the possible combos for a certain name length, and try to download each one, being unbearably heavy on the network.
For instance, given a name size of 5 characters, the number of names to be tried (assuming 25 lowercase + 25 uppercase + 10 numeric + dash + underscore + dot + space = 64 symbols) would be 64^5 = 1,073,741,824 combinations.
Attempting more than one billions downloads seem not acceptable to me...