FileReference to download server-side file

I was asked today how to download a server-side file through the FileReference object. The issue was that the server-side file was executing before downloading. The FileReference object uses http, rather than ftp, to download files, so any server-side script will execute before being downloaded. You either need to zip it and use the zip as a download or use an intermediate server-side file to write and return a server-side file for download.

Labels: , , ,

Flash CS3 Preview

Flash C3 can be previewed on the Flash Magazine web site. It looks amazing, from a design standpoint it integrates with Photoshop and Illustrator, even layers are supported! My favorite is the ActionScript editing and error checking, this has been an issue with Flash for many years and may finally be what all flash developers have been looking for. Check it out for yourself...

Labels: , , ,