File save issue

Is there a way to set a default extension when saving an image using  FileReference save method?
Code:
var fileReference:FileReference = new FileReference();
fileReference.save( pngData, "image.png" );
Problem:
If windows is set to "hide known file extensions",
only image without extension will be displayed in save dialog.
File type is "*.*".
Some of my users hat the great idea to add .jpg extension in filename,  because they couldn't see one.
So file was saved broken as image.jpg.

Where is that File Ref coming from?  I don't see where you open the file.  Nor do I see where you are closing it.
It also concerns me that you are passing the reference to two different places.  I can't see what is happening in your subVI, but that is a potential issue.
You should be using the "Not a Number/Path/Refnum?" function to check to see if your file reference is valid.
Your loops run forever.  You should have a way to gracefully shut down your VIs instead of just cutting power.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines

Similar Messages

  • Photoshop CC 2014 file save issue on OS X Server 2.21

    Before we start, I do know that Adobe doesn't officially support saving files to a file server. 
    However on CC2014 sometimes when we save files they disappear and we are left with a temporary file in the
    directory. 
    Wondering if anyone else has seen these issues? 
    Photoshop CC doesn't seem to have this problem

    I had a copy of the older Server on a backup drive, where I keep the system installers and Server installers just in case.
    I zipped Server on the backup and removed the original and immediately the update went away.
    So because spotlight indexes all the drives it was finding the old version on my external RAID and thinking it needed updating

  • Acrobat Pro XI File Save Issues

    Each time I attempt to create a PDF from within Word 2003 using the Acrobat Pro XI toolbar icon, Acrobat asks me to name the file (something I'm used to), and then after going through some "printing," it asks me for a"Save As" file name (inserting an Acrxxxx, for instance: Acr74C4). If I keep clicking OK, the program eventually generates the correctly named PDF file. At times, I'm asked to "Save As" more than once.
    I'm running Windows 7, 64 bit, and Office 2003. (All of my software and drivers are up-to-date.)

    The messaging is indicating that you purchased an upgrade version of Acrobat and it is trying to find the earlier version that qualifies you to install and activate the upgrade.  You should have the option of entering the serial number for the previous version instead of actually having it installed.
    You should be able to tell if you purchased an upgrade based on the price you paid... check the product page.  If you did not intend to purchase an upgrade version then you should get that resolved thru Adobe Support directly by chat or phone.
    Here is a link to a page with options to help make contact:
    http://www.adobe.com/support/download-install/supportinfo/

  • OS X 10.8 Mountain Lion Photoshop CS5 Windows file server save issue

    After Lion to Mountain Lion upgrade.
    Cannot save or save as to Windows server. Due to "program error." Adobe Photoshop CS5. Can save as fine to local drive. Can also drag and drop in the Finder to this server.
    This is Photoshop CS5 12.0.4 (current).
    Once the error "could not save filename due to a program error" occurs, the file disappears from the Windows server.
    I think it has something to due with the SMB connection.
    All other CS5 apps (InDesign, Illustrator, etc.) "save" and "save as" fine. It is also fine performing the same procedure using Preview.

    We're in 2015 and this is still an issue with the latest updates from Apple. Any one confirm that the save to network storage problem in Photoshop is gone with the newest version of Photoshop Creative Cloud?
    Here's what's happening in our shop as of May, 2015 with both AFP and SMB server connections:
    We are using Photoshop CS 5.1, Version 12.1 x64. I believe this is the most up to date version of our CS5.1 software.
    We are on OS X Yosemite Version 10.10.3.
    When connected to the server via afp (in server log it says "AFP client")
    Photoshop gives this error on a save after some changes are made to the file: "Could not save "file name" because write access was not granted." Then, as soon as you hit ok, the file is deleted from the server and is gone within a minute or so. If no change was made to the file, save works fine.
    If you use "save as" and keep the same file name, it will usually fail with the same error as above. If you use save as and type in a new file name, all works fine.
    If logged in via SMB (in the server log is says "CIFS client")
    When you try to save, the error changes to "could not save "file name" because the file was not found." And then as soon as you hit OK on the error, the file is deleted from the server. Using Save As and inputing a different file name presented a new problem, it always says "could not save as "file name" because the file was not found." (in this case SMB seems to be worse than an AFP connection).
    This is very frustrating and has been going on in the forums for over 3 years. Shared network environments are commonplace today. It seems to be centered around photoshop and OSX. All other software we use has been working fine with the server / network attached storage.
    Thanks for any guidance. Sean

  • Save As PDF file size issues

    I am currently using Word 2008 to produce a club newsletter for email distribution. The Word (.docx) file can be up to 2.4MB in size. When I use Print > Save to PDF the resulting file can be as large as 12MB! I tried using the CUPS-PDF virtual printer option and got a file 26MB is size!!
    A friend used his Windoze machine to print to PDF and got the file size I was after at just over 1MB. I also tried the Adobe Online "convert to PDF service" and got file sizes lower than 1MB.
    What is going on with the Mac OSX conversion? How can I get smaller PDF's without having to shell out for Adobe Acrobat Pro?

    Peter Ongley wrote:
    How can I get smaller PDF's without having to shell out for Adobe Acrobat Pro?
    This may not help or may degrade any images in your document, but try this: Open the PDF file in the Preview application. Invoke File -> Save As, then set "Quartz Filter" to "Reduce File Size", give the file a different name, and save the file.

  • Has Adobe Reader XI solved the File Save As Location issue

    Hi, As has been mentioned on a few threads, Adobe Reader X did not remember the last File Save Location.   And this causes a bit of angst amongst my users.  Can anyone tell me if this has been fixed in XI.  I don't have permision to downlaod and install to try it at work.

    "Save as" doesn't have a default location.  The base protocol for "Save as" enables a "browse" window by default in most ANY application.
    "Save" will save the file in its original location, but there is no preference for "Saving as".

  • TWO CRITICAL BUGS: 1) File, "Save Page As" and 2) right-click the picture and select "Save Image As", both do not work at all in Firefox 27, 28, and 29!

    Note: capitals are used only to highlight important words.
    PLEASE, TAKE THESE COMMENTS ON TWO CRITICAL BUGS VERY SERIOUSLY BECAUSE THE BUGS DESCRIBED BELOW ARE SO CRITICAL THAT I CANNOT USE THE LATEST VERSION OF FIREFOX UNLESS THEY DO NOT APPEAR IN THE LATEST VERSION AND THEREFORE I AM FORCED TO REVERT BACK TO FIREFOX 26.
    I have Windows 7 64-bit and Firefox 26. I could not install Firefox 27, 28, and 29 due to the persistent presence of the two critical bugs described below. I have 8 GB of RAM and an Intel quad-core processor and a lot of hard disk space available.
    I installed Firefox 27 and then Firefox 28 a while back and these two bugs described below were still present and now I have just checked again with Firefox 29 by installing it and yet again, these two bugs described below are present!! UNBELIEVABLE THAT THESE TWO CRITICAL BUGS ARE STILL PRESENT IN FIREFOX 29 WHEN I CLEARLY INFORMED YOU ABOUT THEM IN THE HELP, SUBMIT LINK OF FIREFOX!!
    I am forced to revert to Firefox 26!
    First, I use Windows 7 64-bit and I always use Firefox with at least 120 tabs opened. BUT I have 8 GB of RAM, an Intel core i7 quad-core processor and more than 1 TB of hard disk space. Consequently, I do not understand why I would have these two critical bugs.
    With Firefox 26, I also have at least 120 tabs opened when I start Firefox and I do not have the two critical bugs described below, therefore I do not believe that the number of tabs is the reason of the two critical bugs that are present in Firefox 27, 28, and 29.
    ---FIRST CRITICAL BUG:
    When I open ANY web page and do File, "Save Page As", the window that is supposed to open to locate the folder where I want to save this web page does NOT open at all, even if I wait a long time to see if it opens.
    Same problem happened with Firefox 27, 28, and now 29!! When I reverted back to Firefox 26, this problem did NOT happen anymore!
    ---SECOND CRITICAL BUG:
    When I use Google Images, for instance entering model in the search field of Google Images and then pressing enter.
    Then I select any picture, open to a new tab this selected picture, then open a new tab by selecting the option View for this picture. Then right-click the picture and select "Save Image As".
    Again, the window that is supposed to open to locate the folder where I want to save this picture does NOT open at all, even if I wait a long time to see if it opens.
    Same problem happened with Firefox 27, 28, and now 29!! When I reverted back to Firefox 26, this problem did NOT happen anymore!
    ---THESE TWO CRITICAL BUGS DO NOT APPEAR WHEN I USE INTERNET EXPLORER 11.
    I have no idea if you will be able to reproduce these two critical BUGS but I can assure you that they are not present when I use Firefox 26 and they are present when I use Firefox 27, 28, and 29. More, be aware that I have at least 100 tabs opened but I also have this same number of tabs opened in Firefox 26 and yet I do not experience these two critical bugs when I have Firefox 26!
    Once again, these two bugs touch at two vital, critical very basic functions of Firefox and therefore I will NOT be able to use any version above 26 if these two bugs are still present, as they are present in Firefox 27, 28, and now 29!!!
    Please, make it a priority to solve these two critical bugs. Thanks.
    I did read a post related to the same issues “Firefox stops responding when trying to "save page" or "save image" | Firefox Support Forum | Mozilla Support” at https://support.mozilla.org/en-US/questions/991630?esab=a&as=aaq
    I am still reading it again to try to figure out exactly what the person did to make his problems be solved, as the post is not clear at all on what solved the problems!
    In any case, all the suggestions proposed in this post do not work and I surely cannot do a system restore when it is obvious that the two bugs do not appear in Internet Explorer.

    First, I sent an email to the author of PhotoME to inform him of the serious issues his addon caused with Firefox latest versions.
    Now, for those of you who do not have the PhotoME addon and yet experience the same problem that I had and that I described above, I suggest the following strategy.
    As PhotoME did cause these problems with Firefox latest versions, I am pretty covinved other addons probably might cause these problems too. Therefore, adopt the following method.
    Test one addon at a time to see if this particular addon is behind your Firefox issues like the ones I had.
    So, disable one addon only at a time. Then close your Firefox and restart it from scratch and see if you still have your Firefox problems. You must restart the Firefox browser from scratch. If you still have these Firefox problems, re-enable the disabled addon, restart your Firefox (again!) and repeat the same method for every single addon that you have.
    Try to be selective by choosing first addons that are more likely to cause your Firefox problems such as not very well-known or not very popular addons (like it was the case for the PhotoME addon).
    If this method works or if it does not work, report it on this web page so that others can be helped with your comments.
    I hope this method will help you because I was really upset that I had these Firefox problems and I first thought it was the fault of Firefox, only to discover later that this PhotoME addon was the culprit and had caused me such upset.

  • File Save As Other Reader Extended PDF Enable Commenting & Measuring GRAYED OUT

    I have an PDF form created in Adobe LiveCycle Designer ES 10.0.
    When I open in Reader, All the "Sign" options are grayed out.
    Under "Properties" Signing is allowed but Commenting is not.
    From all I have seen, I hope that allowing Commenting will allow me to use the sign features.
    The only solution I'm finding on the internet is below:
    File > Save As Other > Reader Extended PDF > Enable Commenting & Measuring
    It is grayed out in my (latest version of) Acrobat pro.
    **Is there a way to make this option available?**
    **Will this even solve my problem?**
    **Is it possible that it is impossible to use these features on this document?**
    At this point, I've spent about two and a half hours on this issue and haven't been able to find a solution. Very frustrated.
    Thanks.

    Thanks. I'm not an IT person and needed that lead.
    In the end, I just printed to Adobe PDF and then was able to use the commenting options (once I had flattened it). For those who might come across this - this is one of the only ways to flatten a XFA PDF.

  • File Save Dialog does not show web folders

    Hi.
    My system is SAP ECC 6.0. From custom abap program, I need to be able to navigate to a sharepoint folder and save a file to it. I call METHOD cl_gui_frontend_services=>file_save_dialog for this. I have already mapped/added the SharePoint site (ex. http://abc/xyz/) to My Network Places. However, when I run my program, the File Save Dialog does not show the web folders in the said sharepoint site. Any clue to what I'm missing here? In WiinExplorer, I have no issue navigating/accessing the web folders.
    Thanks in advance.

    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?

  • Download file in struts - File save dialog not showing up

    Hi,
    The issue i have is - the file save dialog box which should be displayed on file download is not showing up.
    I have a DAO being called from the Action form SaveDocumentAction which extends DispatchAction and has a download(mapping, request, response,..) method. Below are relevant portions of my code.
    public void showDocument(DocumentTO Doc, HttpServletResponse response){
    //get filename etc
    response.setContentType("application/x-download");
    response.setHeader("Content-Disposition", "attachment; filename=myFile.txt");
    OutputStream out = response.getOutputStream();
    //code for writing from input file to out
    I shld be getting a File Save dialog after response.setHeader(), but I am not. Can anyone tell me where I am going wrong. I have printed SOPs and all print fine, even the file writing part.

    Put this code into a servlet rather than a JSP.
    JSP are for returning text based HTML pages. It adds extra carriage returns into the response that will corrupt the file, and prevent the dialog showing up.
    This code is much better off being in a servlet
    If you are using a FileInputStream, you should be using a ServletOutputStream rather than the JSP writer: response.getOutputStream()
    When dealing with file input in a JSP/Servlet you should use the methods of ServletContext. getRealPath() turns a website relative file into a real location on disk. getResourceAsStream() opens the file for you. getResourceAsStream() is more reliable as it will work even if the web app is deployed in a packed WAR.
    Cheers,
    evnafets

  • Prevent File Save Dialog appearing?

    I have been using Excel 2010 to create Word Documents and then use .SaveAs to save the newly created file without any issues
    When I moved to Office 2013 the same code now presents a File Save dialog box.
    I have researched the issue and can find no way to prevent the Dialog appearing (and worse regardless of the user selection the Excel code crashes)
    The following is a simplified version of the troublesome code
    Sub TestWordSaveAs2()
    Dim InvoiceProFormaFileName As Variant
    Dim NewFileName As String
    Dim WordApplication As Object
    Dim WordDoc As Object
      ' Prompt for a word document
      InvoiceProFormaFileName = Application.GetOpenFilename(FileFilter:="Word Documents, *.docx", Title:="Any Word File", MultiSelect:=False)
      Set WordApplication = CreateObject("Word.Application")
      Set WordDoc = WordApplication.Documents.Open(InvoiceProFormaFileName) ' Open the pro-forma invoice
      ' Create a new name
      NewFileName = Replace(InvoiceProFormaFileName, ".docx", "2.docx")
      WordDoc.SaveAs2 Filename:=NewFileName, FileFormat:=16, AddtoRecentFiles:=False ' <======= this line Shows the File Save Dialog and then fails
      WordDoc.Close SaveChanges:=0 ' wdDoNotSaveChanges
      ' Finished with the Word Application so can close
      WordApplication.Quit
    End Sub
    Thank you in advance

    Hi,
    I have create a doc file and a excel file in my pc, after I run the code you have provided ,and choose the doc file I just created, it runs without any save dialog. And My Office is Pro Plus 2013 .
    I have upload my sample to OneDrive, you can download it here:
    http://1drv.ms/1DhnMe5
    When you run this sample, will this show the save dialog again ?
    To narrow down this issue, can you create a new empty word and choose it in the excel, does it will happen again? if it is convenient, can you share the doc file you're using? Have you update your office ?
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Presenter forces permanentely the file save dialog even for unchanged documents

    Presenter permanentely forces the "Do you want to save the changes ..." file save dialog to appear even for unchanged documents when I try to close it.
    To confirm the saving all times is not the solution because then I will loose the file's time/date stamp for the last real change.
    Not confirming the saving can be risky in case of any changes to the document which I am not aware anymore for that moment.
    Especially in case of having multiple documents open - this drives me really crazy.
    Deactivating the Adobe Presenter Add-in would solve the issue - so it is a problem related to Adobe Presenter (and not related to Powerpoint).
    I am using:
    Adobe Presenter 9.0.2
    Microsoft Office Professional Plus 2010
    Windows 7, 64 bit, Service Pack 1
    Thanks for your help
    Stefan

    The easiest way to solve the problem is to temporarily deactivate Adobe Presenter when you don't need it.
    In PowerPoint, go to File / Options / Add-Ins, select "COM Add-Ins" at the bottom of the window and click "Go".
    Then un-check the Adobe Presenter PowerPoint COM AddIn:
    You can easily reverse the process when you next need to use Presenter.

  • Presenter forces the file save dialog even for unchanged documents

    Presenter always forces the "Do you want to save the changes ..." file save dialog to appear even for unchanged documents.
    To confirm the saving all times is not the solution because then I will loose the file's time/date stamp for the last real change.
    Not confirming the saving can be risky in case of any changes to the document which I am not aware anymore for that moment.
    Especially in case of having multiple documents open - this drives me really crazy.
    Deactivating the Adobe Presenter Add-in would solve the issue - so it is a problem related to Adobe Presenter (and not related to Powerpoint).
    I am using:
    Adobe Presenter 9.0.2
    Microsoft Office Professional Plus 2010
    Windows 7, 64 bit, Service Pack 1
    Thanks for your help
    Stefan

    The easiest way to solve the problem is to temporarily deactivate Adobe Presenter when you don't need it.
    In PowerPoint, go to File / Options / Add-Ins, select "COM Add-Ins" at the bottom of the window and click "Go".
    Then un-check the Adobe Presenter PowerPoint COM AddIn:
    You can easily reverse the process when you next need to use Presenter.

  • SharePoint Library - If I save file from Excel File Save As - then I always get "File already exists. Do you want to replace it?" - Upload works fine though.

    Hi there,
    In my SP 2010 document library - When I try to save an Excel file from File > Save As menu to the document library it always prompts me "File already exists. Do you want to replace it?" even though the file does not exist in that document library.
    To the same document library - if I upload a file then it accepts it all fine.
    Any clues why I cannot save files using File > Save As menu?
    Thanks.

    Hi,
    As I understand, the notification pops up when you save an excel file to SharePoint library, while when directly upload file to library, there is no wrong.
    Please confirm if the issue occurs to other machines.
    Please open Microsoft Office Upload Center on the issue machine, then click settings, clear cache via checking Delete files from the Office Document Cache when they are closed.
    http://office.microsoft.com/en-in/excel-help/office-document-cache-settings-HA010388664.aspx
    If the issue occurs to client, I’d recommend you also ask the question in Excel forum:
    http://social.technet.microsoft.com/Forums/office/en-US/home?forum=excel
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Twice Today Photoshop CS5 Just Quit During a File - Save As

    I've been doing a lot of raw image processing today with Photoshop 12.0.4 64 bit.
    On two occasions, after having opened an image through Camera Raw, working on it in Photoshop proper, then attempting a File - Save As so as to save the PSD, Photoshop just quit.  Disappeared.  No error, no warning, no nothing, not even in the Windows Event Logs.  Kind of a PIA when you're finally happy with an image and it dies when you try to save it.  I know I'm not the first to report this; I recall discussing exactly this issue with someone else a few months back.
    I narrowed it down to EXACTLY what I was doing in both cases when it quit:
    I had chosen File - Save As, and gotten the Save As dialog on the screen.
    The default folder wasn't where I wanted to save, which in both cases was C:\TEMP, so I typed exactly the following characters, replacing entirely the filename shown:
    C : \ t e m p \
    It was instantly upon typing the second backslash in both cases that Photoshop left the building.
    When it DOESN'T quit, this is the exact point where normally the Explorer dialog puts up a list of files in that folder, as shown in this screen grab:
    Notably I have a LOT of files in that folder.  I haven't cleaned it up in an age, and I guess I should do so on the chance that maybe the list is just so long that someone didn't allocate enough space internally...
    Here's a detailed edit log from the second quit:  http://Noel.ProDigitalSoftware.com/ForumPosts/PhotoshopQuitLog.txt
    I'm not sure whether it's just the number of files in that folder, the large number of images I'm processing today, something specific I'm running (e.g., HDR Toning), or something that's recently changed that's causing this (for example, I installed ATI's Catalyst 11.9 day before yesterday).
    I'm going to reprocess the same image again, and I'll probably do substantially the same things.  I'll add more info to this thread if I see it again.
    -Noel

    Bah, no more than I typed the above, than I specifically tested the exact same sequence and reproduced the problem again.  This was a relatively short editing sequence.
    Notably the current folder the dialog was open to as I was typing the path was the one from which I opened the file, which contains rather a lot of raw image files.  The dialog wasn't showing any of them because the default filename was file type .psd, which didn't match any files in that folder, so while your thoughts about FastPictureViewer maybe working on thumbnails could possibly be pertinent, it seems less likely.
    I'm going to try to nail this down to a reproducible set of steps.  Notably, one thing I'm sure I did in all 3 cases, which I don't often do, was a Crop with Perspective checked (and corners moved).
    Another thing I did was Image - Adjust - HDR Toning.  I just tried again without doing that and no quit.  Unfortunately, I did HDR Toning and still no quit. 
    -Noel

Maybe you are looking for

  • IPod recognized by comnpuer...SOMETIMES

    I just got a refurbished second generation nano from Apple. I plugged it into my computer and...nothing happened. I plugged it in again and it was recognized for about 10-15 seconds and then I got the "Device was improperly removed" message. Somehow

  • Background job processing - SM36

    Hi All,              I need to schedule a job in the background(using SM36) . The report should run in the night from the last day of the month to the first day of the next month. What are the stepts to be followed in SM36 to achieve this? Thanks , V

  • Help Please! How can i get rid of shopper pro from my google chrome browser?

    Help Please! How can i get rid of shopper pro from my google chrome browser?

  • Restoring clients after homogeneous copy

    Hi... I have a QAS system with three clients (100, 120 and 200). I have a PRD system with just the client 100. I was asked to perform an homogeneous copy from PRD to QAS, but to make sure clients 120 and 200 are not destroyed. My question is: Would a

  • Adding a guest user

    How do I add a guest user and set it up so that the guest user can use X and all that. Also, when I start arch it goes directly to console. I like this as opposed to a log in manager. With the help of my fellow archers I added arguments to the xinitr