You are here:

C#/Upload File on server

Advertisement


Question
QUESTION: Hi,   I m working on .net mvc project.I want to upload file from local to server using interlink library.How can I make  http request with post method ,query  and input stream for http context.Please help me out asap..

  Thanks

ANSWER: Hi there,

Use WebClient or HttpClient when operating with remote hosts.

See here for webclient

See here for httpclient

For more detailed questions you can ask again anytime.

Thanks,

Murat

---------- FOLLOW-UP ----------

QUESTION: Hi,  Thanks for reply murat but i want to use query command handler for upload file on server.I m using hsslink lib but i m getting error i just want to upload file on server using http context..


Thanks

Answer
Hi back,

I have no idea about hsslink lib. I do not understand what you are really trying to do.

Your problem is on client side or server side?

Check this link for fileupload control on asp.net.

Please provide more details.

Thanks.

C#

All Answers


Answers by Expert:


Ask Experts

Volunteer


Murat Mehmet

Expertise

I can help with questions about desktop and web programming in C#, including SOAP, XML, database managing, custom controls, security etc.

Experience

I have been developing web and especially desktop applications in C# and VB.Net for almost 5 years. My programming life has begun with VB6 long time ago, so its about 8 years that I am in this business.

Organizations
Was in R & D for 2 years in a popular Turkish technology website: cyber-warrior.com

Education/Credentials
2011 Computer Engineering graduation in University of Trakia in Turkey.

©2016 About.com. All rights reserved.