Go Back   FlashFXP Forums > > > >

Bug Reports If you discover any bugs that we are not aware of, please post it here so it may be corrected.

Reply
 
Thread Tools Rate Thread Display Modes
Old 03-12-2003, 10:11 PM   #1
crazyppl
Junior Member
ioFTPD Foundation User
 
Join Date: Mar 2003
Posts: 14
Default df.exe error

I get an error when calling df.exe for free space.

it produces a file called tmp.txt:

<?xml version="1.0" encoding="UTF-16"?>
<DATABASE>
<EXE NAME="df.exe" FILTER="GRABMI_FILTER_PRIVACY">
<MATCHING_FILE NAME="bnctest.exe" SIZE="143360" CHECKSUM="0x895D1577" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" LINK_DATE="02/21/2003 20:00:05" UPTO_LINK_DATE="02/21/2003 20:00:05" />
<MATCHING_FILE NAME="cygwin1.dll" SIZE="910152" CHECKSUM="0x4017AC34" BIN_FILE_VERSION="1003.20.0.0" BIN_PRODUCT_VERSION="1003.20.0.0" PRODUCT_VERSION="1.3.20" FILE_DESCRIPTION="Cygwin® POSIX Emulation DLL" COMPANY_NAME="Red Hat" PRODUCT_NAME="Cygwin" FILE_VERSION="1.3.20" ORIGINAL_FILENAME="cygwin1.dll" INTERNAL_NAME="cygwin1.dll" LEGAL_COPYRIGHT="Copyright © Red Hat, Inc. 1996-2002" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0xE0647" LINKER_VERSION="0x10000" UPTO_BIN_FILE_VERSION="1003.20.0.0" UPTO_BIN_PRODUCT_VERSION="1003.20.0.0" LINK_DATE="02/08/2003 17:12:08" UPTO_LINK_DATE="02/08/2003 17:12:08" VER_LANGUAGE="English (United States) [0x409]" />
<MATCHING_FILE NAME="df.exe" SIZE="45056" CHECKSUM="0x528644F6" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" LINK_DATE="02/22/2003 20:53:32" UPTO_LINK_DATE="02/22/2003 20:53:32" />
<MATCHING_FILE NAME="imdb.exe" SIZE="22440" CHECKSUM="0x376304CD" MODULE_TYPE="WIN32" PE_CHECKSUM="0xC9E8" LINKER_VERSION="0x10000" LINK_DATE="03/12/2003 03:27:03" UPTO_LINK_DATE="03/12/2003 03:27:03" />
<MATCHING_FILE NAME="ioFTPD.exe" SIZE="286720" CHECKSUM="0xD5B1A062" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" LINK_DATE="02/24/2003 15:30:25" UPTO_LINK_DATE="02/24/2003 15:30:25" />
<MATCHING_FILE NAME="ioPasswd.exe" SIZE="18944" CHECKSUM="0x622789DB" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" LINK_DATE="01/31/2003 15:36:10" UPTO_LINK_DATE="01/31/2003 15:36:10" />
<MATCHING_FILE NAME="libeay32.dll" SIZE="757760" CHECKSUM="0x4EFB43F3" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" LINK_DATE="08/19/2002 20:26:05" UPTO_LINK_DATE="08/19/2002 20:26:05" />
<MATCHING_FILE NAME="mkdir.exe" SIZE="32768" CHECKSUM="0xAF236CA1" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" LINK_DATE="06/07/2000 02:14:50" UPTO_LINK_DATE="06/07/2000 02:14:50" />
<MATCHING_FILE NAME="ssleay32.dll" SIZE="188416" CHECKSUM="0x432DC73E" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" LINK_DATE="08/19/2002 20:26:16" UPTO_LINK_DATE="08/19/2002 20:26:16" />
<MATCHING_FILE NAME="tcl84.dll" SIZE="774144" CHECKSUM="0xBF730EE5" BIN_FILE_VERSION="8.4.2.1" BIN_PRODUCT_VERSION="8.4.2.1" PRODUCT_VERSION="8.4.1" FILE_DESCRIPTION="Tcl DLL" COMPANY_NAME="ActiveState Corporation" PRODUCT_NAME="Tcl 8.4 for Windows" FILE_VERSION="8.4.1" ORIGINAL_FILENAME="tcl84.dll" LEGAL_COPYRIGHT="Copyright © 2001 by ActiveState Corporation, et al" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0xC87E3" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="8.4.2.1" UPTO_BIN_PRODUCT_VERSION="8.4.2.1" LINK_DATE="11/06/2002 22:53:27" UPTO_LINK_DATE="11/06/2002 22:53:27" VER_LANGUAGE="English (United States) [0x409]" />
<MATCHING_FILE NAME="unzip.exe" SIZE="92672" CHECKSUM="0x9053E183" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x10000" LINK_DATE="05/12/2002 22:21:53" UPTO_LINK_DATE="05/12/2002 22:21:53" />
<MATCHING_FILE NAME="zip.exe" SIZE="59392" CHECKSUM="0xFDC52460" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x10000" LINK_DATE="05/12/2002 21:12:44" UPTO_LINK_DATE="05/12/2002 21:12:44" />
<MATCHING_FILE NAME="zipscript-c.exe" SIZE="74514" CHECKSUM="0x4915DAA9" MODULE_TYPE="WIN32" PE_CHECKSUM="0x1DA64" LINKER_VERSION="0x10000" LINK_DATE="03/12/2003 03:27:00" UPTO_LINK_DATE="03/12/2003 03:27:00" />
</EXE>
<EXE NAME="kernel32.dll" FILTER="GRABMI_FILTER_THISFILEONLY">
<MATCHING_FILE NAME="kernel32.dll" SIZE="930304" CHECKSUM="0xCBCCF8A9" BIN_FILE_VERSION="5.1.2600.1106" BIN_PRODUCT_VERSION="5.1.2600.1106" PRODUCT_VERSION="5.1.2600.1106" FILE_DESCRIPTION="Windows NT BASE API Client DLL" COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Microsoft® Windows® Operating System" FILE_VERSION="5.1.2600.1106 (xpsp1.020828-1920)" ORIGINAL_FILENAME="kernel32" INTERNAL_NAME="kernel32" LEGAL_COPYRIGHT="© Microsoft Corporation. All rights reserved." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0xE7ED3" LINKER_VERSION="0x50001" UPTO_BIN_FILE_VERSION="5.1.2600.1106" UPTO_BIN_PRODUCT_VERSION="5.1.2600.1106" LINK_DATE="08/29/2002 10:40:40" UPTO_LINK_DATE="08/29/2002 10:40:40" VER_LANGUAGE="English (United States) [0x409]" />
</EXE>
</DATABASE>

