Reply
drag and drop file uploading...
Old 02-03-2007, 07:18 AM drag and drop file uploading...
Average Talker

Posts: 28
Name: dinesh s
hi frnds,
i want to upload files with no buttons on the page.
just using one textbox like control, i have to upload. so, how to use drag and drop...

please help me..............
dinesh s is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 02-04-2007, 08:08 AM Re: drag and drop file uploading...
chrishirst's Avatar
Super Moderator

Posts: 13,669
Location: Blackpool. UK
use client side javascript to pass parameters to a server side script (AJAX)

Google is a good friend
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 02-05-2007, 12:10 AM Re: drag and drop file uploading...
ForrestCroce's Avatar
Half Man, Half Amazing

Posts: 3,024
Name: Forrest Croce
Location: Seattle, WA
The main problem is when you drag a file on the browser, it's going to try to display or launch that file. ( Try it, with a jpeg. ) Most of the sites I've seen this on get around the problem by using an ActiveX control hosted in the browser, that hooks into the Windows drag and drop events.

Or you can probably use javascript to prevent the user to leave the page, although I'm not sure how you'd do this, or distinguish between a file drop and a regular navigation?
ForrestCroce is offline
Reply With Quote
View Public Profile Visit ForrestCroce's homepage!
 
Old 02-05-2007, 12:37 AM Re: drag and drop file uploading...
saadatshah's Avatar
Extreme Talker

Posts: 216
Name: Syed Saadat Ali
Location: Lahore, Pakistan
In which technology you want to accompolish this task?
__________________
Traffic School - Driver Ed - Defensive Driving - Texas Defensive Driving - Online Traffic School - Defensive Driving Course
If you have knowledge, let others light their candles in it.
saadatshah is offline
Reply With Quote
View Public Profile Visit saadatshah's homepage!
 
Old 02-05-2007, 02:11 AM Re: drag and drop file uploading...
Average Talker

Posts: 28
Name: dinesh s
hi saadatshah
i want to do it in asp.net
dinesh s is offline
Reply With Quote
View Public Profile
 
Old 02-05-2007, 03:17 AM Re: drag and drop file uploading...
saadatshah's Avatar
Extreme Talker

Posts: 216
Name: Syed Saadat Ali
Location: Lahore, Pakistan
It would be a research oriented work. You can do this if you are an expert in .NET. Otherwise you can purchase any of these components.

http://fileup.softartisans.com/fileup-125.aspx
http://ajaxian.com/archives/swfuploa...oad-experience
__________________
Traffic School - Driver Ed - Defensive Driving - Texas Defensive Driving - Online Traffic School - Defensive Driving Course
If you have knowledge, let others light their candles in it.
saadatshah is offline
Reply With Quote
View Public Profile Visit saadatshah's homepage!
 
Old 02-05-2007, 05:03 AM Re: drag and drop file uploading...
Average Talker

Posts: 28
Name: dinesh s
anyone help ma please...........
dinesh s is offline
Reply With Quote
View Public Profile
 
Old 02-05-2007, 08:25 AM Re: drag and drop file uploading...
willcode4beer's Avatar
Webmaster Talker

Posts: 695
Name: Paul Davis
Location: San Francisco
Browser security is preventing what you are trying to do but, I'm going to throw out an absurd idea.
How about creating a frame or iframe that points to an FTP server. You'll have to add the username/password to the FTP URL. Since most browsers also work as GUI FTP clients, it should work out for you.

Otherwise, because of security, your options are going to be a signed applet or a signed activeX control.
willcode4beer is offline
Reply With Quote
View Public Profile
 
Old 02-06-2007, 12:24 AM Re: drag and drop file uploading...
saadatshah's Avatar
Extreme Talker

Posts: 216
Name: Syed Saadat Ali
Location: Lahore, Pakistan
Nice idea dude.
__________________
Traffic School - Driver Ed - Defensive Driving - Texas Defensive Driving - Online Traffic School - Defensive Driving Course
If you have knowledge, let others light their candles in it.
saadatshah is offline
Reply With Quote
View Public Profile Visit saadatshah's homepage!
 
Old 02-07-2007, 01:57 AM Re: drag and drop file uploading...
Average Talker

Posts: 28
Name: dinesh s
hi all,
i done it....by using the animation control.

tnx for all of urs reply....

one page code is enough for it..

ok, c u all...
dinesh s is offline
Reply With Quote
View Public Profile
 
Old 03-29-2007, 07:53 PM Re: drag and drop file uploading...
The PHP Professor

Posts: 308
Name: Alex
Location: Behind You
you could also try rad upload thats a popular one

http://www.radinks.com/upload/
__________________
Go Kirby! <(" . "<) (^" . "^) (>" . ")> Talkupation!
Need a FILE host? Nobody gets it done right like 1Stopupload.com!
microcolt is offline
Reply With Quote
View Public Profile Visit microcolt's homepage!
 
Old 05-02-2007, 03:54 PM Re: drag and drop file uploading...
Junior Talker

Posts: 1
Name: sachin surana
Hi Dinesh,

I guess you have implemented it using just animation control. Could you please share the code with me ?
sachinsurana is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to drag and drop file uploading...
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.16033 seconds with 12 queries