gus
It appears Serv-U does not zero-pad XCRC requests as smartftp does. This shouldn't be an issue if the comparison is on an int.
Resolving host name www.example.com
Connecting to x.x.x.x Port: 21
Connected to www.example.com.com.
220 Serv-U FTP Server v6.0 for WinSock ready...
USER administrator
331 User name okay, need password.
PASS (hidden)
230 User logged in, proceed.
SYST
215 UNIX Type: L8
FEAT
211-Extension supported
CLNT
MDTM
MDTM YYYYMMDDHHMMSS[+-TZ];filename
SIZE
SITE PSWD;EXEC;SET;INDEX;ZONE;CHMOD;MSG
REST STREAM
XCRC filename;start;end
MODE Z
211 End
Detected Server Software: Serv-U 5.x/6.x
CLNT SmartFTP 1.2.988
200 Noted.
PWD
257 "/" is current directory.
SIZE 07.flac
550 /07.flac: No such file.
Compression disabled. File 'D:Temp07-.flac' matches exception '*.flac'.
TYPE I
200 Type set to I.
PASV
227 Entering Passive Mode (x,x,x,x,12,111)
Opening data connection to x.x.x.x Port: 3183
STOR 07.flac
150 Opening BINARY mode data connection for 07.flac.
26529319 bytes transferred. (18.1 KB/s) (00:23:50)
226 Transfer complete.
SIZE 07.flac
213 26529319
XCRC 07.flac
250 3EFBED4
Using CRC32 hash from server: 3efbed4
Calculated CRC32 hash of 07.flac: 03EFBED4
Transfer Integrity Check failed.
DELE 07.flac.bad
250 DELE command successful.
RNFR 07.flac
350 File or directory exists, ready for destination name
RNTO 07.flac.bad
250 RNTO command successful.
Client closed the connection.
+- System -----------------------------
Microsoft Windows XP Professional
Service Pack 2 (Build 2600)
+- SmartFTP ---------------------------
Version : 1.2.988.5
Time Stamp : 2005-06-01 04:37:52
+- Application DLL --------------------
controls.dll : 1.6.988.5
sfFTPLib.dll : 1.0.1.30
SmartHook.dll : 1.0.2.1
+- Language ---------------------------
SmartFTP.exe : 1.2.988.5
+- System DLL -------------------------
shell32.dll : 6.00.2900.2620 (xpsp_sp2_gdr.050225-1820)
shlwapi.dll : 6.00.2900.2627 (xpsp_sp2_gdr.050309-1648)
comctl32.dll : 6.0 (xpsp_sp2_rtm.040803-2158)
riched20.dll : 5.30.23.1221
schannel.dll : 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
+- Internet Explorer ------------------
Version : 6.0.2900.2180
Resolving host name www.example.com
Connecting to x.x.x.x Port: 21
Connected to www.example.com.com.
220 Serv-U FTP Server v6.0 for WinSock ready...
USER administrator
331 User name okay, need password.
PASS (hidden)
230 User logged in, proceed.
SYST
215 UNIX Type: L8
FEAT
211-Extension supported
CLNT
MDTM
MDTM YYYYMMDDHHMMSS[+-TZ];filename
SIZE
SITE PSWD;EXEC;SET;INDEX;ZONE;CHMOD;MSG
REST STREAM
XCRC filename;start;end
MODE Z
211 End
Detected Server Software: Serv-U 5.x/6.x
CLNT SmartFTP 1.2.988
200 Noted.
PWD
257 "/" is current directory.
SIZE 07.flac
550 /07.flac: No such file.
Compression disabled. File 'D:Temp07-.flac' matches exception '*.flac'.
TYPE I
200 Type set to I.
PASV
227 Entering Passive Mode (x,x,x,x,12,111)
Opening data connection to x.x.x.x Port: 3183
STOR 07.flac
150 Opening BINARY mode data connection for 07.flac.
26529319 bytes transferred. (18.1 KB/s) (00:23:50)
226 Transfer complete.
SIZE 07.flac
213 26529319
XCRC 07.flac
250 3EFBED4
Using CRC32 hash from server: 3efbed4
Calculated CRC32 hash of 07.flac: 03EFBED4
Transfer Integrity Check failed.
DELE 07.flac.bad
250 DELE command successful.
RNFR 07.flac
350 File or directory exists, ready for destination name
RNTO 07.flac.bad
250 RNTO command successful.
Client closed the connection.
+- System -----------------------------
Microsoft Windows XP Professional
Service Pack 2 (Build 2600)
+- SmartFTP ---------------------------
Version : 1.2.988.5
Time Stamp : 2005-06-01 04:37:52
+- Application DLL --------------------
controls.dll : 1.6.988.5
sfFTPLib.dll : 1.0.1.30
SmartHook.dll : 1.0.2.1
+- Language ---------------------------
SmartFTP.exe : 1.2.988.5
+- System DLL -------------------------
shell32.dll : 6.00.2900.2620 (xpsp_sp2_gdr.050225-1820)
shlwapi.dll : 6.00.2900.2627 (xpsp_sp2_gdr.050309-1648)
comctl32.dll : 6.0 (xpsp_sp2_rtm.040803-2158)
riched20.dll : 5.30.23.1221
schannel.dll : 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
+- Internet Explorer ------------------
Version : 6.0.2900.2180