and gives this error:

AppName: df.exe AppVer: 0.0.0.0 ModName: df.exe
ModVer: 0.0.0.0 Offset: 000013fe

I'm running XP sp1, ioftpd 4.5.4, and dzsBot v0.0.82 along with ioA v0.7.0 and zipscript-c. Any suggestions?
crazyppl is offline   Reply With Quote
Old 03-13-2003, 05:43 AM   #2
bounty
Senior Member
ioFTPD Scripter
 
Join Date: Aug 2002
Posts: 529
Default

try to use the latest version 1.3

that one is not cygwin dependent
bounty is offline   Reply With Quote
Old 03-13-2003, 06:24 AM   #3
caladan
Senior Member
ioFTPD Scripter
 
Join Date: Jan 2003
Posts: 179
Default

b0unty this was not the cygwin dependend exe .. this was the new win32 df.exe
caladan is offline   Reply With Quote
Old 03-13-2003, 08:35 AM   #4
bounty
Senior Member
ioFTPD Scripter
 
Join Date: Aug 2002
Posts: 529
Default

hmmm strange msg

you should talk with stardog then maybe he can help with this error
bounty is offline   Reply With Quote
Old 03-13-2003, 08:45 PM   #5
crazyppl
Junior Member
ioFTPD Foundation User
 
Join Date: Mar 2003
Posts: 14
Default

if it helps, when run from the command line, this is what i get:

C:\ioFTPD\system>df

Win32 DF 1.3 - (c) Tom Grandgent - 9/6/99 - based on DF 1.7 by Kai Uwe Rommel

% free free used total cluster fs type label
-- ------ ------------ ------------ ------------ ------- ----- ------ ---------

