精華區beta EZsoft 關於我們 聯絡資訊
軟體名稱: HFS ~ Http File Server 官方網站: http://www.rejetto.com/hfs/?f=intro 下載連結: http://www.rejetto.com/hfs/?f=dl 軟體版本: Last version: 2.2a Build #124 (免安裝) 軟體分類: Http File Server 執行平台: MS-Windows, Vista 語言介面: 英文 誰適合用: 快速、不佔空間、方便 面板大全: (英文版載入後正常!私翻中文版不確定,載入前請先做好備份!) 1.討論區內所有分享之面板-下載後,匯入templates,click save & ok! http://www.rejetto.com/forum/index.php?topic=1750.0 2.上述面板中,幾乎都不支援中文檔名,好像只有目前底下這個可以! http://www.rejetto.com/forum/index.php?topic=4401.0  (本人大推) 上面這個面板,也是目前hfs大力推薦的! 大家一定要試試看!! 3.若有朋友想要讓不支援中文檔名的面板,可以試看看  改網站的templates iso-8859-1 ->big5  (not surely) 附註: 而如果有朋友想要自己作面板的話,底下附錄hfs的所有編輯語法。 Symbols available in all sections: %connections% current number of connections. %style% converts to [style] content. %timestamp% current time and date of the server. %version% HFS version. %uptime% how long HFS has been running without quitting. %speed-out% current outward throughput. %speed-in% current inward throughput. %total-out% total amount of bytes sent. %total-in% total amount of bytes received. %user% name of the authenticated user, void if no user is logged in. %loggedin% converts to [loggedin] if a user is logged in, void otherwise. %login-link% converts to [login-link] if no user is logged in, void otherwise. %ip% inserts the client IP address on the page. Symbols available in the main section: %host% the Host http header field, as sent by the browser. %upload-link% converts to [upload-link] if upload is available in the current folders, void otherwise. %up% converts to [up] if the current folder is not the root, void otherwise. %files% converts to [files] if at least one item is present in the current folder, converts to [nofiles] otherwise. %number% number of items in the current folder. %number-files% number of files in the current folder. %number-folders% number of folders in the current folder. %total-size% amount of space occupied by items in the current folder. %total-bytes% as %total-size% but expressed in bytes. %total-kbytes% as %total-size% but expressed in kilobytes. %build-time% how long it took to generate the page. Symbols available in [files] %list% the full list of items in the current folder, achieved by gluing each item after the pertinent section ([file] [folder] or [link]) was converted. Symbols available in [file] [folder] [link] %new% converts to [new] if the file is marked as new, void otherwise. %item-url% URL to get the item. %item-name% label of the item. %item-folder% path to the item, not in URL format. %item-added% when the was item added to the VFS. %comment% converts to [comment] if a comment is available for the item, void otherwise. Symbols available in [file] [folder] %item-dl-count% download counter (virtual folders totalize inner counters). %item-modified% modification time as reported by the file system. Symbols available in [file] %item-size% amount of space occupied by the item. %item-size-b% as %item-size% but expressed in bytes. %item-size-kb% as %item-size% but expressed in kilobytes. Symbols available in [upload] [upload+progress] [upload-results] and main section: %diskfree% total amount of available space in the drive containing the current folder (makes sense only for real folders). %folder% path to the current folder. %encoded-folder% encoded path to the current folder. %parent-folder% encoded path to the parent folder. %folder-comment% converts to [folder-comment] if a comment is available for the current folder, void otherwise. Symbols available in [error-page] %content% converts to [ban] [deny] [not found] [unauthorized] [overload], depending on the error. Symbols available in [ban] %reason% error that occurred. Symbols available in [progress] %progress-files% converts to [progress-nofiles] if no file is transferred with the current client, otherwise the list of transferring files achieved by gluing each file after the pertinent section ([progress-download-file] or [progress-upload-file]) was converted. Symbols available in [progress-download-file] [progress-upload-file] related to the transferring file: %perc% percentage. %filename% name of the file. %done-bytes% transferred bytes. %total-bytes% number of bytes of the complete job. %done% as %done-bytes% but using dynamic measure unit. %total% as %total-bytes% but using dynamic measure unit. %speed-kb% throughput. Symbols available in [upload] %upload-files% input boxes for files to be uploaded achieved by gluing [upload-file] for each file. Symbols available in [upload-file] %idx% ordinal index of the input box. Symbols available in [upload-results] %uploaded-files% list of uploaded files achieved by gluing [upload-success] or [upload-failed] for each file. Symbols available in [upload-success] [upload-failed] %item-name% name of the file. %item-url% address of the file. Symbols available in [upload-success] %item-size% size of the file. %speed% average speed. Symbols available in [upload-failed] %reason% description of error occurred while uploading. -------------------------------------------------------------------------------- Sections List Some of the sections available in template: [up] defines the %up% symbol when there's a parent folder. [file] defines a link to a file. [file.<EXT>] used in place of [file] when the file has the specified extension. [folder] defines a link to a folder. [link] defines a link to a URL. [files] defines the %files% symbol when there's at least one file. [nofiles] defines the %files% symbol when there's no file. [comment] defines the %comment% symbol for [file] [folder] and [link]. [style] defines the %style% symbol. [login-link] defines the %login-link% symbol when no user is logged in. [loggedin] defines the %loggedin% symbol when the user has logged in. [upload-link] defines the %upload-link% symbol when the user has upload rights. [up] defines the %up% symbol. [folder-comment] defines the %folder-comment% symbol when there's a comment for the current folder. [error-page] the frame used for all error pages. [overload] defines %content% for the related error-page. [unauthorized] defines %content% for the related error-page. [deny] defines %content% for the related error-page. [ban] defines %content% for the related error-page. [not-found] defines %content% for the related error-page. [max contemporary downloads] defines %content% for the related error-page. [upload] the upload page. [upload-file] form item for a single file. [upload-results] the upload results page. [newfile] defines the %new% symbol when the item is marked as new. Section aliasing: You can specify 2 or more sections in brackets, and the same content will be assigned to all of them. The syntax is [A = B = C = D] where A, B, C, etc, are sections. This is very useful when you are specifying the content for [file.EXT] sections, like images. [file.jpg = file.bmp = file.png = file.gif] -------------------------------------------------------------------------------- Address Line and Linking Information In some cases requires %encoded-folder% before the operator. It is possible to make links to sort the file list accordingly: ?sort=n sort the file list by the file name. ?sort=s sort by the file size. ?sort=t sort by the date modified. ?sort=d sort by the amount of ‘hits’ or ‘downloads’. Address line operators list: Address line operators can be used in HTML e.g. href="/~login" and in the address command line of the browser e.g. www.yoursite.com/~login. ~nodefault doesn't serve default file in a folder, but folder with files. ~login calls for the login screen. ~files.lst inserts HTML from filelist.tpl if exists in hfs.exe folder, otherwise produces ASCII file list of the requested folder. ~img shows server graphic. ~progress calls the HTML from section [progress]. ~upload calls HTML from section [upload] for the requested folder. ~upload-no-progress calls HTML from section [upload-no-progress] for requested folder. ~upload+progress calls HTML from section [upload+progress] for the requested folder. To access the icon images: /~img_folder shows a default folder image. /~img_file will load the according icon for the file type. /~img_link shows the image for a link. It is also possible specify what icons to use… /~img# where ‘#’ is the number of the icon in the icon list of HFS. A link to load everything in the HFS on one page: /?recursive CAUTION: use very carefully. If the HFS has a lot of objects this can use a lot of CPU and RAM with the risk of crashing your PC. Measures have been taken by template builders to reduce CPU load. USE AT YOUR OWN RISK. Link to graph and customising graph colors and size: You can customize graph colors inside the template. The graph address is ~img_graph, but you can append to the name several options separated by an x. For example, ~img_graph190x40x10x111x222x333333x444x555 to exclude an item simply do not put it in e.g, ~img_graph190x40xx111… The full list of options, in order is: width, height, refresh rate, background color, grid color, out bandwidth color, in bandwidth color, text color. You can specify as many options as you want, even none. Current default values for width/height/colors are the same as in HFS window. Colors can be specified in at least two forms: RGB, RRGGBB. Refresh rate doesn't work inside template itself, but only if you access the graph alone, directly in your browser. If not specified, refresh is disabled. 語法原始網頁:http://www.rejetto.com/forum/index.php?topic=1939.0 希望可以滿足有需要的人 ╮(╯◇╰)╭ -- 沒有人可以定義一個人 定義 是來自於你對自己的要求~~ 而非我們!! Amos < http://Amos.notlong.com > -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 124.8.196.26
sarsman:記得要弄收尾碼喔 10/20 08:28
localtrain:簡體不支援! 10/20 08:59
JasperAmos:cool! 簡體~沒試過 囧 10/20 13:09
EVA:請問壓縮黨內的Install Live 2.2安裝程式 是做甚麼用的? 10/20 15:05
JasperAmos:那是介紹如何使用~可以按下去!放心吧 10/20 16:41
JasperAmos:還有live2.2~他有包含上傳介面喔!自己可以試看看!! 10/20 16:59
EVA:感謝您的解惑 ^^ 10/20 20:51
JasperAmos:我對上面這個面版很有興趣....可是都無法用成功 囧 10/20 21:31
JasperAmos:知道怎麼用的人還麻煩講一下...謝謝啦!! 10/20 21:33
EVA:點進去(會先試看)選你想要的那個網頁 下載xxx.TPL 10/21 01:09
EVA:回到妳的程式 選項>編輯html模板>匯入(然後先套用)開網頁試試 10/21 01:09
EVA:沒問題就按確認 10/21 01:09
EVA:我下載幾個來試玩囉~ 都有成功 10/21 01:10
EVA:剛發現,不支援中文檔名 (請試著用上方版有的方法試改囉) 10/21 01:12