rejetto forum

Software => HFS ~ HTTP File Server => Bug reports => Topic started by: o6619 on March 11, 2016, 06:46:36 AM

Title: Zero filesize and Unauthorized
Post by: o6619 on March 11, 2016, 06:46:36 AM
Hi!
I try to get some files from HFS(no user, no password). If filesize =0, I get in IExplorer  (and in some other apllication, used ICS - Internet Component Suite  )
Unauthorized
Either your user name and password do not match, or you are not permitted to access this resource.

But in Chrome|Firefox I get file with zero size.

My problem: I need use ICS-Application.

Title: Re: Zero filesize and Unauthorized
Post by: bmartino1 on March 11, 2016, 05:35:16 PM
the fact that it works on chrome and Firefox, tells me it either Internet explore or the program you are using for ICs
???http://download.cnet.com/ICS-Internet-Component-Suite/3000-2229_4-10151090.html

why doe the file have to be empty?, that alone tell me that there will be problem with Internet explorer.

try adding a text doc with a lin in it and run the test again. I belvie it is an issue with the 0 file size.
Title: Re: Zero filesize and Unauthorized
Post by: LeoNeeson on March 13, 2016, 10:25:46 AM
I dont know exactly WHY, but it seems the user expects IE an ICS to retrieve a zero size file correctly, like Firefox and Chrome does. According what the user says, the problem is IE/ICS interpret this zero file, like an 'Unauthorized resource'. I don't know if this is really a HFS problem, or if HFS may do something about this. It seems this is the way IE/ICS works, and there is nothing HFS can do to change this (correct me, if I'm wrong).
Title: Re: Zero filesize and Unauthorized
Post by: rejetto on March 13, 2016, 01:24:42 PM
i tried IE11 and it downloaded the zero file correctly, so i guess it's a browser problem they fixed.
You should consider asking the maker of the app to fix the problem.
An experiment you could make is to try a different server, and see if it behaves good.
Title: Re: Zero filesize and Unauthorized
Post by: MarkV on March 18, 2016, 10:27:09 AM
Little Addendum: Seeing a zero-Byte sized file in Explorer does not necessarily mean that the file doesn't have any contents or meaning.

1. Might be write-opened by any process. File size information might not be updated immediately.
2. The file's main data stream might be empty, indeed, but further data can also hide in Alternate Data Streams.
3. It may encode information through its attributes like timestamp or size, also its mere presence might be a switch (flagfile).

Just something to consider.
Title: Re: Zero filesize and Unauthorized
Post by: Fysack on September 30, 2017, 11:25:39 PM
Marky mark, you god damn porn mean mofo