webMAN-MOD
webMAN-MOD copied to clipboard
[Feature Request] Random Copy Operations
Aldo, can a random copy operation be added, something like
copy.ps3/dev_hdd0/folder/my_file_*.rco..... where * is a random number 1~255?
I have to evaluate the effort needed to implement it. Currently I'm busy with other tasks.
Test this build. If it's working fine I will release it as 1.47.46i webftp_server_full.zip
It now supports the following file path tags:
$USERID$ - replaces the tag with the current used id
$RND$ - replaces the tag with a random number from 0-255. e.g. test_$RND$.rco => test_3.rco
$000$ - replaces the tag with a random number from 0-255 filled with zeros. e.g. test_$RND$.rco => test_003.rco
$NEW$ - replaces the tag with a sequential number from 1-999 filled with zeros. e.g. test_$NEW$.rco => test_001.rco
$RND$ and $000$ tries to return a random file that exists.
$NEW$ tries to return a new file that does not exist.
Aldo, I'll only be able to test it this weekend. Sorry for the wait, I've been working in another city and only come home on the weekends. Last week I didn't have time to test it, but this week I definitely will. Thank you very much!