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.


Topics - username1565

Pages: 1
1
HFS ~ HTTP File Server / Maybe... Websockets?!!
« on: October 23, 2019, 01:14:52 AM »
Is there any ability for HFS to working with WEBSOCKETS?
I cann't found keyword "websockets" on this forum.
Can you realize this ability? In this case, users can chat with server, using only one connection,
and no need to send many XHR-queries and open many connections.
I have Websocket server, writted on c# here: https://github.com/username1565/Fleck2
See source code, and this issue: https://github.com/username1565/Fleck2/issues/1
For introduction, and test this, if you still have not work with Websockets.

Have a nice day!

2
Bug reports / ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_LENGTH
« on: March 15, 2019, 05:18:47 PM »
Cann't load the page from server, using latest HFS v2.3m .
I see the following error in browser: ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_LENGTH

In console.log browser, I see the following errors:

GET http://192.168.0.10/ net::ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_LENGTH http://192.168.0.10/:1
GET http://192.168.0.10/ net::ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_LENGTH http://192.168.0.10/:1

3
Bug reports / invalid link
« on: December 04, 2018, 08:33:24 PM »
Need to add fullpath to the link, because path not full, relative and invalid.

1. Run HFS server.
2. Add some "folder" with files there.
3. Go to http://IP:PORT/folder/ - there is the files inside the folder.
4. Open the source code of HTML-page with that response:
and see this:
Code: [Select]
<a href="file1.txt"><img src="/~img47"> file1.txt</a>"file1.txt" - this is relative path for http://IP:PORT/folder/ where this page is generated, and this is - incorrect link.

Need to insert there fullpath:
Code: [Select]
<a href="http://IP:PORT/folder/file1.txt"> file1.txt </a>
HOW TO DO THIS?
I don't know syntax of macroses...

P.S.: I did add there an index.html with the links to all files,
and this seems good with fullpathes... But this is not dynamic page...

4
HTML & templates / Chat for HFS.
« on: July 08, 2018, 12:05:22 PM »
Hello. I'm from here: https://github.com/rejetto/hfs/issues/7

I'd implemented the file-chat for HFS, using Javascript and JQuery.
This connected to HTTPFileServer, using XHR-queries (you can see this in browser, in console.log).

Source code you can find in attached file, then you can test this.
To make this workable, put (by using drag and drop)
the folder "Upload_messages" inside the main folder of this chat in HFS
and make this uploadable for anyone.

Best regards.

Pages: 1