File upload to a remote share not working.

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: rajesh (rajesh_at_healinx.com)
Date: 06/08/04


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



Relevant Pages

  • Re: Problem uploading image files
    ... computer as the php server. ... even worse on the remote server. ... how the php image upload process actually works and probably some other ... directory in order to "read" it into the php script. ...
    (alt.php)
  • Re: How to split while uploading
    ... LoL wrote: ... I want to upload a file from ... > specified URL to a remote server. ... > it when uploading from my home computer to a remote server. ...
    (comp.unix.shell)
  • Re: visitor upload files
    ... The settings are only available on the remote server, ... Right-click the new folder and then click Properties on the menu that ... Make sure the remaining check boxes are ... Upload permissions under the FP 2002 SE see ...
    (microsoft.public.frontpage.programming)
  • Identifying the Content-Type of a file for HttpURLConnection
    ... I am playing with HttpURLConnection to upload files to a remote server ... How can I properly set that Content-Type in an HttpURLConnection? ...
    (comp.lang.java.programmer)
  • Re: Ruby on Rails newbie question
    ... file located in the helper folder (apps/helpers) and uploaded that .rb ... file only to my remote server, ... or upload more than that 1 .rb file. ...
    (comp.lang.ruby)