Overclock.net › Forums › Software, Programming and Coding › Networking & Security › Windows 7 Network File Transfer - Verification?
New Posts  All Forums:Forum Nav:

Windows 7 Network File Transfer - Verification?

post #1 of 3
Thread Starter 
When you transfer files between two Windows 7 PCs, does it verify the copy in any way?
post #2 of 3
Quote:
Originally Posted by Oubadah View Post

When you transfer files between two Windows 7 PCs, does it verify the copy in any way?

The SMB protocol can take care of this. smile.gif To some extent anyway...I know the CIFS spec has a write validation flag, but only if the client sets the bits.
http://tools.ietf.org/html/draft-leach-cifs-v1-spec-01#section-4.2.12
Code:

 Client Request                     Description
 ================================== =================================

 UCHAR WordCount;                   Count of parameter words = 3
 USHORT Tid2;                       Second (target) path TID
 USHORT OpenFunction;               What to do if target file exists
 USHORT Flags;                      Flags to control copy operation:
                                     bit 0 - target must be a file
                                     bit 1 - target must be a dir.
                                     bit 2 - copy target mode:
                                     0 = binary, 1 = ASCII
                                     bit 3 - copy source mode:
                                     0 = binary, 1 = ASCII
                                     bit 4 - verify all writes <--------------
                                     bit 5 - tree copy
 USHORT ByteCount;                  Count of data bytes;    min = 2
 UCHAR SourceFileNameFormat;        0x04
 STRING SourceFileName;             Pathname of source file
 UCHAR TargetFileNameFormat;        0x04
 STRING TargetFileName;             Pathname of target file

Does Windows 7 set the flag? I highly doubt it...I guess you'd have to sniff the packet!
Code:
Flags |= 1 << 4;

Edited by tompsonn - 7/29/12 at 7:32pm
My System
(30 items)
 
"Zeus"
(13 items)
 
 
CPUMotherboardGraphicsRAM
Intel Core i5 2500K (4.5ghz @ 1.320v) Gigabyte Z68X-UD3R-B3 MSI R7970 Lightning Corsair 16GB (4x4GB) 
Hard DriveHard DriveHard DriveHard Drive
Plextor PX-256M5S 256GB Crucial M4 128GB Hitachi HDS721010CLA332 Hitachi HDS723020BLA642 
Hard DriveHard DriveHard DriveOptical Drive
Hitachi HDS723020BLA642 Hitachi HUA722010CLA330 WDC WD10EARS-00Z5B1 TSSTcorp CDDVDW SH-S223B 
CoolingCoolingOSMonitor
Phanteks PH-TC14PE with TY-140's Lamptron FCv5 (x2) Windows 7 Ultimate 64-bit Dell U2412M 
MonitorMonitorMonitorKeyboard
Dell U2412M Dell U2212HM Dell U2212HM Ducky DK9087 G2 Pro 
PowerCaseMouseMouse Pad
Corsair AX-750 Corsair Obsidian 650D Microsoft IntelliMouse Optical  XTRAC Ripper XXL 
AudioAudioAudioAudio
Westone W3 IEMs RE-272 IEMs Shure SE-215 IEMs Schiit Bifrost DAC 
AudioAudio
Schiit Asgard 2 amp HiVi Swan M50W 2.1 
CPUMotherboardGraphicsRAM
Intel Core i7 950 GA-X58-UD3R Radeon HD 5450  24GB Corsair @ 1333mhz 
Hard DriveOSPowerCase
4x WD Cavair Red 1TB in RAID 0 Windows Server 2008 R2 x64 Corsair HX-520 LianLi LanCool 
  hide details  
Reply
My System
(30 items)
 
"Zeus"
(13 items)
 
 
CPUMotherboardGraphicsRAM
Intel Core i5 2500K (4.5ghz @ 1.320v) Gigabyte Z68X-UD3R-B3 MSI R7970 Lightning Corsair 16GB (4x4GB) 
Hard DriveHard DriveHard DriveHard Drive
Plextor PX-256M5S 256GB Crucial M4 128GB Hitachi HDS721010CLA332 Hitachi HDS723020BLA642 
Hard DriveHard DriveHard DriveOptical Drive
Hitachi HDS723020BLA642 Hitachi HUA722010CLA330 WDC WD10EARS-00Z5B1 TSSTcorp CDDVDW SH-S223B 
CoolingCoolingOSMonitor
Phanteks PH-TC14PE with TY-140's Lamptron FCv5 (x2) Windows 7 Ultimate 64-bit Dell U2412M 
MonitorMonitorMonitorKeyboard
Dell U2412M Dell U2212HM Dell U2212HM Ducky DK9087 G2 Pro 
PowerCaseMouseMouse Pad
Corsair AX-750 Corsair Obsidian 650D Microsoft IntelliMouse Optical  XTRAC Ripper XXL 
AudioAudioAudioAudio
Westone W3 IEMs RE-272 IEMs Shure SE-215 IEMs Schiit Bifrost DAC 
AudioAudio
Schiit Asgard 2 amp HiVi Swan M50W 2.1 
CPUMotherboardGraphicsRAM
Intel Core i7 950 GA-X58-UD3R Radeon HD 5450  24GB Corsair @ 1333mhz 
Hard DriveOSPowerCase
4x WD Cavair Red 1TB in RAID 0 Windows Server 2008 R2 x64 Corsair HX-520 LianLi LanCool 
  hide details  
Reply
post #3 of 3
Windows doesn't do any MD5 hash checks but I believe it does do a CRC32 check or some protocol like that
Live Free or Die
(14 items)
 
 
CPUMotherboardGraphicsRAM
Intel Core i7 970 Asus Rampage 3 Extreme 3x MSI GTX 680 4gb 12gb GSkill Trident 2000mhz 
Hard DriveOptical DriveCoolingOS
Sandisk Extreme 128gb SSD (Boot), 6tb+ Storage ... LG Blu-Ray Burner Raystorm CPU Block > MD5 w/ EK Top > Swiftech M... Windows 7 Ultimate | Ubuntu Dual Boot 
MonitorKeyboardPowerCase
3x 23'' VG236H ASUS in 3D Surround + 42'' LCD TV Logitech G510 Coolermaster 1200w Gold+ LIAN LI PC-T60B Black 
MouseAudio
Corsair Vengeance M60 Beats Pro by Dre 
  hide details  
Reply
Live Free or Die
(14 items)
 
 
CPUMotherboardGraphicsRAM
Intel Core i7 970 Asus Rampage 3 Extreme 3x MSI GTX 680 4gb 12gb GSkill Trident 2000mhz 
Hard DriveOptical DriveCoolingOS
Sandisk Extreme 128gb SSD (Boot), 6tb+ Storage ... LG Blu-Ray Burner Raystorm CPU Block > MD5 w/ EK Top > Swiftech M... Windows 7 Ultimate | Ubuntu Dual Boot 
MonitorKeyboardPowerCase
3x 23'' VG236H ASUS in 3D Surround + 42'' LCD TV Logitech G510 Coolermaster 1200w Gold+ LIAN LI PC-T60B Black 
MouseAudio
Corsair Vengeance M60 Beats Pro by Dre 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Networking & Security
Overclock.net › Forums › Software, Programming and Coding › Networking & Security › Windows 7 Network File Transfer - Verification?