Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7715089
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T02:17:57+00:00 2026-06-01T02:17:57+00:00

I am using FileReference.save to save a jpg to the user’s computer. In Windows

  • 0

I am using FileReference.save to save a jpg to the user’s computer. In Windows 7, I pass in ‘test.jpg’ as the file name to be saved but only ‘test’ appears in the file save dialogue (‘test.jpg’ appears as the file name in Windows Vista). So, unless the user manually adds the .jpg extension, Windows 7 does not know it is a jpeg file since it is just being saved as ‘test’. I’d like to be able to pass the .jpg extension for the user but Windows 7 seems to be stripping the file extension from the file name that is passed to the file save dialogue.

fr = new FileReference();
fr.save(imgByteArray, 'test.jpg');
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T02:17:58+00:00Added an answer on June 1, 2026 at 2:17 am

    Alright so the issue is just that the OS is hiding the extensions from you. To fix it:

    1. Click Start Menu
    2. Click My Computer
    3. With my computer window having focus (click on it to be sure) hit the Alt key this will give you the older style menus.
    4. Click the Tools menu go down to Folder options…
    5. In the window that pops up click the second tab at the top called View.
    6. In the list of checkboxes at the bottom uncheck the Hide extension for known file types box.
    7. Hit OK
    8. Run your Flex program again

    Alternative to steps 1 and 2 you can hit WinKey+E to get an explorer window.

    Yay for technical writing 101.

    When you do a save, browse, or download, action the dialog that’s opened is OS dependent and so is treated with settings applied to the OS by the user. If you’re in the context of AIR you can save directly without the dialogs using the FileStream class.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using FileReference to open a file, but I can only get the file
I'm using Flex in Flash Player 10 on Windows, using FileReference to load a
I am using Ruby, RestfulX, and Paperclip to upload a File, using the FileReference
My application asks the user to select files for upload using a FileReference /
using xmltextreader, how would I load a hashtable. XML: <base><user name=john>2342343</user><user name=mark>239099393</user></base> This was
I am using a filereference Object to export an excel file from my flex
When using FileReference.download() to retrieve a file from a server, I'd like to give
I'm using FileReference to retrieve an exported CSV file from the server. The fileReference.download(url,
I am trying to retrieve the ByteArray from a file selected using the FileReference
I'm trying to do a file upload in Flex using it's FileReference class. This

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.