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
1
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:
https://superuser.com/questions/130009/how-can-i-do-a-http-put-with-wget

here is what i have found on previous posts:

http://rejetto.com/forum/index.php?topic=6813.msg1042159#msg1042159

http://rejetto.com/forum/index.php?topic=6463.msg1039172#msg1039172

http://www.rejetto.com/forum/index.php?topic=4877.0

2
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: gmchandio125@gmail.com

i am very thank full you

post has download link: http://rejetto.com/forum/index.php?action=dlattach;topic=11178.0;attach=7508

3
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.

4
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:
https://goo.gl/images/9gz3oU

Hfs live template:
https://rawr.thatstevensguy.com

Download:
https://rawr.thatstevensguy.com/projects/6/3.0.1/Live-3.0.1.zip

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



5
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.

6
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"
https://stackoverflow.com/questions/5565759/how-to-embed-a-document-in-html-page

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:
https://msdn.microsoft.com/en-us/library/bb742440.aspx

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:
http://www.rejetto.com/forum/hfs-~-http-file-server/information-(mime-types)-embed-pdfsvideo-and-audio/
Quote:
PDF:
To use a pdf in a web browser you will need this software:
http://filehippo.com/download_adobe_reader/

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"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator" content="HTML Tidy for Linux (vers 25 March 2009), see www.w3.org" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>PDF SAMPLE</title>
</head>
<body>
<br />
<embed width="100%" height="700" name="plugin" Title="Resume" src="http://192.168.1.254/pdf/sample.pdf" type="application/pdf">
<br />
</body>
</html>
--------

You will need to setup the pdf document to be view able in a web page:
-----
http://helpx.adobe.com/acrobat/kb/cant-view-pdf-web.html

http://help.adobe.com/en_US/acrobat/X/pro/using/WS58a04a822e3e50102bd615109794195ff-7f52.w.html

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 http://192.168.1.254/pdf/sample.pdf
(assume you have adobe reader installed... the pdf is now displayed in the browser...)

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

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

https://www.sevenforums.com/tutorials/94721-mtu-limit-test-change-your-connections-mtu-limit.html

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

https://stackoverflow.com/questions/32901015/how-to-add-header-authorization-for-post-form-using-js-ajax-jquery

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--->
            </form>

Javascript code:

Code: [Select]
function myFunction(){
var dataValue = $("#keyName").val();
$.ajax({
            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) {
                console.log(response);
            },
            error : function(xhr, status, error) {
                var err = eval("(" + xhr.responseText + ")");
                console.log(err);                   
            }
        }); //End of Ajax
}   // End of myFucntion


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

more info aon addind data to the header:
...

http://www.rejetto.com/forum/hfs-~-http-file-server/posting-to-hfs-using-wfetch-tool-(http-post)-not-saving-file-to-folder/msg1060575/#msg1060575

BUT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

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 »

http://www.rejetto.com/forum/hfs-~-http-file-server/changing-http-response-header/

9
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
https://www.3cx.com/sip-phones/manually-provision-yealink/

pdf for yealink setup provsining server
http://download.support.yealink.com/download?path=upload%2Fattachment%2F2015-3-12%2F3%2Fa20b8122-2868-4c02-b61f-84338934c421%2FYealink_SIP-T2_Series_IP_Phones_Auto_Provisioning_Guide_V72_30.pdf

Contact generation and provision:
https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&cad=rja&uact=8&ved=0ahUKEwjKlteAwrPYAhXL7IMKHVVIBkEQFggxMAE&url=http%3A%2F%2Fsupport.yealink.com%2FattachmentDownload%2Fdownload%3Fpath%3Dupload%252Fattachment%252F2017-3-20%252F3%252F05c76274-ea0e-4cbb-8792-697a38aa2e10%252FYealink%2BPhonebook%2BGeneration%2BTool%2BUser%2BGuide_V81_70.pdf&usg=AOvVaw0s0zVX8oHp-mUALfDevUdI


10
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

https://www.vpn.net/
(back in the world of warcraft private server days :p )

ip of said pc run through the loopback (127.0.0.1) 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

11
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:
http://linuxg.net/install-wine-staging-on-ubuntu/

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
https://launchpad.net/~wine/+archive/ubuntu/wine-builds

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.

12
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.

13
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.

atm:
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...

@retjeto
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

@mar
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.

14
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).

Unfortunatley
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...).

YOU WILL HAVE TO REINSTALL WINE AND the SOFTWARE!

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
-------------------------------------------
*EVERYTHING SHOULD BE RUN VIA ROOT AT THIS MOMENT...
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:
https://wiki.winehq.org/Ubuntu

------------------------------
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!)
https://wiki.winehq.org/Gecko
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.

15
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...

http://www.rejetto.com/forum/html-templates/

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

for example one built for the iphone:
http://www.rejetto.com/forum/html-templates/mobile-template/

then there is custum eding html and adding teh required hfs macro section to html pages to manulay creat a mobile friendly version
http://www.rejetto.com/forum/html-templates/multiple-templates-based-on-browser/15/

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

Id redirect you to the wiki:
http://www.rejetto.com/wiki/index.php?title=HFS:_Template

*** it used to be easier to edit hfs template via another program:
http://www.rejetto.com/forum/html-templates/hfs-template-builder/
http://www.rejetto.com/forum/html-templates/hfs-template-editor/
***

dj created : mobile lite template with pic:
http://www.rejetto.com/forum/html-templates/responsive-small-screen-template/?action=dlattach;attach=8270

Pages: [1] 2 3 ... 48