rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: Pino on October 12, 2020, 07:15:11 AM

Title: android app
Post by: Pino on October 12, 2020, 07:15:11 AM
Hey rejetto,  ;D

I can't post topics,Can I send it here?
I want to make an android app to manage HFS.
Do you have a similar Android interface?
Do you have any similar Android cases?

Title: Re: android app
Post by: rejetto on October 12, 2020, 02:58:52 PM
i don't have a native android interface.
HFS 2.4 has mobile friendly interface, tho.
Title: Re: android app
Post by: dj on October 12, 2020, 03:49:17 PM
you can install it as web-app (http://rejetto.com/forum/index.php?topic=11754.msg1064594#msg1064594)
Title: Re: android app
Post by: Pino on October 13, 2020, 11:54:04 AM
Thanks to Rejetto for helping me create the topic.

I used this link yesterday https://rejetto.com/forum/index.php?action=post;board=21.0 ,post topic.

I created a new account yesterday.
When I post a topic, a red pop-up window prompts me that I can't post.
Unfortunately, I didn't have a screenshot to leave evidence.

I post again today. It's all right now.
I suspect that on the day of the new account, the account does not have the right to post.

HFS 2.4 has mobile friendly interface, tho.
Does it mean to open HFS web pages in mobile browser, such as chrome app?
Title: Re: android app
Post by: Pino on October 13, 2020, 12:01:24 PM
Thank you, dj
I don't know about web apps, but I think it's a good idea. I'll open your link to learn more about web apps
Title: Re: android app
Post by: Pino on October 13, 2020, 12:19:32 PM
I know HFS has a login URL parameter
/~login

But is there a URL parameter like this?

“ /~login?username=name1&password=password1”

Then I don't need to pop-up the window to enter the account password, directly log in with the URL



For example, I use URLs in my app

https://192.168.x.xxx :xxx/folder1/ test.txt

I can download it test.txt



When I add an account to folder1

https://192.168.x.xxx :xxx/folder1/ test.txt

I can't download it with this url

If anyone knows, or HFS Android API, SDK and so on, please leave a message, thank you
Title: Re: android app
Post by: Mars on October 13, 2020, 01:11:30 PM
the reason is simple: HFS does not work with the HTTPS protocol, but only in simple HTTP, to make secure connections you have to install Stunnel in addition to HFS the version of the following link is not the last produced by rejetto but you will run stunnel,
http://rejetto.com/forum/index.php?topic=10242.msg1065509#msg1065509

once the configurations are done, then just replace the hfs exe with the latest officially produced version.

all connections initiated in HTTPS can go through STUNNEL using the 192.168.x.xxx:MMM address and will be redirected to the HFS listening address which will be 127.0.0.yyy: NNN in HTTP mode

from a remote client point of view the protocol used will be SSL