Recent Posts

Pages: [1] 2 3 ... 10
1
Thanks a lot for you reply, Could you help me with the corresponding http command.
I have tried various methods, but was failing to upload larger files. Getting sockets exceptions.
Could you help to share the http snippet corresponds to the below curl command:

curl  -F fileupload1=<File>  -F press="Upload files"  <Server Ipadress>

HI, Try thie.
curl --user uid:psw -F file=@locfile file=Upload http://server ip/dir/
OR
curl --user uid:psw --form file=@locfile --form file=Upload http://server ip/dir/
2
HFS ~ HTTP File Server / Re: NET::ERR_CERT_AUTHORITY_INVALID
« Last post by LeoNeeson on Today at 02:20:16 AM »
@NicolaErbacci: It would be nice if we could use 'Let's Encrypt', but as far I know, it's not possible at the moment... :-\

@SilentPliz: I haven't investigated enough, but I have this question for you: can be possible to implement a way to generate certificates for 'Let's Encrypt', directly (without external tools) from your TLS version of HFS?. If you can 'somehow' integrate this, we could generate certificates that would be valid on all browsers. In case you decide someday to implement this, it would be nice to still have both options: generating self-certificates (like it currently does), and also 'Let's Encrypt' certificates.

I've searched on Google, and most tutorials or tools (like this, this or this) are for 'Windows Server IIS' or 'Apache', but I can't find a universal tool that could be usefull for HFS. The most interesting results from my search on Google, are SSLforFree.com, CertifyTheWeb.com, GetHTTPSforFree.com and THIS informational page (I don't know if any of those are useful to HFS).

You understand more than me how certificates are generated, but I've read that LetsEncrypt.org has an API, that perhaps it could help you to add this. As a side note, I must say that I don't need this (so, don't take this as a request). :)

Cheers,
Leo.-
3
hi, Thank you for your guidance and information.

I have successfully completed.
Yes, next I need to study how to upload using curl.
Thank you very much for your teaching.

Thanks again for your assistance.
4
HFS ~ HTTP File Server / Re: NET::ERR_CERT_AUTHORITY_INVALID
« Last post by nicolaerbacci on Today at 12:21:08 AM »
I thank you for the answer,
if forcing it works, I will have to insert the https links in another process, so unfortunately I cannot force reading the certificate to the program that will read them,
in summary, is it possible to use another type of certificate that work good?
I had done a test with certificate manager (of aws), I had generated one ca, but it was in error, can you tell me if I was on the right track?
Thanks again, Nicola
5
HFS ~ HTTP File Server / Re: NET::ERR_CERT_AUTHORITY_INVALID
« Last post by SilentPliz on March 31, 2020, 02:45:50 PM »

Welcome nicolaerbacci.

Showing the content of the certificate is useless, and forces you to make another one because it can be copied on the forum.

The certificate error is normal, if, you've created this certificate yourself (self-signed).
The important thing is to know if you can to access on your server by forcing the browser to ignore this warning.

Tell us more if you want to be helped more effectively.
6
HFS ~ HTTP File Server / NET::ERR_CERT_AUTHORITY_INVALID
« Last post by nicolaerbacci on March 31, 2020, 01:02:43 PM »
Hello everyone! I can't understand why I am not accepted the SSL certificate, does anyone understand me more?

NET::ERR_CERT_AUTHORITY_INVALID




Code: [Select]
-----BEGIN CERTIFICATE-----
MIIEMTCCAxmgAwIBAgIJAJeF9+9BqV54MA0GCSqGSIb3DQEBCwUAMHsxCzAJBgNV
+G
MB8GA1UdIwQYMBaAFAyIJNN9kOsIZ8TyHqsrotuipt+GMA0GCSqGSIb3DQEBCwUA
A4IBAQAb8CfizhBlm3EAqJ2pZjwUIZ+uE86n98nYAFfAYVZzgv partially removed by silentpliz.


Code: [Select]
-----BEGIN PRIVATE KEY-----
MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQC+Yz+KRIwXBxSK
partially removed by silentpliz.
7
Bug reports / Re: local download test make the ui non responsive
« Last post by SilentPliz on March 31, 2020, 11:25:10 AM »
 ;D ;)
8
HI,
How I use browse command line login HFS & upload or download files?
example:
win10 + cmd windows
"c:\program files\mozilla firefox\firefox" 192.168.0.103:8011\~login

I can call login page. But I can't pass user account and password to login page.

example:
win10 + cmd windows
"c:\program files\mozilla firefox\firefox" 192.168.0.103:8011\~login@user:password

It's not work. Does hfs support such a login method?
Hi, welcome... :)

To make use of "HTTP Basic Auth" (the authentication method that HFS uses) from command line, you could simply use (only if you need to download, but not upload files):

Code: [Select]
"C:\Program Files\Mozilla Firefox\firefox.exe" -url "http://user:pass@127.0.0.1:80/protected-folder/protected-file.jpg"
But if you need to upload a file (in a password protected folder) this is much more complex (and it will not work from command line by simply using Firefox). In that case you would need to do the "HTTP Basic Auth" using cURL or Wget. Search the forum and you will find working examples. ;)

Cheers,
Leo.-

PS: Mmmm, a lot of new users asking questions lately, good... ??? ;D
9
Bug reports / Re: local download test make the ui non responsive
« Last post by LeoNeeson on March 31, 2020, 09:04:24 AM »
10
HI,
How I use browse command line login HFS & upload or download files?
example:
win10 + cmd windows
"c:\program files\mozilla firefox\firefox" 192.168.0.103:8011\~login

I can call login page. But I can't pass user account and password to login page.

example:
win10 + cmd windows
"c:\program files\mozilla firefox\firefox" 192.168.0.103:8011\~login@user:password

It's not work. Does hfs support such a login method?

Pages: [1] 2 3 ... 10