How to save a unique file from web browser to the local disk?
We have a Web login feature. We will offer Free calls to a large campaign.
Scenarios:
- Because of free calls, we will offer a unique file to be downloaded and stored
- After a week or month we will call them and offer them our desktop application to scan and see how trusted, the user is
- I开发者_JAVA百科f we dont find the same file again, we will never start business and more our own statistics
- Based on that report we want to do some follow ups campaign
- We can do this with cookies but we want user experience and trust analysis
Example: if you play a music in youtube.com, without notice your file is actually in /tmp/Flash....flv with lot of data on it.
Question: How can i do the similar using Flex/Flash from the web browser ? Please kindly advise to any link or existing resource..
Thanks in advance.
You cant write file on Client PC trough Flash. You can use Shared Object which are very similar to Normal Files and they will not be deleted in most cases.
http://learn.adobe.com/wiki/display/Flex/Shared+Objects
Claudio
In short, you can't. Flex in the browser doesn't have any filesystem access.
The only ways to store persistent data from the browser with Flex are through cookies, browser hacks like the evercookie and local shared objects.
精彩评论