So you're building a web site and want users to upload files--lots of files at once. Using an ordinary HTML file dialog is easy and gets the job done, but if the user wants to upload 30 files he has to click on a "Browse..." button 30 times and select each file one at a time. Some sites, like Flickr, solved this problem with a downloadable desktop app. Others used Java applets. And then along came Flash 8, which had perhaps the most promising solution: Built-in support for uploading multiple files at once. Brilliant! However, harnessing this power was not simple--it required, for one thing, a copy of Flash MX, which ain't cheap, not to mention the actual knowledge to use it.
By now I'm sure you know where I'm going with this: SWFUpload. It's an open source Flash widget that lets you add multiple simultaneous file uploads to your web service without spending so much as a cent. It's fairly robust, allowing you to specify your own custom graphics and dimensions for the upload button, choose which file types will be allowed, as well as JavaScript callback functions for showing upload progress, errors, and so on. And like I said, it's open source, so if you do happen to have Flash MX and some skills, you can tweak the .FLA source til your heart's content. Very cool.
o How to Upload a File by Using the Flash FileReference Object
http://www.informit.com/articles/article.asp?p=464427&seqNum=2&rl=1
o Upload with Flash 8
http://www.flash-db.com/Tutorials/upload/upFiles.php
o Multiple File Upload with Flash and Ruby on Rails
http://blog.vixiom.com/2006/09/08/multiple-file-upload-with-flash-and-ruby-on-rails/
-
Flash를 이용한 File UploadTips 2007. 2. 10. 10:25o SWFUpload: Open source Flash multi-file upload
(파일 종류 제한이 제대로 안되는 듯.)
SWFUpload: Open source Flash multi-file upload
'Tips' 카테고리의 다른 글
[펌] 오래된 파일 삭제 vbscript (0) 2007.03.20 [펌] 프로그래밍용 폰트 (0) 2007.02.12 [펌]TTF폰트 적용한 이미지 텍스트 만들기(PHP) (0) 2007.02.08 IE(익스플로러) 소스보기 메모장 대신 원하는 에디터로 바꾸기 (0) 2007.02.06 MP3->KMP 변환 / 휴대폰에 MP3 넣기 (2) 2007.02.06