Load files from folder and delete after

  • Автор темы Автор темы Patrick
  • Дата начала Дата начала

Patrick

Client
Регистрация
30.07.2016
Сообщения
68
Реакции
2
Баллы
8
Hello, I want prepare my template to upload random picture from folder, and delete file after. So each time it read block it check files in folder then pick random, upload, delete. Can someone tell me how to do it easiest way? :) Thanks
 
Hi.
1. Save all paths to your photo files in *.txt file. You can do it manuall or in Zenno.
2. In your Zenno templates bind this file to list.
3. Take random string from list with deleting it.
4. Upload file using path from string.
5. Dele file.
 

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