rejetto forum
Software => HFS ~ HTTP File Server => Topic started by: funjay on August 04, 2009, 08:24:26 AM
-
Hi, i have a question about move, for example, there are many files and B folder in A folder, can i select a file and click a button ,and the result is this file is moved in B folder? thanks.
the files can only be moved into the lower level folder in A folder.
-
can anyone give me some hints?
thanks.
-
Hi :)
This will require that you put your nose in the macros : http://www.rejetto.com/wiki/index.php/HFS:_Template_macros
I suppose that you'll have to add a button in the html template, and define that when clicked it moves all checked files to a predefine folder, or may be best to include also an input field to tell where to move the files.
This will require some HTML knowledge and motivation to learn a bit how macros work, as it's not already coded...
You may also automate the file move, by including a filesize check upon all files in a folder, and above a certain size move the oldest ones in a pre-define folder, in exemple.
Good luck with this ;)
-
it seems complex for me, but anyway, thank you for your hints.
-
{.if|{.get|can delete.}|
........................................... // [font=Verdana]what should i write here?[/font]
<input type='submit' name='obsoletefile' value='Obsolete Files' >
/if.}
[special:begin]
{.if|{.and| {.get|can delete.} | {.postvar|obsoletefile.} .}|{:
{.move|%item-resource%|%folder-resource%\obsolete\%item-name%.}
:}/if.}
-
you want a web button that moves your file?
-
yes, :) for example, ther are many files and a folder named "obsolete" in fold A
when i selected one file, and pressed button "obsolete" ,this file would be moved in fold "obselete"
can it be true? thanks.
-
yes, it's possible, but it takes time to make it, and at the moment i have very little.
i hope someone else will help you
-
would the move function be added in to-do list? thanks.
-
no, sorry.
personal needs must be solved with "scripts".
the script you need can be already made with current version, there's no need for an upgrade.
-
Is it also possible to delete files with a button?
To Rename files etc?
-
jeah its possibe.. PN me.. thanks..
ja es ist möglich schreibe mich einfach an, ich kann so gegen 16 uhr dir antwort geben...