Author: Stefan Aschenbrenner | Posted on: 6/16/2008 5:21:13 AM | Views : 410

Hi!

I have a problem with fileupload-component. I want to upload the file from the client on the server.
I can not use the fileupload1.SaveAs(...) methode. I have to copy the file with System.IO.File.Copy.

But I get the error (only on server) "file c:/test.txt (client) not fount". I think it is searched on the servers C:/.

I thought I could solve that with a stream.

But how to create a file (or a fileinfo - to get all proberties of the file before creating) from stream.

 

Thank you all!
...

Go to the complete details ...