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 - bmartino1

Pages: [1] 2 3 ... 56
1
while i recommend upgrading to the stable version hfs

ive found these application memory errors to be hardware error.
event viewer would help diagnosis it further, but the latest versions will help.mogitagte the issue

2
Beta / Re: version 2.4
« on: June 12, 2019, 07:53:47 PM »
Is it possible to add an option to block not just by IP but also to block by user agent in case it's identidied?
For example if I want users to be able to download from Chrome but not from Firefox ?

only thing o can think of 9s a hyml web redirect.

2-3 problems

1 you can use html/jQuery to find what browser has connect to your server:

https://stackoverflow.com/questions/12089942/php-html-css-if-firefox-if-chrome-if-safari

ex
Code: [Select]
   // Safari CSS and Webkit Google Chrome
if ($.browser.webkit) {
   $("#element").css('top', '2px');
} else if ( $.browser.safari ) //not fully supported on 1.7 jQuery {
   $("#element").css('top', '2px');
// Opera CSS
} else if ( $.browser.opera ) {
   $("#element").css('top', '2px');
// Internet Explorer CSS
} else if ( $.browser.msie ) {
   $("#element").css('top', '2px');
// Mozilla FireFox CSS
} else if ( $.browser.mozilla ) {
   $("#element").css('top', '2px');
// Normal Revert, careful and note your the use of !important
} else {
   $("#element").css('top', '2px');
   // You can have normal JavaScript between these too
   document.getElementById("element").style.top="2px";

the above will edit css based on browser

2, last i checked the latest chrome usses Firefox web agent, so theres no guarantee for that browser

3  hfs built in block level is at the protcal level not html browser level

html code

ex to stop ie from html visit

https://www.quora.com/Is-there-a-way-to-block-Internet-Explorer-from-my-website-using-HTML-If-so-is-there-a-way-to-modify-that-code-for-other-browsers

3
Thanks.  But, there's no sound.  What form of clickable link allows the end user to achieve playback? 

It immediately caused 5 Gigabytes of traffic, but it didn't play any of them.

Need to avoid downloads unless the play button is clicked.
After the play button is clicked then it would be nice to download/play one at a time (not all at once).

that sounds like a mime type issue
is the mime type defined and is it set to open directly in browser?

https://images.app.goo.gl/R5EBCrYXcigQxWTP8

http://rejetto.com/forum/index.php?topic=11400.msg1059164#msg1059164

4
I wonder if this is possible:  An icon to shuffle play all mp3's in the current folder?   
That's an awesome old-school feature that has been lost over time.

we have to generate the m3u file via script pulled from macro item-modifed.

somehow we would have to tell a flash player or other html video player the contents of a file folder via URL.

mby look into jplayer

https://stackoverflow.com/questions/14854271/jplayer-create-dynamic-playlist-based-on-files-in-folder

5
??? what casued this was a additon of code that no longer alows for that code to run. we would need you template or html code to further diagnose

6
Bug reports / Re: HFS not able to start.
« on: April 29, 2019, 03:50:16 PM »
@Explorare

unfortuanlely this is a windows build beta issue adn only a windows option atm is the fix. as reported form are from poster user, he was able to geta workaround via turning off the win 10 betat utf-8

Control panel > region settin > administrative tab > admin systeym chage for non -unicode > unchek box if check.
see picture

Apologies for the post on a older thread. I had this issue.
A working fix (on Windows 10 1809) was to disable the "Beta: Use Unicode UTF-8 for worldwide language support" in Windows Region Settings.
(found under Region -> Administrative tab -> Language for non-Unicode programs -> Change system locale... -> Checkbox - Beta: Use Unicode UTF-8 for worldwide language support)

7
Bug reports / Re: my hfs crasch for edit for upload ordner
« on: April 27, 2019, 02:29:09 PM »
Bin files are exe zips and a mime type needs to be defined 8n hfs for the file to download.

https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Complete_list_of_MIME_types


Found in the hfs menu:
application/octet-stream


8
HFS ~ HTTP File Server / Re: hfs as a web server?
« on: April 27, 2019, 02:27:05 PM »
I would double check the mime type

....
If a av quartines it you can usualy restore the file.

I belive the mimetype became corrupted.
Id recommend a full redownload and restar from hfs.

https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Complete_list_of_MIME_types

9
?
https://duo.com/
https://duo.com/docs/duoweb

is it posible to html code in hfs yes, i'm not familura with duo nor its web api.

from what i see:

First Steps
Before starting:

Sign up for a Duo account.
Log in to the Duo Admin Panel and navigate to Applications.
Click Protect an Application and locate Web SDK in the applications list. Click Protect this Application to get your integration key, secret key, and API hostname. (See Getting Started for help.)
Download and install a supported client library (Python, Ruby, Classic ASP, ASP.NET, Java, PHP, Node.js, ColdFusion, Perl).
Use NTP to ensure that your server's time is correct.

you need to download and setup a client libary. (id recomend java)
and use the iframe souce form the document

--------------
The problem, HFS at the moment doen't support php, not is ther a predeveloped webcode form there site for hfs to intergrate. you wil lahve to manualy code or contact them for html coding support to intergrate it into hfs.

Contact Support
support@duo.com
Call Sales
1.866.760.4247
Email Sales
Contact Sales

10
so yes this can be macro coded. My curent working theory on the mater. as i don't have time to test and cod such a thing...

you will have to have Your iot device send the data via htmp Fake php strings... add url secondary data via a ? and post url red write data via & ...

-----------------
This is why i also sent you to a working post method
i sent you leo simple contact template as that has the codes you will need to modify for the macro code/hfs side to accept the url string.

------------------

Hfs base line:
You will have to create a vitural folder in HFS

You will have to code a Macro script form

----------------------
You wil lhave to setup the iot to talk to the vitural folder sending a url full string example:
(Pulled form a sucessful post of the url data sent to hfs via macro write - with is wht you would use to post upload)

you will send the requested data via example: /Contact/?name=Brandon+Martino&email=my@test.com&subject=ff&message=pass+pass+pas&SubmitMessage=something
**********

so your sending data via the field on your virtual folder script.
[DEVICE_UUID\signal_log\DATE\]

decoding the example log and breakdown via url sending(the ### would be the data the iot device is sending...)

THis would be example of what your iot device making the request might look like
http://hfs-ip/Vituralfolder/?field-UUID=#####&Nextfield-SignalLog=######&Nextfield-date=######&nextfield-file=file.cvs

IOT would send something like this via your previos post

http://xxx.xxx.xxx.xxx/vituralfolder/?UUID=WISE4012_1234&Signallog=signal_log&date=20190102&file=2235.csv
----------------

HFS setup:

the viturl folder can use a macro to take the field
field-UUID=#####
Nextfield-SignalLog=######
Nextfield-date=######

and creat a realfolder via macro script
http://www.rejetto.com/wiki/index.php/HFS:_scripting_commands
mkdir | A
creates the specified folder. URI is supported in A, but it must refer a real folder.

then uplaod the cvs file to hfs:
nextfield-file=file.cvs

Code: [Select]
{.save|/%folder%/Private-Message-{.time|yyyy.mm.dd'-at-'hh.nn.ss.}
you could even skip some field formt eh form for the date.

this is the best i can do for yo on short notice

11
How are you uiplading the file to HFS???

Are you going to hfs web page folder and clicking the uplaod button?

IF not, there is your problems.

Other wise we have to edit and chage some scritps to faciualt your needs by goin to a webpage selecting the file and uploading the data via a pst request:
http://rejetto.com/forum/index.php?topic=12122.msg1062964#msg1062964
*simple contact template has some solution for you to pull the code and re write.

--
you have to have these folder path in order to uplad adn the first - last folder having upload permision:
DEVICE_UUID\signal_log\DATE\

add a real folder to HFS > Righte mouse click > Protperties > permision tab > Upload tab > (set anyone for open folder to the web for upload.

LOG:
7:42:21 AM 10.0.0.50:1437 Requested GET /Upload/
7:42:21 AM 10.0.0.50:1438 Requested GET /?mode=jquery
7:42:24 AM 10.0.0.50:1439 Requested GET /Upload/
7:42:24 AM 10.0.0.50:1440 Requested GET /?mode=jquery
7:42:44 AM 10.0.0.50:1441 Uploading lock pc.bat
7:42:44 AM 10.0.0.50:1441 Fully uploaded lock pc.bat - 40 @ 7.8 KB/s
7:42:44 AM 10.0.0.50:1441 Requested POST /Upload/
7:42:59 AM 10.0.0.50:1437 Requested GET /Upload/
7:42:59 AM 10.0.0.50:1441 Requested GET /?mode=jquery

see picture for result on client side to upload...

12
HFS ~ HTTP File Server / Re: My questions regarding HFS
« on: April 04, 2019, 12:27:01 PM »
then you will need to bind hfs to the root folder. if its a real folder it should be updateing and searching that folder automaticaly.

13
HTML & templates / Re: Simple contact template
« on: March 24, 2019, 08:04:10 PM »
For witch one? I put this project aside I could fox the various bugs here and there...

Macro-Method = Using Form + Macros (without needing upload permissions)
XML-Method = Using XMLHttpRequest (needs upload permissions to anyone)
EML-Email = Same as XML-Method, but it saves in .eml format instead of .txt

Either pull from the first post on here by leo or go to my post with detail and code change (adds validation).

14
HFS ~ HTTP File Server / Re: HFS behind Nginx reverse proxy
« on: March 08, 2019, 01:23:02 PM »
follow the link http://rejetto.com/forum/index.php?topic=11379.0,fix it。

??? Nothing to fix it all in nginx setup and how you edit hfs in on top of internal hfs setting and path location...

Quote from rejeto:

it's possible, but disabled for security reasons.

You have to edit the INI file
as reported here
http://www.rejetto.com/forum/hfs-~-http-file-server/requestshow-ip-address-by-using-forwarded-ip/msg1037912/#msg1037912


save configuration to INI
quit HFS
edit INI
change the value
save
run hfs

15
HFS ~ HTTP File Server / Re: No ip, https and ssl
« on: March 02, 2019, 02:56:40 AM »
??? CSR ... https://www.noip.com/support/knowledgebase/how-do-i-create-a-csr-for-my-ssl-certificate/

No IP can't give your hfs secure tunels.
http://rejetto.com/forum/index.php?topic=11245.msg1058480#msg1058480

No IP just needs your public IP and a port for for forwarding the domain name to the site...

You will problay have to setup hfs and stunnel and run the open SSL key creation and send the cert off to no IP for https forwarding. As the domain name doesn't encrpt your traffic to the server.

Pages: [1] 2 3 ... 56