Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Random Copy Operations #1120

Open
LuanTeles opened this issue Sep 7, 2024 · 3 comments
Open

[Feature Request] Random Copy Operations #1120

LuanTeles opened this issue Sep 7, 2024 · 3 comments

Comments

@LuanTeles
Copy link

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?

@aldostools
Copy link
Owner

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

@aldostools
Copy link
Owner

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.

@LuanTeles
Copy link
Author

LuanTeles commented Sep 24, 2024

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants