rejetto forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - luca69

Pages: 1 2 3 4 5 ... 7
31
HFS ~ HTTP File Server / Re: New idea
« on: March 06, 2009, 08:33:19 AM »
You need a watchdog. There are many programs on the market doing what you ask. Google may help  ;)

33
Bug reports / Re: New Flag - build 226
« on: February 24, 2009, 01:16:25 PM »
Tested with default template and flag time of 2 minutes: it works fine

34
Yes that's why i shared the code.  ;)
Many thanks  ;D

35
RAWR-Designs / Re: Folder Creation on RAWR Templ.
« on: February 19, 2009, 03:59:02 PM »
Hi,
I did the same but in the standard template (not in the RAW one).

I added the following code ad the end of the form which creates the file list:
Code: [Select]

<form method='post' id='filelist'>
<div id='body'>
  {.if| %folder-item-comment% | <div id='foldercomment'>%folder-item-comment%</div> .}
  {.if| {.?search.} | <a class='big' href="."><img src="/~img14"> {.!BACK.}</a>
    | {.if| {.%folder% != / .} | <a class='big' href=".."><img src="/~img14"> {.!UP.}</a> .}
  /if.}
  {.if not| %number% | <div class='big'>{.!No files.}</div> |
    <div id='folderstats'>%number-folders% {.!folders.},  %number-files% {.!files.} - {.!Total.}: %total-size%</div>
    <table id='files' cellpadding='5'>
    {.set|sortlink| {:<a href="{.trim|
{.get|url|sort=$1| {.if| {.{.?sort.} = $1.} |  rev={.not|{.?rev.} .} /if.} /get.}
/trim.}">{.!$2.}{.if| {.{.?sort.} = $1.} | &{.if|{.?rev.}|u|d.}arr;.}</a>:} .}
    <th>{.^sortlink|n|Filename.}{.^sortlink|e|.ext.}
    <th>{.^sortlink|s|Filesize.}
    <th>{.^sortlink|t|Filetime.}
    <th>{.^sortlink|d|Hits.}
    %list%
    </table>
{.if|{.get|can delete.}|
<div style='margin-top:2em;'>
<input type='hidden' name='action' value='delete'>
<input type='checkbox' onclick='var is = document.getElementsByName("selection"); for (var i=0; i < is.length; i++) is[i].checked = this.checked;'> All
<input style='margin-left:1em' type='submit' value='Delete selected' onclick='return confirm("Are you sure?")'>
</div>
/if.}

  /if not.}
 
</div>
{.if|{.get|can upload.}|
Folder name: <input  type='text' name='fldname' maxlength="25" size="25" >
<input  type='submit' name='createfolder' value='Create Folder' >
    /if.}
</form>

I recommend you to use the "post" method in the form and not the "get" one so that the vars are not visible in the URL.

But you have to change the [special:begin] session as well:

Code: [Select]
[special:begin]
{.if|{.and| {.get|can upload.} | {.postvar|createfolder.} .}|{:
{.mkdir|%folder-resource%\{.postvar|fldname.}.}
:}/if.}

36
Beta / Re: Testing build #224
« on: February 19, 2009, 12:32:35 PM »
i forgot to specify this additional news
Quote
+ by specifying [+section] instead of [section], the new text will not overwrite a previously existing [section] but will be appended

editing now

Cool  :o :o :o

37
HFS ~ HTTP File Server / Re: Folder Management
« on: February 19, 2009, 07:42:47 AM »
You can modify the default template to create and delete folders (rename not yet implemented).
See http://www.rejetto.com/forum/index.php?topic=6570.0

38
HFS ~ HTTP File Server / Re: Log Off
« on: February 18, 2009, 02:51:45 PM »
ahmm ... I mean .. how can the users create a folder? .. they can upload a file .. but create a folder? ..

See http://www.rejetto.com/forum/index.php?topic=6570.0

39
HFS ~ HTTP File Server / Re: Rename file on download
« on: February 16, 2009, 05:59:44 PM »
:( suppose i have 10000 files or more and i dont know which will be downloaded that can be any na... :( i cant create and save each as ZIP

Sorry, as you wrote "I have to transfer daily 90~100 files" I though you know which files :)

You can create a script to rename all the files when you "publish" them (something like copy *.mp3 *.mp_ ) so that they are not blocked anymore

40
HFS ~ HTTP File Server / Re: Rename file on download
« on: February 16, 2009, 04:29:38 PM »
Oh... I misunderstood your question  ;D ya, many a times we need to transfer files and they are blocked due to security reasons or any other firewall and mostly they check it by their extension only not by the file header so we need to do it manual rename on each file and then reciever can change extension later on... If that is automatic it would be helpful . Like me , i need to transfer daily around 90-100 files over network as my project is music based and my educaitonal institute firewall doesnt allows music files to be transfered i need to rename them all so ...
...Create a zip file with a password (so that cannot be opened) to transfer that many files into one step ;)

41
HFS ~ HTTP File Server / Re: Comments: name of user that uploads the file
« on: February 16, 2009, 12:55:14 PM »
Do not forget the accented characters.

For poor little "Frenchies" ;) that we are, by eg.  :-\ ééé :'( ààà :D ùùù :o

It's better this way:

[special:begin]
{.comment| {.count|upload.} .}

[upload-file]
<input name='fileupload%idx%' size='50' type='file'> comment <input name='filecomment%idx%' size='50'><br>

[upload-success]
<li><a href='%item-url%'>%item-name%</a>: <b>{.!OK.}</b> --- %item-size%  ({.!Speed.} %speed% KB/s)
{.set|t|{.postvar|filecomment{.count|upload.}.}.}
{.if| %user% | {: {.set|t| uploaded by %user%. {.^t.} .} :} /if.}
{.if| {.^t.} |{: {.append| %folder-resource%\hfs.comments.txt |{.filename|%item-resource%.}={.convert|utf-8|ansi|{.^t.}.}
/append.} :}/if.}


Edit:
I remember, now, that there are also accented characters in Italian language.  ;)

Thanks for the info! I updated my code.

42
HFS ~ HTTP File Server / Re: speed test
« on: February 16, 2009, 12:44:48 PM »
I can test it in the intranet, where we use a 100MB lan.
The actual download rate reported by DownThemAll is between 12 and 50 MB/s  ;D

But I don't see any speed issue with HFS  ;)

43
Italiano / Re: Consiglio per il futuro
« on: February 13, 2009, 05:40:16 PM »
Quote
Mi pare che quello che chiedi non ci sia.
Peró puoi modificare il template in modo che solo gli utenti registrati possano entrare nella chat (e non tutti come ora) ;)

Si, infatti la chat che chiedo non c'è, è una mia proposta per le future versioni.

La comunicazione dovrebbe essere singola client-server, ultravnc è un software open source, se si riuscisse a risalire al codice della chat si potrebbe implementare?



Mi sa che é un po' difficile: ultravnc credo sia scritto in C mentre HFS é scritto in Delphi  :'(

44
Italiano / Re: Consiglio per il futuro
« on: February 13, 2009, 03:59:49 PM »
Credo sia una chat nella quale possono entrare e chattare anche contemporaneamente tutti gli utenti che entrano in hfs o coloro che hanno i permessi, quello che chiedo è una chat individuale tra un utente e il gestore di hfs.
Sarebbe la stessa funzione che ha ultravnc, quindi una chat di testo tra client e server.

Mi pare che quello che chiedi non ci sia.
Peró puoi modificare il template in modo che solo gli utenti registrati possano entrare nella chat (e non tutti come ora) ;)

45
Italiano / Re: Consiglio per il futuro
« on: February 13, 2009, 01:32:46 PM »
So che ha una chat gratuita inclusa, ma non ho mai provato ad usarla.

Pages: 1 2 3 4 5 ... 7