rejetto forum

Recent Posts

Bug reports / HFS download speed slow for anything other than lan.
« Last post by Godielvs on September 24, 2021, 12:41:01 AM »
Hi. I'm using Beta RC06, but tried with newer versions too (downgraded because trying to delete something made 404 and didnt delete).
So. I have a file server with accounts and a Public folder to share things without needing to login (thats to my friends). I can send files over my lan pc to the dedicated server pc at about 700Mbps, when transfering the file HFS freezes completely, but thats no problem, it unfreezes when the file is sent/cancelled. The problem is when i try to download or upload something not in Lan. Using my phone mobile data, it downloads 3 separate files acting as one. Each one gets 2Mbps, to 6Mbps total. But when my friends try to download something everyone gets 1Mbps no matter what. Also its not constantly 1Mbps, it goes from 300Kbps to 2500Kbps very often, it fluctuates a lot, but mostly 1Mbps. My internet is 300down 150up, never going below this (seriously, its very very stable and its always 340down 170up). Tried deactivating firewall, activating DMZ, changing ports (currently using 9090, dont know if its bad or something), using and not using NoIP, changing random configs, activating and deactivating high speed handling, setting up limits (only made difference when it was lower than what my friends download), trying other versions to no avail. All my servers work great, with great latency and speed, but no HFS. Tried Filezilla too but its too hard to make it accessable from the web, and thats something i like in HFS.

What I am doing wrong and how do I fix it?
Bug reports / Re: False errors on upload
« Last post by Mars on September 17, 2021, 11:15:34 PM »
Appears for one of the following reasons:

when sending each file with the method that was used for it
- the logged in user does not have write rights to upload file in the folder
- the user and the password used do not correspond to a registered account values
Bug reports / False errors on upload
« Last post by D on September 16, 2021, 10:54:00 PM »
They only appear in logs. I'm using HFS 2.3m

Code: [Select]
Upload failed for 20210916_221111.jpg: Not allowed.
Upload failed 20210916_221111.jpg
Upload failed for 20210916_221155.jpg: Not allowed.
Upload failed 20210916_221155.jpg
Upload failed for 20210916_221259.jpg: Not allowed.
Upload failed 20210916_221259.jpg
Requested POST /
Uploading 20210916_221111.jpg
Fully uploaded 20210916_221111.jpg - 71.2 K @ 316.4 KB/s
Uploading 20210916_221155.jpg
Fully uploaded 20210916_221155.jpg - 114.0 K @ 797.2 KB/s
Uploading 20210916_221259.jpg
Fully uploaded 20210916_221259.jpg - 163.8 K @ 1.1 MB/s
HTML & templates / Re: Custom folder previews
« Last post by D on September 15, 2021, 10:07:34 AM »
for hfs2.4
Thanks. How can I move these images into Hits column?
HTML & templates / Re: Custom folder previews
« Last post by dj on September 15, 2021, 07:41:42 AM »
for hfs2.4

Code: [Select]
function folderth(){
 [...document.querySelectorAll('#files a[href$="/"]')].forEach(item =>
 item.insertAdjacentHTML('afterend', '<img loading=lazy height=128 src='+item.href+'folder.jpg>')  //p.jpg

if(!document.querySelector('main')) folderth()  //hfs2.4
else document.addEventListener('render', folderth)  //mobil-light_V5.6
HTML & templates / Re: Custom folder previews
« Last post by D on September 14, 2021, 04:48:30 PM »
Okay, variant with images behind buttons:
Code: [Select]
var list=document.querySelectorAll("table#files>tbody>tr");
function changepic(a1)
  var alink=a1.querySelector("a");
  var adress=alink.getAttribute("href");
  var button=document.createElement("button");
function showPreview(butt)
  var par=butt.parentElement;
  var img=document.createElement("img");
HFS ~ HTTP File Server / Re: Two folders, two websites?
« Last post by Rapid on September 14, 2021, 01:37:02 PM »
I would recommend to use reverse-proxy for this.
For example nginx.
It can handle any domains, folders, etc...
HFS ~ HTTP File Server / Re: Two folders, two websites?
« Last post by LeoNeeson on September 14, 2021, 08:25:25 AM »
Hi!, I'm 99.9% sure HFS is able to handle this situation, using '' and some macros. I did my best searching all the forum, but I could not find whether this was already discussed or not.

I will try to help you, giving a proof-of-concept idea. For example, lets say you have '' and '', and Folder1 and Folder2.

1) Switch to 'expert mode', pressing F5 inside HFS window.
2) Go to: Menu > IP Address > Custom... and add your domains.
3) At HFS window, press Alt+F6 to edit the '' file, and put the following text:

Code: [Select]
{.if|{.match address||%host%.}|
{.add header|location: /Folder1.}|
{.if|{.match address||%host%.}|
{.add header|location: /Folder2.}|

WARNING: The contents of that "" were NOT tested by me, and that code may not work at all! (I'm just giving an idea on how it could work). That's all I can help you (my knowledge about macros is limited). I hope someone else (expert on macros), could give you a hand (meanwhile, you can read the HFS's Wiki here). / Edit: I was writing this before 'dj' posted.