Tomek
Tue Oct 26 02:21:38 CDT 2004
What class do I have to use to copy files with its content? I can not find
any suggestions in this case.
BR
Tomek
"Sahil Malik" <contactmethrumyblog@nospam.com> wrote in message
news:%23jmX8dyuEHA.3948@TK2MSFTNGP10.phx.gbl...
> You will have to use another helper class to understand the content of the
> file uploaded and decipher the width & height. ASP.NET is blind to what
it's
> uploading.
>
> - Sahil Malik
>
http://dotnetjunkies.com/weblog/sahilmalik
>
>
>
>
> "Tomek" <tniewoli@bcdplus.pl> wrote in message
> news:%23kkHUIpuEHA.2192@TK2MSFTNGP14.phx.gbl...
> > Hi
> > I have problem with uploading files from local PC into server in ASP.NET
> >
> > My code:
> > Dim myWebClient As New WebClient
> > myWebClient.UploadFile(ServerPathAndFileName, "POST",
> > LocalPathAndFileName)
> >
> > The problem is when I'm uploading images (jpg, gif). All images are
> > uploaded
> > without images atributies (like Width, Height) so Its can't be used on
web
> > form.
> > What I'm doing wrong?
> > Tomek
> >
> >
>
>