Problem with image names when using GET

fun4uoc

Новичок
Регистрация
03.08.2012
Сообщения
14
Благодарностей
0
Баллы
1
I'm scraping some info and downloading some images from a site and saving the info to a file to later re-upload the images but have run into a problem.

Everything works as it should but when I look at the image folder there is one less than there is in the list. I noticed that where there are duplicate image names, it appends (1) as it should but when I have an image that is thumbnail(1).png and one that is Thumbnail(1).png it only saves the one with the capital T.

I can not figure out how to avoid this, any help is appreciated.
 

fun4uoc

Новичок
Регистрация
03.08.2012
Сообщения
14
Благодарностей
0
Баллы
1
I think I found a way around it by saving the images to separate folders.
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 712
Баллы
113
Either use File - Move after download
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)