4

I have a web application in a farm with a web server and a file server. One of the primary features of our web app is the storage of files.

I need to find a way to have a user connect to the website, select the file(s) to upload to the server, and the files are uploaded directly to the file server, not the web server.

Is this possible?

pearcewg
  • 9,545
  • 21
  • 79
  • 125
  • Thanks for the comments, but I came to the conclusion that what I want is not totally possible. I ended up changing my architecture, and each remote file server has local upload capability. Perhaps in the future there will be a better way... – pearcewg Jun 08 '11 at 12:18

2 Answers2

2

This may help you. Uploading files to file server using webclient class

Community
  • 1
  • 1
Amit
  • 21,570
  • 27
  • 74
  • 94
  • That is interesting and helpful, and may end up being my solution. Unfortunately, I'm really trying to find a solution which bypasses uploading to the web server and then copying to the fileserver, because it is 2x the traffic...but a upload and then copy system might be the only solution. – pearcewg Jun 01 '11 at 13:02
0

I think you should use the absolute path ,for more details about this issue check the following link:

How to upload a file outside the web server.

Community
  • 1
  • 1
Anyname Donotcare
  • 11,113
  • 66
  • 219
  • 392