5
Answers

to Save a file from client to server without using file upload control in web application

krishna shivarla

krishna shivarla

16y
6.2k
1

Hi All,

 

            here i want to save a file to remote server where my file will be in client system...here i don't want to use file uploader control.........In my application we have one function which will save word document to client systems temperory folder and that document again I want to save to server using my application coding whenever it save file to temperory folder.........

 Merry Christmas.............to You All...........

Krishna.

Answers (5)
0
Bechir Bejaoui
NA 20.1k 5.3m 16y
The problem is when you open the file and leave it for other tasks you leave it in an open state so that you can't reuse it later, be sure to close it after each operation
you can try to use a StreamWriter object to write your content, it will append contents without getting this error.
Take a look on this

http://www.velocityreviews.com/forums/t294100-the-process-cannot-access-the-file-quotquot-because-it-is-being-used-by-another-process.html

they have the same problem as you





0
krishna shivarla
NA 9 14.9k 16y
Yes , I got that error.................
0
Bechir Bejaoui
NA 20.1k 5.3m 16y

Did you recieved the error

The process Can not access the file because it is being used by another
process
0
krishna shivarla
NA 9 14.9k 16y

In my application I am usin dsoframer activex control..........using that dsoframer activex control I am opening my word document from server ........when i try to save that file it is giving error........so i save my file to client system folder.......so that now i need to save that file to server agian which is actually has to saved to server....................that is the reason i want to save the client system fule to server without the help of fileuploader or any UI component........instead of that I want to save the file which i saved in particular client folder..........please help me out in this with some sample code.............. 

0
Bechir Bejaoui
NA 20.1k 5.3m 16y

Cloud you please explain the situation it is a little unclair