Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Problem saving files.

Reply
Thread Tools

Problem saving files.

 
 
Joel Zinn
Guest
Posts: n/a
 
      07-19-2004
am having to change several websites that upload files. Our web master
has changed the replication tool and that is causing a problem. We have
been using the normal httpInputFile object. It works great, as long as you
have a direct path ("c:\temp\uploads"), but it does not work well with
virtual paths (http:\\AppName\Uploads). The problem is that the physical
folder is not under the root app path, it has to be in another physical
location to replicate properly. We can set up the virtual directory to view
the files, but the uploads return an error about URI formats not supported,
when I try in the PostedFile.SaveAs.

Anyone have any experience with a problem like this?



--
Joel Zinn
Sr IT Architect
American Electric Power


 
Reply With Quote
 
 
 
 
Rick Strahl [MVP]
Guest
Posts: n/a
 
      07-19-2004
Hi Joel,

I'm going to guess your problem is one of permissions? Are you actually
getting to the 'upload' folder?

If you end up with an external path I would use some sort of config settings
to control where that path sits. The main thing you need to worry about is
that the Web Account has rights to write the file into htis upload
directory. This means ASPNET or NETWORK SERVICE usually...

+++ Rick ---

--

Rick Strahl
West Wind Technologies
http://www.west-wind.com/
http://www.west-wind.com/weblog/
----------------------------------
Making waves on the Web


"Joel Zinn" <> wrote in message
news:...
> am having to change several websites that upload files. Our web master
> has changed the replication tool and that is causing a problem. We have
> been using the normal httpInputFile object. It works great, as long as

you
> have a direct path ("c:\temp\uploads"), but it does not work well with
> virtual paths (http:\\AppName\Uploads). The problem is that the physical
> folder is not under the root app path, it has to be in another physical
> location to replicate properly. We can set up the virtual directory to

view
> the files, but the uploads return an error about URI formats not

supported,
> when I try in the PostedFile.SaveAs.
>
> Anyone have any experience with a problem like this?
>
>
>
> --
> Joel Zinn
> Sr IT Architect
> American Electric Power
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Firefox Memory Problem viewing and saving Images (jpeg, png) goonmunster Firefox 1 02-12-2005 01:47 AM
Firefox Memory Problem viewing and saving Images (jpeg, png) goonmunster Firefox 0 02-11-2005 04:19 PM
EXCEL question saving a file saving the the first column as read only Luis Esteban Valencia ASP .Net 0 01-06-2005 07:02 PM
Saving DataTable to session vs saving a Custom object. John Kandell ASP .Net 4 12-10-2004 05:08 AM
Saving Images While Saving ASP Pages ! Lovely Angel For You ASP General 1 10-03-2003 12:03 AM



Advertisments