File Download Open/Save Dialog

I'm trying to enhance an existing Flex 2 application. The
application communicates with a web application via HTTPService.
The Flex application can upload files from the user's local hard
drive to the web application where they are ultimately stored in a
database. The Flex application also allows the user to download any
of these previously uploaded/stored files. The class
flash.net.FileReference is used to perform the download.
Everything works fine. The only issue is that when the user
initiates a file download, he/she is only prompted as to where to
save the file. We would like to first give the user the option to
open or save the file... essentially the dialog that
Internet Explorer gives you when you download a file (.exe, .doc,
.xls, etc.) directly from a web site. Is there a way to do this?
Thanks in advance!
Chris

Can't access the user's hard drive, even to open a file. You
need to use Adobe AIR for this.

Similar Messages

  • Check if file downloaded successfully , through Open Save dialog box

    hi,
    In the jsp I have a download link through which user can download a file which is located on the server . I have achieved this by setting the response type in servlet as follows => response.setHeader("Content-Disposition", "attachment; filename=" + fileName); .When the jsp page loads the user is shown a Open Save dialog box for downloading the file. The user can download the file or cancel the operation.
    But now I need to track if the user has downloaded the file successfully on his m/c , depending on which a flag will be updated in the database . I am not able to track this event . Pls help how I can check if the file has been downloaded successfully and do further processing.

    This is fully dependent on the client side. You can never rely on that.
    In most cases you could check if any byte of the file is written to the outputstream and/or no IOException is been thrown, but some webbrowsers (such as Firefox) will download the file immediately while the client still need to choose 'save' or 'cancel'. Only when the client chooses 'cancel' the download will be aborted and the file will be deleted. But if the file is small and/or the network is fast, then the file download might be already completed at that time.
    Again, you can never rely on what happens at the client side.

  • Open/Save Dialog does not show new files?

    Say you are working on a logic file in a folder and you have
    a few audio and movie files in that folder, and you launch
    Logic and via the open/save dialog window you add a few
    files to your song and in that dialog window you can see
    all the files in that folder.
    Then, in the Finder you add a few more files and movies to
    that folder and again use the open/save dialog window to
    add more files BUT the new files you added since launching
    logic are NOT SHOWN in the dialog window ! ?
    What's the deal with that?
    Every other app can show files added since the launch of the
    application, why not Logic?
    PowerBook G4 1GHz   Mac OS X (10.3.9)  

    project manager
    um, yeah.
    Should not need the project manager simply to see new files added to a directory in a Open/Save dialog window since last opening the app.
    I did a scan, a extended scan, opened all the little turn down arrows of the
    full path to the directory I knew there to be the new files and yes, Logic
    shows them there in the "Project manager".
    BUT Logic still does not show the files in the Open/Save dialog windows.
    This is strange because even simple app like TextEdit can show
    new files in it's Open/Save dialog function windows without the need of
    a project manager.
    I have to quit and re-launch each time to see any new files?

  • How to open File open/save dialog for a file saved in the Appl. Server?

    Hi Experts,
       My requirement is that, there will be a link in my BSP page "Link to BI Report" and when the user will click this link, the File open/save Dialog box will appear for a BI Report file that will be in a fixed path in the Application Server. I have checked with <a href="/usr/sap/tmp/bi_report.csv"> tag but it is not working. The BI report file will be currently in the CSV format. Any ideas about how to achieve this? Thanks in advance.

    If you want to work in tabbed view, do it like this:
    Select the move tool. Go to the tab that contains one of the image files.
    Drag the image over the tab that has the blank document (Keep holding down the mouse button). Wait till that tab opens.
    Drag & drop the image into the blank document.

  • File Open/Save dialog

    Hi,
    One of my pet peeves about Jdeveloper and by extension of SQLDeveloper is that the file open/save dialog does not have quick way to navigate to familiar places on my computer like "My Documents" or "Desktop". For eg., in Word, I can navigate to My Recent Documents, Desktop, My Documents, My Computer, My Network Places.
    I know Jdeveloper and SQLD are also meant for the Unix Platform, but having shortcuts like My Network Places, Desktop, My Computer etc atleast for the Windows based tools would make it immensly easier to find files.
    Something even better would be to allow each person to customize that list of shortcuts he can have in that list.
    Thanks
    Alex

    Yes, this is absolutely necessary for Windows users!
    In a non-java Windows application I can usually put a shortcut to my favored directory in the directory an application might default to, then double-click it and the windows environment is smart enough to move to that directory, and I can save my files.
    Java is stupid in this regard. It thinks you are trying to save the file to the name of the shortcut. I CANNOT stand an application that isn't smart enough to set preferences to default file locations!
    I should also add that I set the USER_DIR to the directory I save all my files in (on my u:drive) and SQL Developer then runs those files without the entire path (I can just put in @a for example) but it is too STUPID to save to this directory!
    Message was edited by:
    user532351

  • Open/Save Dialog Box Freeze

    Hello,
    Since updating to 10.4.7, the open/save dialog box freezes (beachball) after selecting a folder. Can anyone please point me in the right direction in solving my issue.
    I used the ComboPPC updater and then ran Cocktail to repair permissions, cron scripts, clear caches etc.
    I recently posted about the Finder freezing instead I should have mentioned that it was the Open/Save dialog box.
    Regards,
    David

    Hi,
    I am using model dialog box.
    on page header i have copy The code as given in this http://jqueryui.com/dialog/#modal-message link
    //  page header code
    <!doctype html> <html lang="en"><head>  <meta charset="utf-8" />  <title>jQuery UI Dialog - Modal message</title>  <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.0/themes/base/jquery-ui.css" />  <script src="http://code.jquery.com/jquery-1.8.3.js"></script>  <script src="http://code.jquery.com/ui/1.10.0/jquery-ui.js"></script>  <link rel="stylesheet" href="/resources/demos/style.css" />  <script>  $(function() {    $( "#dialog-message" ).dialog({      modal: true,      buttons: {        Ok: function() {          $( this ).dialog( "close" );        }      }    });  });  </script></head><body> <div id="dialog-message" title="Download complete">  <p>    <span class="ui-icon ui-icon-circle-check" style="float: left; margin: 0 7px 50px 0;"></span>    Your files have downloaded successfully into the My Downloads folder.  </p>  <p>    Currently using <b>36% of your storage space</b>.  </p></div> <p>Sed vel diam id libero <a href="http://example.com">rutrum convallis</a>. Donec aliquet leo vel magna. Phasellus rhoncus faucibus ante. Etiam bibendum, enim faucibus aliquet rhoncus, arcu felis ultricies neque, sit amet auctor elit eros a lectus.</p>  </body></html> My Button name is "DOWNLOAD" and on button actions "REDIRECT TO URL"
    on URL TARGET value is ==javascript: myFunction();
    where i have to write this code to bind my apex buttons with dialog box.
    apex.submit(myRequest);the steps i have written above, am doing right or not? Please help to place the code in apex with a right way.
    Thanks & Regards
    Vedant
    Edited by: Vedant on Jan 28, 2013 12:53 AM

  • Open/save dialog box using javascript.

    Hi,
    working on apex4.1
    How i can display open / save dialog box when click on button or link using javascript.
    Thanks & Regards
    Vedant
    Edited by: Vedant on Jan 27, 2013 10:20 PM

    Hi,
    I am using model dialog box.
    on page header i have copy The code as given in this http://jqueryui.com/dialog/#modal-message link
    //  page header code
    <!doctype html> <html lang="en"><head>  <meta charset="utf-8" />  <title>jQuery UI Dialog - Modal message</title>  <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.0/themes/base/jquery-ui.css" />  <script src="http://code.jquery.com/jquery-1.8.3.js"></script>  <script src="http://code.jquery.com/ui/1.10.0/jquery-ui.js"></script>  <link rel="stylesheet" href="/resources/demos/style.css" />  <script>  $(function() {    $( "#dialog-message" ).dialog({      modal: true,      buttons: {        Ok: function() {          $( this ).dialog( "close" );        }      }    });  });  </script></head><body> <div id="dialog-message" title="Download complete">  <p>    <span class="ui-icon ui-icon-circle-check" style="float: left; margin: 0 7px 50px 0;"></span>    Your files have downloaded successfully into the My Downloads folder.  </p>  <p>    Currently using <b>36% of your storage space</b>.  </p></div> <p>Sed vel diam id libero <a href="http://example.com">rutrum convallis</a>. Donec aliquet leo vel magna. Phasellus rhoncus faucibus ante. Etiam bibendum, enim faucibus aliquet rhoncus, arcu felis ultricies neque, sit amet auctor elit eros a lectus.</p>  </body></html> My Button name is "DOWNLOAD" and on button actions "REDIRECT TO URL"
    on URL TARGET value is ==javascript: myFunction();
    where i have to write this code to bind my apex buttons with dialog box.
    apex.submit(myRequest);the steps i have written above, am doing right or not? Please help to place the code in apex with a right way.
    Thanks & Regards
    Vedant
    Edited by: Vedant on Jan 28, 2013 12:53 AM

  • Open/Save Dialog, 9 min. Beachball Freeze

    I am running OS 10.10.2 on a March 2009 iMac with 8GB RAM and 1TB HD.
    PROBLEM: While working in Illustrator 18 (CC 2014), if I choose File > Open, the Open dialog appears but I get the spinning beachball for 9 minutes before file contents appear. I don't have the same problem in Photoshop or any other app.  But after Googling, I see that a number of people have posted similar Console Log messages (see below) when using in a variety of apps in Yosemite, even in Apple's own Mail app.  This tells me the root problem may not be specific to Illustrator, even though it only affects Illustrator in my case currently.
    WHAT I TRIED:
    1) Moved all Adobe Illustrator related PLISTS and preference files and folders to the Desktop and then launched Illustrator.  I saw Illustrator rebuild new prefs files and all settings reverted back to stock.  This proves my moving of the prefs to the Desktop was successful to cause a rebuild of new prefs and PLISTS. Even so, the BeachBall freeze appeared when I did a File > Open.
    2) Rebooted with SHIFT held down (Safe Mode).  But the beachball problem remains.
    3) Disconnected all USB devices except keyboard/mouse, and turned off WiFi and BlueTooth, and even yanked my Ethernet cable.  I also turned off Time Machine and Default Folder.  But the problem remains, even through a reboot.
    4) I removed DropBox and GoogleDrive and I closed all apps other than Illustrator, but to no avail.
    5) Tried a Guest User, but that doesn't work with Adobe Apps.  Ditto for a Standard user.  You get an error dialog when you try to launch Adobe apps with that kind of user.  So I then created an Admin user.  Illustrator's Open dialog box displays files perfectly, as normal!  A NEW ADMIN USER FIXES THE PROBLEM!
    So a new Admin user fixes the beachball problem in the Open dialog, but for my normal Admin user there's the 9 min. beachball problem.  And yet, SAFE MODE doesn't fix the problem while in my normal User.  And neither does deleting Illustrator prefs.  So it's clear there's still something lurking in my primary user account that is absent in the new Admin user account.  But what?  And how can I find it?  (Migrating everything to a new User account is no easy task.)
    Pertinent section of CONSOLE system.log:
    Mar  6 13:27:03 iMac.local WindowServer[151]: disable_update_likely_unbalanced: UI updates still disabled by application "Adobe Illustrator CC 2014" after 15.00 seconds (server forcibly re-enabled them after 1.00 seconds). Likely an unbalanced disableUpdate call.
    Mar  6 13:27:19 iMac.local NetAuthSysAgent[858]: DNSAddressResolver:Resolve CFNetServiceResolveWithTimeout failed
    Mar  6 13:27:19 iMac.local NetAuthSysAgent[858]: ERROR: AFP_GetServerInfo - connect failed 64
    Mar  6 13:27:49 iMac.local NetAuthSysAgent[858]: DNSAddressResolver:Resolve CFNetServiceResolveWithTimeout failed
    Mar  6 13:27:49 iMac.local NetAuthSysAgent[858]: ERROR: AFP_GetServerInfo - connect failed 64
    Mar  6 13:28:19 iMac.local NetAuthSysAgent[858]: DNSAddressResolver:Resolve CFNetServiceResolveWithTimeout failed
    Mar  6 13:28:19 iMac.local NetAuthSysAgent[858]: ERROR: AFP_GetServerInfo - connect failed 64
    Mar  6 13:28:24 iMac.local com.apple.SecurityServer[56]: Session 100025 created
    Mar  6 13:28:49 iMac.local NetAuthSysAgent[858]: DNSAddressResolver:Resolve CFNetServiceResolveWithTimeout failed
    Mar  6 13:28:49 iMac.local NetAuthSysAgent[858]: ERROR: AFP_GetServerInfo - connect failed 64
    Mar  6 13:29:19 iMac.local NetAuthSysAgent[858]: DNSAddressResolver:Resolve CFNetServiceResolveWithTimeout failed
    Mar  6 13:29:19 iMac.local NetAuthSysAgent[858]: ERROR: AFP_GetServerInfo - connect failed 64
    the above repeats while time elapses (I deleted this part for brevity)
    Mar  6 13:35:40 iMac.local mds[33]: (Volume.Normal:2464) volume:0x7f9823863800 ********** Bootstrapped Creating a default store:1 SpotLoc:(null) SpotVerLoc:(null) occlude:0 /Volumes/WORK_SPACE
    Mar  6 13:35:42 iMac com.apple.xpc.launchd[1] (com.apple.TMHelperAgent.SetupOffer): Service only ran for 2 seconds. Pushing respawn out by 8 seconds.
    Mar  6 13:35:42 iMac.local mds[33]: (Volume.Normal:2464) volume:0x7f9824087000 ********** Bootstrapped Creating a default store:1 SpotLoc:(null) SpotVerLoc:(null) occlude:0 /Volumes/GLOBAL_SPACE
    Mar  6 13:35:43 iMac.local WindowServer[151]: common_reenable_update: UI updates were finally reenabled by application "Adobe Illustrator CC 2014" after 534.23 seconds (server forcibly re-enabled them after 1.00 seconds)
    I get the exact same set of messages that you see above every time I try to reproduce the problem, simply by doing a File > Open in Illustrator.
    I assume AFP is Apple File Protocol?  But what "server" is it trying so desperately in vain to "Get"?  And why is a DNS resolver being used?
    Anyway, as you can see from the Console log above, the beachball in the Open/Save dialog in Illustrator goes away after 534 seconds (about 9 min.).  But it reappears each time I try to go to a new folder on my HD within that Open dialog.  Each time takes exactly 534 seconds each time for the stupid beachball to go away when changing folders in the Open dialog. 
    This beachball freeze (for 9 min.) in Illustrator's Open dialog occurred every once and a while over the last several weeks, but now it consistently happens.  And no, I've not installed any new software on my iMac other than Yosemite updates.
    Once again, I would prefer to fix the root problem in my primary user account rather than migrate to a New User even though I now know a new Admin user account resolves the problem.
    Please help.

    With regard to my cry for help...
    Pretty please?
    Here are links to other apps which show the same Console Log messages that I am seeing, proving this is not an issue exclusive to a single app:
    Vmware & OS 10.10.2
    Pertaining to networked HD's
    Shared Mac on a Network
    Prevents Time Capsule access and kills Time Machine too
    OS 10.10 & Time Capsule woes
    OS 10.9.2 & NAS woes
    Yosemite & Time Capsule woes
    iPhoto woes after Migration
    More Time Capsule woes
    Time Machine woes from Germany (translated)
    mDNSResponder stuck in restart loop
    If you read through all the above like I did, you're probably very tired by now.  But if you had the same problem as I do, you would do anything to resolve it, hence my post here.  So again, I plead for your kind help and attention to this problem!
    The above links do tell me one thing, that a "network error" is at the heart of the Console log messages and my problem.  And that remains true even when I've disconnected from the network entirely, leading me to believe that this is some sort of CACHING BUG.  For truly, there is a Time Capsule at my office, and I do use Time Machine (although not saving to the TC but instead to an external FW HD).  So...  It is my guess that Yosemite has cached some network data it doesn't like and tries to access that data from a cache when the Open Dialog appears in Illustrator.  But WHY ILLUSTRATOR in my case?  It makes no sense to me at all.  I would think it should consistently occur in the Open dialogs of all apps, but it's only in Illustrator.
    I did have problems with my Time Machine backups after putting Yosemite on my iMac, but those issues were resolved in the 10.10.2 update.
    In any case, if indeed it is a CACHING BUG, how then would I clear that stupid, evil cache?
    Again, I would appreciate your kind thoughts and advice.
    Thank you!

  • Sort-by-type for column view in open/save dialog boxes?

    Hello all,
    I've done a fairly good search both on Google and in these forums and can't seem to find this question addressed. When I go to open or save something (in Preview, for example) I prefer to use Column View in the dialog box, since it is easy to see and navigate the folder structure. However, Column View always shows up sorted by name, even if I specified in Finder that the folder be sorted by type. Because of this, I have to scroll down and hunt for subfolders rather than having them conveniently listed at the top.
    My question is this: is there a way to get Column View to sort by type in the open/save dialog boxes? (The Command+J that works in regular Finder does nothing in these dialog boxes.)
    Thanks!

    No. Column view will only sort by name. If you wanted to put a space before each folder name, then they will sort to the top. Sorting by Kind will put folders above files, but it will also put anything else except files at the top. If there are only folders, however, that would put them first in the sort list.

  • Finder sidebar not updating with applications open/save dialog boxes

    Hi all,
    I've searched the threads and can't seem to find an answer to this recurring issue that I'm having.
    I save folders to current projects in the Finder sidebar. However, I find that when I try to find those sidebar folders from within the open/save dialog applications that it is often times and old version of the sidebar. In the image linked below note the Finder sidebar on the left and the InDesign CS sidebar on the right. The list of folders is different. The version via InDesign seems to be an older cached version.
    Screen capture: http://www.fabianross.com/forum-images/screen-capture.png
    Does anyone know how to update this cached version to see the new list of folders?
    Thanks,
    Jerry

    Try deleting this file: com.apple.sidebarlists.plist
    /Users/YourName/Library/Preferences. Drag that file from the Preferences folder to the Trash, empty the Trash and reboot. See if that helps...
    Seems to me that Adobe is very picky about where the files are kept on the hard drive. You might not want them in the Sidebar. Whenever you do an Adobe software update, the installer needs the path to where those files go. If it's missing in action, it can wreak havoc.
    Make sure when you do Adobe updates, if there is a link included or a Read Me file, check that out first before installing anything.
    Run Disk Utility and Repair Disk Permissions BEFORE and AFTER any software updates:
    Launch Disk Utility. Select MacintoshHD in the panel on the left, select FirstAid, then click: Repair Disk Permissions. Quit DU when it's finished and reboot.
    Carolyn

  • Can't drag sidebar items in "open/save" dialog boxes - Mountain Lion

    (First time poster)  Using Mountain Lion 10.8.3 and InDesign CS6.  Having errors. First was that smart folders made the Open/ Save dialog boxes crash when referenced in the "Favorites" section of sidebar.   Next, and more serious, error, is that I cannot drag/ rearrange my sidebar items in this view. AKA I cannot take "Favorites" on the sidebar and drag that section below "Devices" or "Shared" or "Media" like I normally can in Finder or any other app for that matter.  Recently installed SIMBL and "Colorful Sidebar" app but uninstalled and removed bundle file from SIMBL plugins folder in order to try and resolve this. Hard to say if this problem started before or after the third-party plugin was installed, but regardless, it's gone now, and still having problems.  Help please!  Thanks,

    None of these are InDesign questions.
    I'd suggest asking this is the Apple forums:
    https://discussions.apple.com/index.jspa

  • Find in Open/Save Dialog boxes

    The find in open/save dialog boxes seems to return unexpected results. Say I have two folders one called "Down under" and the other called "Down under 2". If I ask it to find "down" it only returns the file "Down under 2" and other files whose content may have the word "down" in them. The folder "Down under 2" only has jpegs in it. None have "Down" in the file name.
    So what gives?

    Surely someone knows what is going on in spotlight. If I use Easyfind for the search it comes up with both files folders correctly.

  • Open/save dialog boxes stuck at (too small) default size

    I've been having a relatively small issue with Mountain Lion that has become a big hassle. In past versions of OS X, whenever I'd resize an open/save dialog box in an application, it would be that size the next time I went to open/save. In Mountain Lion, however, those dialog boxes always default to the smallest possible size (which is too small to read a filename longer than a few characters). so I have to resize the dialog box — every time! I open and save a lot of files, so this gets pretty tedious. This doesn't seem to happen in apple programs, but it definitely does in the Office Suite and the Adobe Creative Suite, especially in CS4 Photoshop and Illustrator. Might be I can fix it by myself but I can't imagine where I may dig it.

    You might try looking here for the Adobe products:
    Adobe Help and Support
    Try Microsoft support for the Office Products:
    http://www.microsoft.com/mac

  • Why can't I sort in Open/Save dialog boxes?

    Ever since I upgraded to ML, I found that I am unable to sort the listing in open/save dialog boxes. Currently the folder contents (List view) are all sorted by reverse Name. There are times I rather sort by Modification Date or Creation Date.
    The regular finder windows work as expected (click to sort, two clicks to reverse sort), but it seems this functionality have been removed from the Open/Save dialog boxes. I've searched for any tips/hints, but have been unable to find anything. Help.

    v3ktor.com wrote:
    Could not find the sorting function in the open dialogs before coming here. Really bad interaction design from Apple. It took me ages to figure it out. And if you sort it on "name" how do you switch A-Z or Z-A?
    You are not sorting, you are Arranging (ie grouping). In the Open file dialogs, you don't have an option to Sort.
    If you want to sort the items, set Arrangement to None and use the List View. Click the headers to sort. If you want to add more headers, right-click on the headers to select them.
    In the regular Finder Windows, the options when you click on that button without any modifiers is the Arrangement options. Arrangement groups items by those criteria. By Name is like Sort, but without an option to switch direction.
    If you press that button (or use the menu command in Finder) while holding down the Option (alt) key, you will get the sort options.  If you have an arrangement set, then the Sort option will sort within the groups. Some Arrangements have no sort option (like by Name) because it doesn't make any sense. If you just want to Sort, then set Arrangement to None and use the Sort option to sort.

  • Servers in Open/Save dialogs

    Apologies if this has been asked/answered before... I noticed an issue in the open/save dialogs in Leopard.
    Say I want to attach a file in Mail that's sitting on a server or another computer. In Tiger, I would navigate to the server within the dialog, double click on it, then enter the user/pass and connect to the share I'm looking for.
    In Leopard, it seems I can no longer browse and connect to a server from within the open/save dialogs. Unless I'm already connected, I can only see the public shares without the option to "Connect As..." another user. So now I have to switch over to the Finder, navigate to the server, connect to it with the proper credentials, then get back over to Mail, navigate back to the share and choose my file.
    Is this just a bug I'm noticing or is this the way it works in Leopard? I'd really like to be able to not have to switch to/from the Finder just to mount network shares to open from or save files to in another app.

    See if macjack's solution works for you:
    http://discussions.apple.com/thread.jspa?messageID=4445080&#4445080
    If not, let us know.
    Francine
    Francine
    Schwieder

Maybe you are looking for

  • Fax not detected,C​omm error, fax run test is all PASS,

    Hi Good Day! Im Using a HP color Laserjet Pro MFP M177fw. The Problem is sending fax messages. I do all the updates you need to installed. but the problem with my hp fax machine is still there specially i still receive a fax not detected issue,comm.e

  • Windows 8.1 Computer not recognizing iPhone 5 and iTunes not opening

    So i've been having these issues persist since I updated to iOS7 in September. Computer is a MSI GT60 2OD-026US running windows 8, now 8.1. How this all started in September: 1. Download iTunes and it sees iPhone, update to iOS7 2. Everything is all

  • Query problem: Some fields missing for org unit

    I'm currently trying to fix a Minimum Compliance Report with some missing fields. For a specific organisational unit no data is being generated for distribution and logistics. How can i make sure organisational units generate a compliance figure corr

  • Create a field routine to calculate the number of days per month

    Hi Experts, I need to create a field routine to count the number of days per month based on 0CALMONTH. Could you give me some inputs on how to do it? Thanks!

  • Mapping without HR

    Dear Experts, How do you handle Salary & wages if you are not implementing HR for manufacturing industry. Rgds, PK