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

  • Thread starter Thread starter Darrel
  • Start date Start date
D

Darrel

(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
 
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
 
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
 
Back
Top