Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Drag & Drop from a Webpage

Posted on 2014-02-24
4
Medium Priority
?
275 Views
Last Modified: 2014-03-07
Looking for some help in finding a web development language that I can display a list of xml files on the file system and allow a user to drag them to a client and drop them into a Windows Form.
0
Comment
Question by:csalerno
  • 2
  • 2
4 Comments
 
LVL 25

Expert Comment

by:dgrafx
ID: 39889947
any web language will work to display the files.
ColdFusion, .Net, php, etc ...

then use jquery to drag and drop.

i'm posting a link to a demo to get you started: http://fiddle.jshell.net/BADfT/12/
it's a jquery drag and drop demo on fiddle.jshell.net
0
 

Author Comment

by:csalerno
ID: 39900816
Thank you, I will take a look.
0
 

Author Comment

by:csalerno
ID: 39900826
This will allow me to drop a file from the website file system to my Client? The example you gave appears to do the opposite? I might be missing something.
0
 
LVL 25

Accepted Solution

by:
dgrafx earned 2000 total points
ID: 39901480
you know when you have an img tag <img src="somefile.png"> you can simply drag it to your desktop or to a folder in windows explorer.
but it doesn't work that way with other file types - I don't believe.
you'd need to "download" the files.
this is based on security concerns of letting js access the local file system - I believe.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses

877 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question