469,636 Members | 1,987 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,636 developers. It's quick & easy.

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

(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


Dec 6 '07 #1
2 6427
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

On Dec 6, 2:07 am, "Darrel" <notr...@nospam.comwrote:
(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
Dec 6 '07 #2
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
Dec 6 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by WalterM | last post: by
145 posts views Thread by Sidney Cadot | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.