webMAN-MOD icon indicating copy to clipboard operation
webMAN-MOD copied to clipboard

[Feature Request] Random Copy Operations

Open LuanTeles opened this issue 1 year ago • 3 comments

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?

LuanTeles avatar Sep 07 '24 20:09 LuanTeles

I have to evaluate the effort needed to implement it. Currently I'm busy with other tasks.

aldostools avatar Sep 08 '24 13:09 aldostools

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.

aldostools avatar Sep 08 '24 19:09 aldostools

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!

LuanTeles avatar Sep 24 '24 03:09 LuanTeles