rejetto / hfs

HFS is a web file server to run on your computer. Share folders or even a single file thanks to the virtual file system.
GNU General Public License v3.0
2.29k stars 227 forks source link

right click on local file to 'add to HFS', it shows 'Server is down'. #405

Closed Suitear closed 11 months ago

Suitear commented 11 months ago

BEFORE

To Reproduce Steps to reproduce the behavior:

  1. Have enabled the 'Integration' option. image

  2. Right click on local files, then the black shell window pops out, but also a tip 'Server is down.' image

Describe the bug

Expected behavior successfully add local files or folders to HFS.

Screenshots Try to provide videos or else screenshots to help explain your problem.

Environment (please complete the following information):

Additional context

rejetto commented 11 months ago

i couldn't reproduce the problem, it worked fine on my Windows 11.

  1. does it always do the same error, or only sometimes?
  2. did it ever work?

anyway, this can actually happen if you change your http port AFTER the system integration. It can also happen if you DON'T have http but only https (this latter case, i should be able to fix it for next release).

SanokKule commented 11 months ago

I think it's some url encoding BS. T:\file.txt adds fine T:\файл.txt will error out

Suitear commented 11 months ago

I think it's some url encoding BS. T:\file.txt adds fine T:\файл.txt will error out

Sanok is correct. My win11 Gui is Chinese. so any file with non-English names can't be added into HFS through right-clicking.

And another suggestion, the file-adding option via local disk. Cant it be done via win 10 systematic choosing option with resumption of last DIR or somthing, rather than using HFS'S own GUI for chooing files?

rejetto commented 11 months ago

thank you for your report. The bug should be fixed now: https://github.com/rejetto/hfs/releases/tag/v0.49.4

rejetto commented 11 months ago

And another suggestion, the file-adding option via local disk. Cant it be done via win 10 systematic choosing option with resumption of last DIR or somthing, rather than using HFS'S own GUI for chooing files?

are you talking about this?

image

windows system dialog cannot be used here, because when started in a browser it doesn't reveal the path of the file. It's a limitation of the browser. I can do something about remembering last folder, anyway.

rejetto commented 11 months ago

https://github.com/rejetto/hfs/releases/tag/v0.50.0-beta4

this should remember last folder