File upload to a remote share not working.
From: rajesh (rajesh_at_healinx.com)
Date: 06/08/04
- Next message: Ken Cox [Microsoft MVP]: "Re: This page contains both secure and non secure items."
- Previous message: Ken Cox [Microsoft MVP]: "Re: This page contains both secure and non secure items."
- Next in thread: Jared: "Re: File upload to a remote share not working."
- Reply: Jared: "Re: File upload to a remote share not working."
- Reply: Steve C. Orr [MVP, MCSD]: "Re: File upload to a remote share not working."
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 7 Jun 2004 18:28:39 -0700
I am trying to upload a file using .Net's HttpPostedFile.SaveAs() to a share
on a remote server. It works fine when the share is on the same server. I
looked at the permissions on the share and they all seem to be set properly.
These permission setting are the same as what was used when we were
uploading the files using the old asp code.
Given below is the stack trace
Message:
Could not find a part of the path "\\Server01\Attachments$".
Source:
mscorlib
Stack Trace:
at System.IO.__Error.WinIOError(Int32 errorCode, String str)
at System.IO.Directory.InternalCreateDirectory(String fullPath, String
path)
at System.IO.Directory.CreateDirectory(String path)
Thank you
Rajesh
- Next message: Ken Cox [Microsoft MVP]: "Re: This page contains both secure and non secure items."
- Previous message: Ken Cox [Microsoft MVP]: "Re: This page contains both secure and non secure items."
- Next in thread: Jared: "Re: File upload to a remote share not working."
- Reply: Jared: "Re: File upload to a remote share not working."
- Reply: Steve C. Orr [MVP, MCSD]: "Re: File upload to a remote share not working."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|