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 ... 48
HFS ~ HTTP File Server / Re: File Upload Script
« on: February 03, 2018, 07:50:45 AM »
there were other post on the forum with other users trying to upload file to hfs via script. unknown if any were successful.

id use w g e t html-put method or cURL:

here is what i have found on previous posts:

HTML & templates / Re: A mobile phone and PAD template
« on: February 03, 2018, 07:45:27 AM »
it is great please send me template at email:

i am very thank full you

post has download link:;topic=11178.0;attach=7508

HFS ~ HTTP File Server / Re: Login Button leads to Error Message
« on: January 25, 2018, 09:37:12 PM »
Try cleaning the browsers history and cache.

Specific the cookies
This sounds like an error I. The hfs cookie and the session id generation.

HFS ~ HTTP File Server / Re: Sort by default
« on: January 23, 2018, 06:52:15 AM »
Another reason why I like rarw live template.
Picture example:

Hfs live template:


Centuralize hfs In a folder and extract the zip code tents with hfs
Something like c:/webroot/etc....

In hfs
Hfs / advance mode / html and ... / change file select live tpl

HFS ~ HTTP File Server / Re: Sort by default
« on: January 23, 2018, 06:45:53 AM »
Sorting usually follows alphanumeric (a-z)
There an arrow on the hfs default config that changes sort to (z-a). Which would out your last files first.

lolz, what in the world are you talking about?

are you trying to use hfs and do a file listing of ofice documents?
are you trying to have a document apear in a web page?

what do you maen hfs can\;t list file "office"

usualy you have to define the document your using as a text/html
by addind the file extention to a application

Set mime type example pdf:

so extenion would be: *.pdf
adn application (steream/html encoding): application/pdf

then disaply the file on the webpage via html coding example:
Code: [Select]
<iframe src="somepage.pdf"></iframe>
also info on PDF can be found here:
To use a pdf in a web browser you will need this software:

now for the html code:
a real folder with your "*.pdf" file in it
right mouse click "properties" the pdf folder > different templates tab

put this html code in:

Code: [Select]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<html xmlns="">
<meta name="generator" content="HTML Tidy for Linux (vers 25 March 2009), see" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>PDF SAMPLE</title>
<br />
<embed width="100%" height="700" name="plugin" Title="Resume" src="" type="application/pdf">
<br />

You will need to setup the pdf document to be view able in a web page:

Edit > Prefference > Documents > (make sure htis box is checed)! Save as optimizes for Fast Web View

File > save as > same file it enables the web code in the pdf...
now open
(assume you have adobe reader installed... the pdf is now displayed in the browser...)

Bug reports / Re: MTU and MSS size setting
« on: January 12, 2018, 10:10:04 PM »
actual most networks and devices use mtu 1300-1500

1500 - standared router networks (class C)
1400 - game station
1300 - major ISP head ends(advance routing)

1400 is usual added via default router config for most "major manfactures"...

all of with is not handeld via the software/ HFS program. there ususal is a setting to change in your router config

a bunch of testing and other networking stuff is required to even atempt to find your netwroks good mtu/mss...

you will probaly have to add a html code macro to give you soem more info:

some thing like this as seen form link above...

Html form code :

Code: [Select]
  <form><!---Removed form submit url-->
            <input type="text" id="keyName" value="testValue">
            <!---Id attribute added to input field to be submitted--->
            <input type="button" onclick="myFunction()" value="Submit">
            <!---Input type is button NOT submit--->

Javascript code:

Code: [Select]
function myFunction(){
var dataValue = $("#keyName").val();
            type : 'POST',
            //remove the .php from results.php.php
            url : "http://externalsite.cpm/results.php",
            //Add the request header
            headers : {
                Authorization : 'Bearer ' + 'XXXXXXXXXXXXXXXXXXXXXXXXX'
            contentType : 'application/x-www-form-urlencoded',
            //Add form data
            data : {keyName : dataValue},
            success : function(response) {
            error : function(xhr, status, error) {
                var err = eval("(" + xhr.responseText + ")");
        }); //End of Ajax
}   // End of myFucntion


more info aon addind data to the header:


REJETO has already answered this on a previous form post:

Re: Posting to HFS using Wfetch tool (HTTP Post) not saving file to folder
« Reply #9 on: August 31, 2015, 09:51:08 AM »
POST is generic. HFS needs data to be sent as "multipart", in the POST. That's what the browser does.
See if you have such option on your side.
« Last Edit: August 31, 2015, 09:59:15 AM by rejetto »

HFS ~ HTTP File Server / Re: hfs yealink phone contact update
« on: December 30, 2017, 11:29:30 PM »
just to add some info here. I believe rejeto has helped the users main question here.

HFS is a http protocal and caould be used to uplad phone configs.

Yealink are like polocom hardware. a SIP protacal VOIP service phone

You can use HFS as a HTTP Provisiong server. this will have a sepcfice folder with a config file that points to a Sip server for VOIP Phone use

pdf for yealink setup provsining server

Contact generation and provision:

HFS ~ HTTP File Server / Re: Route HFS through VPN
« on: December 02, 2017, 12:16:46 AM »
hamachi is the only vpn (besides hardware - cisco --) that i have tested with hfs

Traffice works through the internet via hamachi vpn ip via a pre conected group of pc
(back in the world of warcraft private server days :p )

ip of said pc run through the loopback ( address


is it possible yes, with routing and other port services that are proviced via a vpn

I don't know of your paid verison, and if they support full portforwarind with there vpn services.

Nor a setup that would work

i have found (on real hardware that wine staging 2.4 works with out the issues. I have not had time to vituralize it to test it again:

in wine tricks when you run the wine config, the about tab will show your the wine version

on real hardware, wine stagin 2.4 works with hfs. no issues with uplad etc...

will be able to test over the week, the issue occured due to a repository issue on wines git server end.
with the above setup, win stagin 2.02 (witch intals your upload bug) occurs but doesn't with wine 2.4 stagin

i found that the repositor on my vitural machine was depricated, and will begin to look for a fix...

Sorry, i'm unable to spend any more time on this problem, for what ever reason, win 2.4 repository has been depricated and is curently not aviable.

my atpmt to copy the deb packages and other programs for a tranfer to a vitural machine have failed
(the real hardware i have is a chrome book ubunut "galium os build")
I ahve also found that i have no space to put a vitural harddrive (10-15 GB) to share to the post)

if you can get 2.4 wine staging installed, good luck. at this time, wie repositoy claims 2.02 is the most updated, withch causes the upload bug you are exibting.
sry, good luck.

Bug reports / Re: Unsafe DLL loading vulnerable in version 2.3k
« on: November 23, 2017, 11:23:44 AM »
rejjeto, i private messaged you about this....

what i have seen and what was shown was indeed dll hacking, but is not a probelm or a bug with your program, but a os system issues with a bad visual update. it was his pc casuing the issue..

this is not a bug that i have found.

i have confirmed your bug with ubuntu adn my wine setup.

strangley, it is only affecting archive files(.tar / .zip etc.. anything compreessed), i have a vmware 12 workstaing ubuntu 32bit mate version going, i will post my vitural hardware and quick fixes if i solve this.

i beleve it could be a mime type issue/ hfs code issue

atm: i have tested local host and outside conection and uplaoding/downloading.

I will have to add archives to my testing phases now, usuialy i test uplads with pictures, text docs, music etc...

thank you for poping in, i thought the hfs version transaltion would incude this as a poteail fix to his 1st question.

i saw your post happy with leo and leo testing it.

Wonder if there is an update on that that might include that to hfs itself.

Also, wine is going thorugh chagnes and bug reports like this would come back to you the author. I can submit a bug report, bu there respons would be to contact the progrm author.
(unless you can prove it worke d with a previous verion/ older verison of wine....)

Thank you for you help in this matter

thank you for getting back to the post with your results, i will try to post agin before monday when i will be leaving again for work.

sorry about gramer / spelling / etc, only have tonight to do this :p ip changes to much to log on forum outside from home
only had 30 min o respond :p :( good luck, hope this works for you

i recommend using the most updated version of wine. Since you installed wine 1.8, that the version you will be using(wine tricks will install wine - DON"T INSTAL A SPECIFIC WINE VERSION, UNLESS YOU KNOW WHAT YOUR DOING!).(... this is why winetricks was created!)... Wine has since released other updates (2.4 is curent atm).

My current work has me travel and access to the forum and the vm test bed is not fesiable (until after the holidays/my curent work schedule...).


it is clear that there is miss under standing to my instruction form the other post.

so i will give you the lines one by one that you must run to get a good working version.

first we are purgeing hte system of wine(complety uninstall and removing all wine related files.
(this is due to 1. I don't know what config chages or wine realted problems that could be casueing the issue. 2. Guratee taht if you run these comands it will run HFS as if it was with your other VM)

***(make sure to copy the exact commands in this order):

Open mate terminal

become super user root via comand
Code: [Select]
sudo su
Code: [Select]
sudo apt-get remove --purge wine\*
Code: [Select]
sudo apt-get --purge remove wine

Close and restart the PC VM.

now open a standard user mate termainl (not SU)
(this is to remove the wine directiores form your curent user, this will also have to be done at the root level "SU")

Code: [Select]
rm -r "$HOME/.wine"
rm  $HOME/.config/menus/applications-merged/wine*
rm -r "$HOME/.local/share/applications/wine"
rm $HOME/.local/share/desktop-directories/wine*
rm $HOME/.local/share/icons/????_*.xpm

IF you used the wine config and chaged location, you will have to remove that folder....

once again we will log into super user root:

Code: [Select]
sudo su

Code: [Select]
rm -r "$HOME/.wine"
rm  $HOME/.config/menus/applications-merged/wine*
rm -r "$HOME/.local/share/applications/wine"
rm $HOME/.local/share/desktop-directories/wine*
rm $HOME/.local/share/icons/????_*.xpm

Now we clean up the ubuntu packages to make sure we are geting the lates and a clean version...

Code: [Select]
sudo apt-get update
Code: [Select]
sudo apt-get autoclean
Code: [Select]
sudo apt-get clean
Code: [Select]
sudo apt-get autoremove

At this point wine and everything wine related will be gone.

You stated that you are runnig a 32bit editon of ubuntu mate:

if you are runing a 64 bit addition, you will have to add the arc type to run 32 bit application:
Code: [Select]
sudo dpkg --add-architecture i386
*I recommend ruining this command to verify that you are, or have a i386 (pc x86 OS) architec.

and run the update procedures

Code: [Select]
sudo apt-get update
Code: [Select]
sudo apt-get upgrade
At this point all available ubuntu updates and packages are ready

so we will start with the required packages first
*due to issues form ubuntu 7, and a bunch of wine updates, wine itself no longer instals theses optional packages, but will grab the dependents only to run there package. These commands will grab the other packages and will be required to install winetrick, with will install wine.

first we insall the wine development pacakges:
Code: [Select]
sudo apt-get install --install-recommends winehq-develthen we insatll the stage for wine itslef
Code: [Select]
sudo apt-get install --install-recommends wine-stagingFinaly we insall the most uptodate verion of wine:
Code: [Select]
sudo apt-get install winehq-staging
The ordering and one by one line install is important here to not make a conflict.
when done, the packages will complain that you will not need the wine-hq devel, and one other deveopment package.
*everythign to run a wine (windows emulated state) will be installed at this point

all of witch can be found at the wine hq website:

finaly we build wine via winetricks:
Code: [Select]
sudo apt-get install winetricks
before we run wine tricks, we want to install some wine reequirments

install the netframe work! "mono"
Code: [Select]
sudo apt-get install mono-vbnc
install gecko (this will help HFS ALOT!)
Code: [Select]
sudo apt-get install wine-gecko
these are some barebones requirments to most windoes based programs.
geko emualtes info that was internet explore, and helps in dealing with windows side tcp transaction. withc help hfs on a linux build

at this moment, with out specify a wine version, wine is installed, and needs to be configure

open winetricks (either via standard user termainl non root) or via the aplication menu

install mon, geko, (esentialy say yes to all the popup)


now downlaod HFS and tryi your test again.

I'm willing to bet its a wine issue, there are some many way to install an application and wine is very fickle these days.

HFS as stated via rejeto was orginaly created for windows xp, so i recomend a wine configuration for winodws xp, but i have found that win 7 and below work fine.

HFS ~ HTTP File Server / Re: Mobile friendly website
« on: November 13, 2017, 09:45:24 PM »
you may have to add a custom user template file such as live rarw etc...

I'm aware of some  users making and having a mobile friendly version...

for example one built for the iphone:

then there is custum eding html and adding teh required hfs macro section to html pages to manulay creat a mobile friendly version

Most html code there own and use hfs default tempalte as a base

Id redirect you to the wiki:

*** it used to be easier to edit hfs template via another program:

dj created : mobile lite template with pic:;attach=8270

Pages: [1] 2 3 ... 48