I'm trying the Upload control, and debugging on my local machine.
If I select a file such as "Z:\foo.gif" and upload it, when the upload button is clicked I see it in the array of the UploadedFiles property.
However, even though I've set the TargetPhysicalFolder in Page_Load to be another folder, the FileName property of the uploaded file is still in Z:\foo.gif
While this might work locally, obviously once deployed to a remote server the local filesystem path of where the user picked the image from won't do my much good. Is the Upload control doing some kind of shortcut because it knows the client is on the same machine as the server, or is something wrong?
If I select a file such as "Z:\foo.gif" and upload it, when the upload button is clicked I see it in the array of the UploadedFiles property.
However, even though I've set the TargetPhysicalFolder in Page_Load to be another folder, the FileName property of the uploaded file is still in Z:\foo.gif
While this might work locally, obviously once deployed to a remote server the local filesystem path of where the user picked the image from won't do my much good. Is the Upload control doing some kind of shortcut because it knows the client is on the same machine as the server, or is something wrong?