File Identity Lost After Downloading With WebClient



Hello,
My application uploads files to an FTP server. Before uploading, I
calculate the hash value of each file. After downloading, the hash value is
checked.
This works fine when I'm using the FTP protocol for download as well. In
order to avoid the FTP credential overhead, I ahve tried to download via
System.Net.WebClient (WebClient.DownloadFile). This works well, and I can
open the files, but the hash value differs from the original value.
Is there anything added to the files by System.Net.WebClient? If so, any
idea how to get rid of it?
Thanks, Thomas


.



Relevant Pages

  • File Identity Lost After Download
    ... My application uploads files to an FTP server. ... calculate the hash value of each file. ... This works fine when I'm using the FTP protocol for download as well. ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • Re: File Identity Lost After Download
    ... My application uploads files to an FTP server. ... calculate the hash value of each file. ... This works fine when I'm using the FTP protocol for download as well. ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • Re: File Identity Lost After Downloading With WebClient - My Mistake
    ... My application uploads files to an FTP server. ... calculate the hash value of each file. ... This works fine when I'm using the FTP protocol for download as well. ...
    (microsoft.public.dotnet.framework.remoting)
  • RE: SBS 2003 Premium: how to allow FTP .EXE downloads
    ... Disable the problematic client XP firewall, ... click to check the "Hide All Microsoft Services" ... Is the FTP server on SBS? ... Download the file from the following URL: ...
    (microsoft.public.windows.server.sbs)
  • Re: [Full-disclosure] FIREFOX 2.0.0.5 new vulnerability
    ... way I don't have to download the updates again if someday I decide to ... I believe if it is digitally signed you could check that signature after you ... Is very common to see downloads with a hash but then the page ... Give me the signature (you already have the public key from the ...
    (Full-Disclosure)