rejetto forum
Software => HFS ~ HTTP File Server => Topic started by: Hunter on October 28, 2003, 11:24:19 PM
-
I recently downloaded HFS ... and I ran it ... the mouse icon changes for a second, and then nothing. I open 'Windows Task Manager' and can see the process running ... but I cannot find the GUI side of HFS. I am running Windows 2000 SP4 with all the updates, I am also running IIS 5.0 (Port 80) and Abyss Web Server (Port 10101 and 10102). Any help would be apreciated.
Thanks,
-Hunter-
-
HFS has been tested on several W2K SP4 systems
does it open a TCP port for listening?
try running it while SHIFT is pressed: this has two effects
1) it does not try to put ON the the server
2) it does not load any saved configuration
-
I tried holding the Shift key down, that did not work either. I think it may be my Win2K box ... I am going to try it on my 2K Server and XP box tonight.
-
i find that the gui will not start
if in hfs.ini the ip address is invalid ... for example:
ip=65.1.2.3
this often happens because i don't have a static ip address
i am using a router so my computer does have a fixed local ip address
windows task manager shows hfs.exe is running
it is listening on port 80 (kerio)
i can fix this by editing the ini file
and setting the ip address to
ip=
i've read the faqs and help file
i don't know if this is a bug or not
it might be better if the program will start
even if the ip is invalid
-
i find that the gui will not start
if in hfs.ini the ip address is invalid ... for example:
ip=65.1.2.3 ...
I tried to put this IP in the "Menu->Ip address-> custom IP" and it was Ok.
I'm using version 1.5e/Win98SE . May be win98 did it...
-
it appears to be a bug
however, HFS does not use the address saved, but only the most similar.
i use it with dynamic ip address regularly, this seems to cause no problem.
can you post all your network interfaces?
just run "ipconfig /all > C:\list.txt" to get the list
-
i have a problem similar to HUNTER
the gui does not start
hfs.exe is running and listening on port 80
this does not happen with older versions of hfs
only D and E
at least the one dated Saturday, October 04, 2003, 7:19:00 PM
works ok ... using the exact same hfs.ini file that fails with version D and E
it doesn't matter much to me
i can work around this problem
but maybe this information might be useful to you
i have been experimenting with ver E
it starts ok from win ME
using the same hfs.ini file
i have found that it will not start properly if
ip= and custom-ip=
are both set to the same external address
it will start ok if they are set to different external addresses
or if both are set to null
or if both are set to the same internal address
the adresses can be valid addresses or not
for example, these are ok:
both valid (address of my machine)
ip=192.168.0.169
custom-ip=192.168.0.169
both invalid (nothing set to this)
ip=192.168.0.168
custom-ip=192.168.0.168
not valid ips, but different
ip=65.1.2.3
custom-ip=65.1.2.4
it does NOT open properly for these:
both the same invalid address
ip=65.1.2.3
custom-ip=65.1.2.3
both the same valid address (yahoo.com)
ip=66.218.71.198
custom-ip=66.218.71.198
it also will not work if both ips
are set to my correct external ip
but if either one is set to a different number
it will work ok
for example:
if my external ip is 65.1.2.3
then this will not work
ip=65.1.2.3
custom-ip=65.1.2.3
but this will work
ip=65.1.2.3
custom-ip=65.1.2.4
and this will work
ip=65.1.2.4
custom-ip=65.1.2.3
i used to have it set to automatically save the settings
i used to set the custom ip address to my external ip
so i could just right click a file in the browse window
and paste it into an instant message window
and the other person could just click the address to download the file
very useful ... very convenient
but doing that sets the ip= and custom-ip= to the same address
-----
so
hfs ver D and E will not start properly
if ip= and custom-ip=
are both set to the same external ip address
but it works ok from win me
and older versions work ok too
the reason i suspect it is some sort of bug
is that the older versions of hfs work ok
local network and internet seems to work ok
hfs works well to copy files from one local computer to another
i have the xp firewall disabled
i use kerio 2.1.5
i tried it with the firewall shut down ... no difference
-----
i used to connect directly using the win xp pppoe connection
i used the xp network wizard to setup the router connection
then after, i deleted the pppoe connection
i have just changed a few things
like disabling netbios
it didn't make any difference to the problem
this is from ipconfig (xp) ...
(not my real host name or mac)
Windows IP Configuration
Host Name . . . . . . . . . . . . : XYZ
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Broadcast
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : PCI 10/100 Fast Ethernet Adapter(983)
Physical Address. . . . . . . . . : xx-xx-xx-xx-xx-xx
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.0.169
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.1
DHCP Server . . . . . . . . . . . : 192.168.0.1
DNS Servers . . . . . . . . . . . : 198.235.216.111
209.226.175.223
NetBIOS over Tcpip. . . . . . . . : Disabled
Lease Obtained. . . . . . . . . . : Saturday, November 01, 2003 10:12:39 PM
Lease Expires . . . . . . . . . . : Saturday, November 08, 2003 10:12:39 PM
-
i analyzed all differences between 1.5c and 1.5d and found nothing interesting
it seems it will be hard to fix this bug :(
we can proceed in at least 2 ways
1) you try to fix the bug yourself ;)
is anyone of you able to deal with delphi6 ?
2) i can build a series of HFS builds from 1.5c to 1.5d
let's say 1.5c1 1.5c2 1.5c3 ...
you test them all and tell me from what version it stops working
-
> 2) i can build a series of HFS builds from 1.5c to 1.5d
> let's say 1.5c1 1.5c2 1.5c3 ...
> you test them all and tell me from what version it stops working
i can test builds if you like
what seems to happen is
it will not start using a wan address
(even the correct wan address)
it will start using a lan address
(even an invalid one ... it will find the correct one
but if a custom address is setup ... it won't search)
it does not seem to matter
if search-better-ip=yes
or search-better-ip=no
ver 1.5 works ok
it will start using a wan ip
if ip=a_wan_ip
and custom-ip=the_same_wan_ip
it will not search for a better ip
and will start using that ip
which won't work if it is a wan ip
ver 1.5 starts using any ip
you can't connect to download of course
unless it is your correct lan or wan ip
but it will start
ver D and E works ok from win me
but not from xp
i think C worked ok
but i'm not sure ... i don't seem to have a copy of C anymore
1.5 doesn't seem to have this problem
maybe my network is misconfigured
my network and internet seem to work ok though
the bug is easy to work around
(don't start using a custom wan address)
[it won't find wan addresses ... only my lan address]
the problem doesn't bother me
but something seems to be not working right
-
This bug also happens to me when the "AV Bug" occurs in 1.5e.
The GUI won't load if it couldn't find the VFS that is previously opened.
-
yes, i want to fix this bug, but i'm not always connected in broadband
i will have to prepare all the builds and then upload there at the right moment
-
I wonder if the builds will also fix the AV bug in 1.5e :P
-
think C worked ok
but i'm not sure ... i don't seem to have a copy of C anymore
www.uniroma1.com/rejetto/temp/hfs.exe
this is a 1.5c compiled
please test it, i need to know in which version the bug has been introduced
-
this is a 1.5c compiled
please test it, i need to know in which version the bug has been introduced
yes, C starts ok
D and E do not
[/quote]
-
that is interesting
and weird too
-
weird ... yes
working with version E
i ran a debug trace
it gets to procedure TmainFrm.FormCreate
it starts initVFS();
it does not get to updateUrlBox();
in initVFS();
it freezes when it starts addFile(f);
in addFile(f); it freezes when it starts FindClose(sr);
it does not get to "if not recursing then"
the weird thing is
if you put a showmessage intruction just before addFile(f);
like this:
include(f.flags, _root);
showmessage('initVFS ... addFile') ; // #####
addFile(f);
VFSmodified:=FALSE;
end; // initVFS
as soon as you click OK ... the gui starts
even if fromIP = customIP
without the showmessage, if fromIP = customIP the gui won't start
the gui starts properly showing the custom ip in the address box
it seems to get stuck in function Tmainfrm.addFile
it freezes the first time it hits the FindClose(sr); instruction
normally it will execute that instruction 4 or 5 times then the gui will start
why fromIP = customIP causes this i don't know
the gui starts ok if fromIP <> customIP
-
also
search-better-ip in the ini seems to have no effect
in procedure findSimilarIP i changed
if fromIP = customIP then
to
if searchBetterIP and (fromIP = customIP) then
and now the gui will start whatever custom-ip is set to
when search-better-ip=no
it finds and displays my local address
this may not be what you intended though
also
i like the log font set to verdana 8
it might be too large on some machines
-
i see a possible problem
in addFile() you should replace this
if f.isRealFolder() and not f._is(_autoupdate)
and (findFirst(f.fullname+'\*.*',faAnyfile, sr)=0) then
repeat
if sr.name[1]<>'.' then
addfile(Tfile.create(f.fullname+'\'+sr.name), n, FALSE, TRUE );
until findnext(sr)<>0;
FindClose(sr);
with this
if f.isRealFolder() and not f._is(_autoupdate) then
if findFirst(f.fullname+'\*.*',faAnyfile, sr) = 0 then
begin
repeat
if sr.name[1]<>'.' then
addfile(Tfile.create(f.fullname+'\'+sr.name), n, FALSE, TRUE );
until findnext(sr)<>0;
FindClose(sr);
end;
let me know if this works
-
let me know if this works
yes, gui starts ok now
-
ok, i will apply this fix in the next release
-
I have a similar problem,1.5c is stable working,but 1.5d..1.5e....cannot
work....OK!!!
-
does this work?
http://www.uniroma1.com/rejetto/temp/hfs.exe
ver: 1.5f
+ Dual mode ban list: ban/allow
+ Log menu -> "Log file"
+ File Menu -> "Hide tree"
- hang on starting
-
hfs 1.5f have fix the problem!!!!seem so stable!!!! :)