作者JasperAmos (阿摩司-任重道远)
看板EZsoft
标题[免费] HFS - Http File Server 大全
时间Sat Oct 20 06:02:26 2007
软体名称:
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
1F:推 sarsman:记得要弄收尾码喔 10/20 08:28
2F:推 localtrain:简体不支援! 10/20 08:59
3F:推 JasperAmos:cool! 简体~没试过 囧 10/20 13:09
4F:推 EVA:请问压缩党内的Install Live 2.2安装程式 是做甚麽用的? 10/20 15:05
5F:推 JasperAmos:那是介绍如何使用~可以按下去!放心吧 10/20 16:41
6F:推 JasperAmos:还有live2.2~他有包含上传介面喔!自己可以试看看!! 10/20 16:59
7F:推 EVA:感谢您的解惑 ^^ 10/20 20:51
9F:→ JasperAmos:我对上面这个面版很有兴趣....可是都无法用成功 囧 10/20 21:31
10F:推 JasperAmos:知道怎麽用的人还麻烦讲一下...谢谢啦!! 10/20 21:33
11F:→ EVA:点进去(会先试看)选你想要的那个网页 下载xxx.TPL 10/21 01:09
12F:→ EVA:回到你的程式 选项>编辑html模板>汇入(然後先套用)开网页试试 10/21 01:09
13F:→ EVA:没问题就按确认 10/21 01:09
14F:→ EVA:我下载几个来试玩罗~ 都有成功 10/21 01:10
15F:→ EVA:刚发现,不支援中文档名 (请试着用上方版有的方法试改罗) 10/21 01:12
16F:推 JasperAmos:这个我知道阿~只是我要套网址内的那个~没办法 10/21 13:42
17F:→ JasperAmos:套进去後~很多图片等~都没办法显示 10/21 13:43