file overwrite - direct php photo links

Author Message
Vitaly 03/10/2008 02:16 pm
I want to download photo site with following *direct* image links:sanitized_by_modx& #13sanitized_by_modx& #10sanitized_by_modx& #13sanitized_by_modx& #10http://www.xyz.net/pic.php?s=set-001&p=001sanitized_by_modx& #13sanitized_by_modx& #10http://www.xyz.net/pic.php?s=set-001&p=002sanitized_by_modx& #13sanitized_by_modx& #10http://www.xyz.net/pic.php?s=set-001&p=003sanitized_by_modx& #13sanitized_by_modx& #10...sanitized_by_modx& #13sanitized_by_modx& #10http://www.xyz.net/pic.php?s=set-010&p=001sanitized_by_modx& #13sanitized_by_modx& #10http://www.xyz.net/pic.php?s=set-010&p=002sanitized_by_modx& #13sanitized_by_modx& #10http://www.xyz.net/pic.php?s=set-010&p=003sanitized_by_modx& #13sanitized_by_modx& #10...sanitized_by_modx& #13sanitized_by_modx& #10sanitized_by_modx& #13sanitized_by_modx& #10Problem is, that with default setting, won't work, as file names already exist.sanitized_by_modx& #13sanitized_by_modx& #10I then tried option:sanitized_by_modx& #13sanitized_by_modx& #10File Copies -> Keep old files. Now the files don't seem to be overwritten, but itsanitized_by_modx& #13sanitized_by_modx& #10is not really comfortable, as I don't know if for instance 001_00001.jpg belongs tosanitized_by_modx& #13sanitized_by_modx& #10gallery 2, 3 or 10 etc.sanitized_by_modx& #13sanitized_by_modx& #10Is it possible to put files in sub folders according to set-ID in the URL?sanitized_by_modx& #13sanitized_by_modx& #10Or can you recommend something how to download best and not get the total mess?sanitized_by_modx& #13sanitized_by_modx& #10sanitized_by_modx& #13sanitized_by_modx& #10Thanks.
Oleg Chernavin 03/11/2008 02:18 pm
I am not sure if I am correct, but perhaps, you may use URL Substitutes feature for such filename renaming. It is in the Properties dialog - Advanced section.

Best regards,
Oleg Chernavin
MP Staff