Re: Creating files in a unc shared drive.

From: Paul Clement (UseAdddressAtEndofMessage_at_swspectrum.com)
Date: 08/16/05

  • Next message: Alex: "Re: Creating files in a unc shared drive."
    Date: Tue, 16 Aug 2005 10:03:19 -0500
    
    

    On Mon, 15 Aug 2005 18:53:02 -0700, Tom <tom_kardaras@adp.com.(nospam)> wrote:

    ¤ I have a web app that allowes you to upload files to a shared forlder and
    ¤ also read them off a list of uploaded files.
    ¤
    ¤ I created a shared drive on the destination server, and using a mapped
    ¤ virtual folder to the shared, I can view the files from the shared drive.
    ¤
    ¤ My problem is writing the files. We're using the html input control to
    ¤ uplaod files. We're also using System.IO.FileStream Write method to do the
    ¤ job. It works until we need to write to the shared drive.
    ¤
    ¤ I've looked at various threads and other listings, but can someone add some
    ¤ code to do this? I'm not sure how to add a credentials object to the write
    ¤ operation. I've configured my config file to impersonate.

    What level of authentication is your web application using? Are you enabling impersonation?

    Paul
    ~~~~
    Microsoft MVP (Visual Basic)


  • Next message: Alex: "Re: Creating files in a unc shared drive."

    Relevant Pages

    • writing to a unc share
      ... I have a web app that allowes you to upload files to a shared forlder and ... virtual folder to the shared, I can view the files from the shared drive. ... I've configured my config file to impersonate. ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: Strange web.config problem
      ... Of course when we need to use the other web app we have to put it's ... Like I said - strange and convoluted. ... > can not be found (these references are being referenced in the web.config ... > file in the parent directory not in my config file. ...
      (microsoft.public.dotnet.framework.aspnet.webservices)
    • Re: December EntLib and Configuration Block
      ... but when I try to do it in a web app I ... always get exceptions when I try to save the config file. ... >Hi Bryan, ...
      (microsoft.public.dotnet.distributed_apps)
    • Creating files in a unc shared drive.
      ... I have a web app that allowes you to upload files to a shared forlder and ... I've configured my config file to impersonate. ...
      (microsoft.public.dotnet.framework.aspnet.security)
    • Testing SFTP over Java based App
      ... I need some ideas to perform a test in a web app (written in Java) which ... allows to upload files over SFTP. ...
      (Pen-Test)

    Loading