Greetings,
I am a newbie in web development and I am working on a website backend using ASP.NET, Bootstrap, and jQuery and I need to upload files, simply photos, that will be used to be displayed on the frontend banners. I already used the HTML5 file API to read the files from the local system what I need right now is to know how can I send those read files to the server?! Do I have to implement some sort of ASP.NET Web API, as I am using ASP.NET already, that will be responsible for doing the storing functionality. If that is the case do I have to know the server IP address and port number to specifiy them when calling post method http://server-ip:port/myapi/mycontroller or I can simply use something like ./myapi/mycontroller ?!!!
Amr.Mohammad87
6
Light Poster
Recommended Answers
Jump to PostIn asp.net there is the FileUpload control that is preaty easy to use and can do excaclty what you need.
You can find more info here:
https://msdn.microsoft.com/en-us/library/aa479405.aspx
All 4 Replies
tdrosiadis
0
Light Poster
AleMonteiro
238
Can I pick my title?
Amr.Mohammad87
6
Light Poster
AleMonteiro
238
Can I pick my title?
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.