473,396 Members | 2,037 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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 6579
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Bob Lidgard | last post by:
Hi, I need some help. Hopefully this is trivial! I have created a special file type for my application. I can easily associate the app with the file type manually and I have even seen som code...
0
by: WalterM | last post by:
I'm setting up a script to build a C# solution, with several assemblies ( dlll's ). The script language would probably be VBScript, within a Windows Script ( .wsf ) file. The main build step is...
5
by: David Webb | last post by:
The problem started when the Working Folder for a project was somehow set to the folder of another project. I set the correct working folder in VSS and deleted the .vbproj files that had been...
145
by: Sidney Cadot | last post by:
Hi all, In a discussion with Tak-Shing Chan the question came up whether the as-if rule can cover I/O functions. Basically, he maintains it can, and I think it doesn't. Consider two...
8
by: Alpha | last post by:
Hi, I want to concatenate a string variable (containing file path and name) to a sqlcommnad text string but I'm getting error about "+" can't be used with string operand. It's very odd. What am I...
0
by: David | last post by:
I have a C# app that quits periodically with the message "No source file given". Sometimes it will only run for an hour or two. Other time it will run for days before it quits. I've searched...
4
by: lawrence k | last post by:
I've a file that starts like this: <form id="pdsForm" method="post" action="/mcControlPanel.php" class="mcForm" charset="UTF-8" enctype="multipart/form-data" > and it contains this input: ...
2
by: Dedric Starks | last post by:
Okay.. So I fixed one problem today and was told there's another. One of my users needs her "Notes" portion of her outlook restored. Now when i previously restored with a rather recent PST file, the...
3
by: Willy | last post by:
I have a website that uses querystrings on a certain page to show multiple contents. I have created mapped pages to hide the gory details of these querystrings. So instead of...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.