Avatar of danielolorenz
danielolorenz

asked on 

Ho Do You Upload a File From a Server Location Using the JQuery Browse File Selector?

I need to browse for an Excel file and upload it from the server location the file is stored at.  How do you map the file to the server location?  The file location is not getting correctly mapped from the server.

Dan
.NET MVCC#jQuery

Avatar of undefined
Last Comment
Julian Hansen
Avatar of Julian Hansen
Julian Hansen
Flag of South Africa image

When you say how do you map to the server location - can you be more specific?

jQuery - browser based - only files visible (through file input control) are those on the local machine.

If you want to see files on the server you need a server service to send you that information.

Uploading can happen from browser to server.

If you want to send the file from the server somewhere else again you will need a web service to do that - which you can interact with using jQuery.

A use case might help to clarify the situation.
Avatar of danielolorenz
danielolorenz

ASKER

The files are loaded from: it's from my local (My Documents) folder and I uploaded it into IT
Avatar of danielolorenz
danielolorenz

ASKER

From my local documents folder, the files are uploaded into the Test database
Avatar of danielolorenz
danielolorenz

ASKER

A use case is that I browse for an Excel file and load the file and from my desktop and then it bulk loads into the Test database.
ASKER CERTIFIED SOLUTION
Avatar of Julian Hansen
Julian Hansen
Flag of South Africa image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of danielolorenz
danielolorenz

ASKER

Thanks
Avatar of Julian Hansen
Julian Hansen
Flag of South Africa image

You are welcome.
C#
C#

C# is an object-oriented programming language created in conjunction with Microsoft’s .NET framework. Compilation is usually done into the Microsoft Intermediate Language (MSIL), which is then JIT-compiled to native code (and cached) during execution in the Common Language Runtime (CLR).

98K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo