Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / December 2007

Tip: Looking for answers? Try searching our database.

file upload "THe Given path's format is not supported"

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Darrel - 06 Dec 2007 04:07 GMT
(I posted this previously in the wrong NG.)

I get this error when trying to run a file upload function on my client's
server.

It works fine on my local server.

I can also create a directory via my code, but not upload a file.

I'm using asp.net 1.1 and forms authentication.

The client server's folder is set up for the user ASPNET to have write
access.

Anything else I should look at? Any idea what has to happen to get this to
work?

-Darrel
PJ on Development - 06 Dec 2007 10:48 GMT
Hi,

How are you saving the file?

If you're concatenating the FileName property of the UploadFile
control remember that the FileName property contains the full path of
the user's file.

I do have a simple upload control in my site, take a look and, perhaps
it would serve you better.

Regards,

Paulo Santos
http://pjondevelopment.50webs.com

> (I posted this previously in the wrong NG.)
>
[quoted text clipped - 14 lines]
>
> -Darrel
Darrel - 06 Dec 2007 18:23 GMT
> How are you saving the file?

myimage.SaveAs(savePath & filename)

> I do have a simple upload control in my site, take a look and, perhaps
> it would serve you better.

Thanks. To clarify, however, my script works just fine. On *my* server. It's
only only on the client's server that it does not work.

-Darrel

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.