Click here to Skip to main content
15,879,095 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:

this is the above url i am sending to the webclient.downloaddata()

error:-illegal character in path

please send me the illegal character .please dont deleted the question
Are you encoding before using the link. Please encode the URL using HtmlEncode Class and then try to access.

1 solution

There's an asterisk (*) after "filename" - that might be one problem.
But also otherwise, the URL looks very bad. I see "coding.txt" twice, and "filename" twice...
Can't you send the query data with a POST request instead of a GET request - that makes things easier.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900