Webclient.upload file code project
Forgot your password? Ask a Question. Webclient uploadfile problem. Please Sign up or sign in to vote. See more: C. Here is what I've tried C. Copy Code. Posted Feb am pkfox. Add a Solution. Kornfeld Eliyahu Peter Feb am. What have to be 30 letters? The question and what have you tried I didn't got it how 30 connected to all your code Do you have a HTTP request log there? Maybe there is an error in it? Why do you complicate things with that DownloadFile.
Uploads the specified string to the specified resource. UploadString String, String. Uploads the specified string to the specified resource, using the POST method. Note This member outputs trace information when you enable network tracing in your application. Applies to. UploadString Uri, String. UploadString String, String, String. Uploads the specified string to the specified resource, using the specified method.
UploadString Uri, String, String. Learn more. Ask Question. Asked 11 years, 7 months ago. Active 11 years, 7 months ago. Viewed 17k times. Improve this question. SuitUp SuitUp 3, 5 5 gold badges 25 25 silver badges 41 41 bronze badges. Add a comment. Active Oldest Votes. Improve this answer. Community Bot 1 1 1 silver badge.
Justin Grant Justin Grant Oh no! Using the webclient object you can upload your file to a PHP file in the server. Now you can access the file from the PHP file.
In the below example I create a folder in the server machine and move the file into the folder. Also, you can download data from a PHP server and display it in a C web browser by using the following code. Sign in Email. Forgot your password? Search within: Articles Quick Answers Messages.
Tagged as C. Stats 35K views. Upload a file using C as client to a PHP server.
0コメント