How can I get Gmail-like file uploads for my web a

2019-01-13 03:30发布

I want to add gmail-like file upload functionality for one of my projects. Can anybody help me with this?

My application is built in vb.net.

I would appreciate any kind of help or guidance.

Thanks

10条回答
不美不萌又怎样
2楼-- · 2019-01-13 04:06

For a non-flash solution, you can use NeatUpload. I used it on an extensive project last year with a no-flash requirement. It's very easy to integrate into existing solutions. I thought it was a breeze to work with. Easier, in my limited experience, than working with SWFUpload in ASP.NET. Probably because NeatUpload is built just for ASP.NET.

查看更多
Bombasti
3楼-- · 2019-01-13 04:08

Are you talking about an upload without a full page postback? Take a look at http://www.phpletter.com/Demo/AjaxFileUpload-Demo/, which creates a hidden iframe, copies the input control, and uses the iframe to perform the post to get the file on the server.

If you're looking for the behavior where when the user clicks "attach file" and the file browsing dialog automatically pops up, that can be done via Javascript but doesn't work in FireFox, which has the security precaution of requiring the user to invoke the "Browse" button directly (rather than programmatically through script).

For the "automatic" upload, use Javascript to attach to the "change" event for the "value" property of the the 'input' control so that the will perform when a file has been selected.

查看更多
欢心
4楼-- · 2019-01-13 04:10

You can use iFrames for this

查看更多
Lonely孤独者°
5楼-- · 2019-01-13 04:12

You may use Flickr Uploader clone instead.

查看更多
手持菜刀,她持情操
6楼-- · 2019-01-13 04:14

Now it has been 2 years, I used the uploadify in my legacy system and it works good. but you need to write some hack code (such like hold the session).

I recommend you use jquery upload, which is pure HTML, no swf, no session problems and really great!

== on 2013, what I wrote:

I am considering which to choose, SWFupload or uploadify .

but on SWFupload's official website , it says that it has not been under active development and the author is hoping someday the SWFupload could revive...

so ... I decided to try "uploadify", which seems supports many options, callbacks with lots of demos. (after checking its source code, I guess the author wraps the "SWFupload v1" and "SWFupload v2" in his "uploadify v3"...)

and there's a full list of this kind of uploaders.

查看更多
孤傲高冷的网名
7楼-- · 2019-01-13 04:15

From YUI! (Yahoo User Interface), https://yuilibrary.com/yui/docs/uploader/

  1. Multiple file selection in a single "Open File" dialog.
  2. File extension filters to facilitate the user's selection.
  3. Progress tracking for file uploads.
  4. A range of file metadata: filename, size, date created, date modified, and author.
  5. A set of events dispatched on various aspects of the file upload process: file selection, upload progress, upload completion, etc.
  6. Inclusion of additional data in the file upload POST request.
  7. Faster file upload on broadband connections due to the modified SEND buffer size.
  8. Same-page server response upon completion of the file upload.

Totally Free

查看更多
登录 后发表回答