Results 1 to 3 of 3

Thread: Uploading To Server - Question

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Jan 2001
    Location
    Florida
    Posts
    3,216

    Question Uploading To Server - Question

    I am using the following code in the html to present the user with the ability to select a file to upload to the server.

    Code:
    		<form id="Form1" encType="multipart/form-data" runat="server">
    			Select File to Upload: <input id="uploadedFile" type="file" size="20" name="uploadedFile" runat="server">
    			<p><input id="upload" type="button" value="Upload" name="upload" runat="server" OnServerClick="Upload_Click">
    			<p><asp:label id="message" runat="server"></asp:label>
    		</form>
    All is well. I was just wondering if I can programmatically select the location that the user sees when the pop up window appears? I need to show our users on the intranet a specific location on the network versus the default view of their hardrive.

  2. #2
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    I don't think that is possible because IE is actually making the necessary API calls to get that file browser to show up.

    I could be wrong though...and would love to be proved wrong in this case cause it would provide some awesome flexibility.

  3. #3

    Thread Starter
    PowerPoster
    Join Date
    Jan 2001
    Location
    Florida
    Posts
    3,216
    Know what?! It is! I just accidentally did it.

    It is manual but run the page then manually paste in a networl location in the text box and then it uses that location to open to.

    Now HOW can I programatically set it?

    Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width