and then it crashes
crazyppl is offline   Reply With Quote
Old 03-14-2003, 04:08 AM   #6
bounty
Senior Member
ioFTPD Scripter
 
Join Date: Aug 2002
Posts: 529
Default

i really dunno why it do this on your computer

here is the source of df.exe

if someone can track bugs & fix them it will be really cool

thx in advance
bounty
bounty is offline   Reply With Quote
Old 03-14-2003, 05:09 AM   #7
FTPServerTools
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 543
Default

1: use GetLogicalDrives and change the for loop that runs through the drive letters.
for example:
bitmask=0x0003;
driveletter='C';
drivesavailable=GetLogicalDrives();
for (;{
if (drivesavailable & bitmask){
...
}
driveletter++;
if (driveletter=='Z') break;
bitmask=bitmask<<1;
}


is anyone interested in the cluster size?
GetVolumeInformation(dir,volume_name,255,....

But technically it looks ok. It should compile using ms visual C 6 (or 7).
FTPServerTools is offline   Reply With Quote
Old 03-14-2003, 06:09 AM   #8
bounty
Senior Member
ioFTPD Scripter
 
Join Date: Aug 2002
Posts: 529
Thumbs up

thx ramram

would be nice if you can also compil the fix and post it in this thread

big thx
bounty
bounty is offline   Reply With Quote
Old 03-14-2003, 09:32 PM   #9
terencehe
Junior Member
 
Join Date: Mar 2003
Posts: 22
Default

#define DRIVE_UNKNOWN 0
#define DRIVE_NO_ROOT_DIR 1
#define DRIVE_REMOVABLE 2
#define DRIVE_FIXED 3
#define DRIVE_REMOTE 4
#define DRIVE_CDROM 5
#define DRIVE_RAMDISK 6


i have a drive mounted to c:\dvd directory,buf the df can't find it.
terencehe is offline   Reply With Quote
Old 03-16-2003, 09:51 AM   #10
crazyppl
Junior Member
ioFTPD Foundation User
 
Join Date: Mar 2003
Posts: 14
Default

could it be that the DVD drive is drive d, and the other two HDDs are F and G?
crazyppl is offline   Reply With Quote
Old 03-16-2003, 07:34 PM   #11
FTPServerTools
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 543
Default

That a drive that is mounted into a certain dir isnt found is logical. It isnt in the source code. The sources only work at drive level.
FTPServerTools is offline   Reply With Quote
Old 03-16-2003, 09:39 PM   #12
crazyppl
Junior Member
ioFTPD Foundation User
 
Join Date: Mar 2003
Posts: 14
Default

i should rephrase, it doesn't even get to the C drive, it crashes before checking that
crazyppl is offline   Reply With Quote
Old 03-17-2003, 10:41 AM   #13
FTPServerTools
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 543
Default

Ok I fiddled a bit with the code. It isnt super optimized but the exe is smaller and the sourcecode is somewhat smaller. Also this one should work I think. Just a few minor changes and also some places where a bug could occur are removed.

O yes the exe has been drastically reduced in size, there is no sense in having an exe of 49K for such a simple proggy. Since it runs under windows I assumed msvcrt.dll was available (as it should).
FTPServerTools is offline   Reply With Quote
Old 03-17-2003, 12:23 PM   #14
bounty
Senior Member
ioFTPD Scripter
 
Join Date: Aug 2002
Posts: 529
Smile

thx ramram for the new compil

can i add the new df.exe in my next rls of dZSbot please ??

have fun
bounty
bounty is offline   Reply With Quote
Old 03-17-2003, 03:23 PM   #15
FTPServerTools
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 543
Default

Of course you can. The source codes are there. The point is that it hopefull works for the ppl where the other version didnt work for.
Do mention that it runs in a console window and it uses msvcrt.dll (which is almost certainly loaded in memory anyways). If needed you can easily remove the multithreaded dll reference (and get a bigger exe yeuch) and compile it with the normal libs.
FTPServerTools is offline   Reply With Quote
Reply

Tags
0.0.0.0, df.exe, error, running, sp1

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Uploading to several servers alftore General Discussion 6 05-25-2005 08:33 AM


All times are GMT -5. The time now is 02:09 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)