rejetto forum

Software => HTML & templates => HFS ~ HTTP File Server => RAWR-Designs => Topic started by: uvbeenzaned on January 22, 2010, 02:49:56 PM

Title: Moving files?
Post by: uvbeenzaned on January 22, 2010, 02:49:56 PM
Can you add a hfs macro in a template to tell it to move a file to a different folder?
Title: Re: Moving files?
Post by: uvbeenzaned on January 22, 2010, 03:50:18 PM
Also, if I want to get a list of accounts to show up is logical: {.get|accounts|file-list.txt.} (just guessing)

I am very new to these macros and barely know anything!
Title: Re: Moving files?
Post by: rejetto on January 22, 2010, 03:55:00 PM
use macro {.move.}

http://www.rejetto.com/wiki/index.php/HFS:_scripting_commands#File_manipulation
Title: Re: Moving files?
Post by: uvbeenzaned on January 22, 2010, 04:14:09 PM
So it is just {.move|A|B.}? Add this to template?
Title: Re: Moving files?
Post by: rejetto on January 25, 2010, 01:35:49 PM
add to the template or to an event, it depends on what/when you must move.
Title: Re: Moving files?
Post by: uvbeenzaned on January 27, 2010, 05:05:54 PM
I just need it added to this template here: http://www.adrive.com/public/2d3f5be333d0df159814747764a1c46bf77ff3f9bd1801c8ca64074d67bbd867.html
Can you or somebody else add it?
Title: Re: Moving files?
Post by: rejetto on January 27, 2010, 10:21:35 PM
you didn't say what and when you must move.
Title: Re: Moving files?
Post by: uvbeenzaned on January 28, 2010, 04:03:46 AM
I just want a basic form added into the tpl file where when a user selects the file they want to move they have a drop down list of all the folders in file system they could move it to.  Is this going to be easy?  If not, sorry for bothering you. :-\
Title: Re: Moving files?
Post by: rejetto on January 28, 2010, 10:01:55 AM
i thought you wanted something like "moving uploaded files just after the upload completes", or another thing that can be made with 2-3 lines.
what you ask for is much more complex, and i personally don't have the time to do it.
try searching for something similar in the forum.
good luck.
Title: Re: Moving files?
Post by: De-M-oN on February 01, 2010, 12:19:39 PM
Me would be interested in this too

otherwise the move option is quite useless, because you dont want to move a file always to the same folder.

Would be nice if you could find someday time for this :)
Title: Re: Moving files?
Post by: Mars on February 01, 2010, 01:12:55 PM
Quote
what you ask for is much more complex, and i personally don't have the time to do it.

Already functional and ready to be implanted in the next build if rejetto accept all the proposed modifications.
Title: Re: Moving files?
Post by: rejetto on February 01, 2010, 06:12:19 PM
what modifications?