Download a file which is encoded as a String

Hi All,
     I have a file which is encoded(Base64) as a String. Is there any way in flex to  decode and download the file.
  A sample code would help me !!!!!.
Thanks.

Check out the mx.utils.Base64Encoder/mx.utils.Base64Decoder classes.

Similar Messages

  • If i download any file which is prepare on microsoft office 2007 . The file have been download without extension of the prog. Means if files name is "1,docx" when i download from firefox it download in that form "1". after download i have to rename and gi

    If i download any file which is prepare on microsoft office 2007 . The file have been download without extension of the prog. Means if files name is "1,docx" when i download from firefox it download in that form "1". after download i have to rename and give the extension name is plz tell me the way that office files are compatible with it.
    == This happened ==
    Every time Firefox opened
    == when i download the office files

    In Firefox Options / Privacy be sure "Remember download history" is checked. To see all of the options on that panel, "Firefox will" must be set to "Use custom settings for history".
    To find your OS information, on your Windows desktop, right-click the My Computer icon, choose Properties, under System on that small window is info about your OS.
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • Downloading a file which is stored in FTP

    Hi,
    I am developing a webdynpro application where i need to display the flenames in the table which are stored in FTP. And by clickng the filename,it should be downloadable.
    Can anyone Please tell how to download a file through webdynpro application (the file should come from FTP)
    Thank You,
    Madhavi.T

    1) Create an FTP connection from NW java App. server to the FTP server.
    or
    2) Use ftp location, username & password in URL and read the file.
    or
    3) Use any .jar file which reads from ftp.
    follow the thread listed below:
    Image Upload and Download
    How to access the remote file from webdynpro
    Uploading and Transferring Files in Web Dynpro
    regards,
    Nikhil Bose

  • Need to download a file which si space delimted and has fixed length char

    Hi,
    I have a custom report which downloads an output file in text format.I need the contents to be space delimited.My file data contains numbers as well as characters.I ahve pased the parameter WRITE_FIELD_SEPARATOR = ' ' in the FM.Hwoever the space is introduced only oif the column value is a character.If its a number/digit,the columns are not seperated by space.
    Now my data appears like that:
    0000101310179.28 +0827200808 DHLBSRF VISA AUG 2008US021SW111 RYAN,BICOVNY
    I want my data to be like this :
    0000101310 179.28 + 0827200808 DHLBSRF VISA AUG 2008 US02 1SW111 RYAN,BICOVNY
    DO I need to pass any additinal parametre?Also for fixed length characrets,do i need to pack/unpack data before passing to the FM ?
    Thanks.

    Hi,
    try this way.
    REPORT ztest_notepad.
    DATA: BEGIN OF it_download OCCURS 0,
           data TYPE string,
          END OF it_download.
    DATA: BEGIN OF it_vbrk OCCURS 0,
            vbeln TYPE vbrk-vbeln,
            fkart TYPE vbrk-fkart,
            fktyp TYPE vbrk-fktyp,
            netwr TYPE vbrk-netwr,
          END OF it_vbrk.
    DATA : l_netwr TYPE char21.
    "START-OF-SELECTION.
    START-OF-SELECTION.
      SELECT  vbeln
              fkart
              fktyp
              netwr
       FROM vbrk
       INTO CORRESPONDING FIELDS OF TABLE it_vbrk
       UP TO 100 ROWS.
      LOOP AT it_vbrk.
        l_netwr = it_vbrk-netwr.
        CONCATENATE it_vbrk-vbeln
                    it_vbrk-fkart
                    it_vbrk-fktyp
                    l_netwr
            INTO it_download-data
            SEPARATED BY space.
        APPEND it_download.
        CLEAR  it_download.
      ENDLOOP.
      CALL FUNCTION 'GUI_DOWNLOAD'
           EXPORTING
                filename = 'C:\test.txt'
                filetype = 'ASC'
           TABLES
                data_tab = it_download.
    Thanks
    Venkat.O

  • I'm downloading a file which I know has been updated on the server but I'm still getting the old one... I think there is a cache somewhere I need to clear but I'm not sure ?

    I have a file on my own server which is available to the public to download I uploaded a new version so I know it replaced the existing one. But when I try downloading it through Firefox I just get the older version and not the new one... I seem to remember having this problem before and was given details of how to clear the cache concerned, but I don't know for sure. Any help would be appreciated thanks

    Ctrl F5 doesn't do anything. (I'm on a Mac if that makes a difference.) The link is to the online page and it does prompt me for the id and password for that page.
    The page is designed in htm.
    This is driving me a little nuts. I suspect there is a library file somewhere that itsn't being cleared out, but I can't figure out where.

  • Search files which filename contains a speicific string

    Hi
    I'm lookng for a way to find all files in a directory which part of filename contains a specific string.
    e.g.:
    string = hello
    files;
    - 1hello2.txt
    - 22he45.txt
    - gehello42353.txt, ....
    The result should be either an index or the complete filename that matches. In the example I'd found index 0 and 2, or 1hello2.txt and gehello42353.txt.
    Actually I have the list of the files with the "recursive list.vi".
    Any suggestions are welcome.
    Thanks for your precious help
    Yves
    Solved!
    Go to Solution.

    You can use List Folder - function with *hello* -pattern.
    From there you get filenames, which include that specific pattern.
    If you allready have list of files:
    - use Scan string for tokens in a for loop and if token index != -1, then you can add that array index to the list.
    I´m sure there are better ways to do this, but nothing I can come up with quickly.
    Attachments:
    search.png ‏16 KB

  • Download file which is in Stream format

    Hi All,
       Is there a way to download a file which is in stream format in flex ?
      A sample code would help me !!!!!
    Thanks.

    You can reorder pages by dragging them to new positions in the Pages pane on the left.

  • How to download a file from other server using servlet

    Hi All....
    Good Morning....
    right now,i am facing a problem..i am trying to download a file which is in other server..i tried somany ways and i couldnt succeed in this...
    will u pls give me solution for this..
    because it is very urgent for me...
    i am very much thankful if u provide me the code samples also....
    i am seeking ur help...
    Regards,
    sathya

    right now,i am facing a problem..i am trying to download a file which is in other server..i tried somany ways and i couldnt succeed in this...If you can tell some of our approaches and the failures you faced, someone might be able to help you.
    I dont think anyone will just give the code samples.

  • Download Language file on Presentation Server.

    Hii
       I want to download a file which is language specific.Means the data in the internal table is in Login Language .I want to download the data as present  in the internal table to a local file .
    Please suggest .
    Ajitabh Pradhan

    Hi,
    You can do that using the GUI_DOWNLOAD. but at the same time , whatever thaelogon language is that should be installed in your system, then only the proper file will be downloaded ..
    Regards
    Sudheer

  • I download a file in the torrent site which is MP4 but unfortunately i tried to delete it but i can not. but all the files that i have is easily to delete only MP4 files i can't delete in the download foldeer please try to help dont know what to do please

    i download a file in the torrent site which is MP4 but unfortunately i tried to delete it but i can not. but all the files that i have is easily to delete only MP4 files i can't delete in the download foldeer please try to help dont know what to do please

    Well you can sync your iPod/iPhone to yur computer or laptop then take the photos off of your iPod like taking photos of of a SD card (from a normal camera) or off of a USB..! Good Luck. plz tick this saying This solved my question if it helps you.

  • HT3702 Why can't I download my already purchased music and other files from iCloud, even though I owe money to iTunes for my most recent purchases.  Doesn't seem right that they keep me from accessing those files which I've already paid for!

    Why can't I download my already purchased music and other files from iCloud, even though I owe money to iTunes for my most recent purchases.  Doesn't seem right that they keep me from accessing those files which I've already paid for!

    - Are you saying that they are not listed in your Purchased section?
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    - Are they listed in your Puchases history when you log into your account on your computer?
    - Are they still available now for purchase? If not then you are out of luck
    If they are still available and listed in your Puchase History then contact iTunes
    http://www.apple.com/support/itunes/

  • How can i restore the files which are important to me which i suddenly delete the files in download?

    i nid to restore the file which i suddenly delete in download.. i was about to delete the files which are not important but i suddenly delete the files which are important... how can i restore it??

    Check the Windows recycle bin, you may be able to recover the files from there. Right-click on the recycle bin icon on the desktop and select Open. This will open Explorer, if the files are listed there, right-click on them and choose Restore.
    If the files are not in the recycle bin, you can try a file recovery utility such as recuva - http://www.piriform.com/recuva

  • I'am using iphone 5 i tried to update the ios 8.0.2 using the shift key in itunes update @ windows 8 i have the file which i downloaded, but it says that firmware version is not compatible. what can i do for it . help me friends

    i'am using iphone 5, i tried to update the ios 8.0.2 using the shift key in itunes update @ windows 8 i have the file which i downloaded, but it says that firmware version is not compatible. what can i do for it . help me friends

    Hello vinoth1986,
    After reviewing your post, I have located an article that can help in this situation. It contains a number of troubleshooting steps and helpful advice concerning update issues:
    If you can't update or restore your iPhone, iPad, or iPod touch
    Thank you for contributing to Apple Support Communities.
    Cheers,
    BobbyD

  • Hi!  I have downloaded a ready-made website and I can't seem to open it.  The "theme" install instructions are talking about a "zip" file which I cannot see.  Would anyone know why I can't open it?  PLEASE HELP!!   Thanks!

    Hi Everybody
    I have downloaded three "ready-made" websites for me and it is supposed to have Wordpress in as well.  I can see the folders in my downloads but I can't open them.  It refers to a "zip" file which I don't see nor a "dmg", only a blue folder.   Can anyone help me to figure out how to get this open and set up on my computer?  I guess you can tell I'm new and very frustrated.  Thank you!

    It's not clear what you mean by 'see the folders in my downloads but I can't open them', although it seems possible that a zip file opened/unzipped to create them.
    Perhaps if you include a screenshot, and/or a link to the site where you got these, and describe exactly what happens when you try to open a folder that won't open.

  • Why do pdf files from some web sites download as aspx files, which I can't open from Firefox but I can in Internet Explorer?

    I have tried downloading files which are supposed to be pdf but they download as aspx files. This doesn't happen if I use Internet Explorer and other pdfs from the same web site download without a problem.

    To make a long story short, the server can send a preferred file name but isn't always programmed to do so. IE sniffs the beginning of the file and may override what is sent by the server; Firefox does not.
    You can manually change the file extension when you save it (if you have Firefox set to ask you where to save) or you can rename it after it is saved.

Maybe you are looking for

  • Goods receipt via RF devices

    Hello, There would have been many threads on GR by RF devices however the company which we are implementing SAP WMS (ECC 6.0) currently works with more advanced WMS solution and we have a task in hand to at least match the functionalities which it is

  • Stretched text in table

    I have text in a table which I have had to stretch horizontally - the text has stretched with the table but the character pallet shows it as normal. How can I reset the text to its normal 100% horizontal/vertical scale? If I delete text from a cell a

  • New to Visual Studio 2008, not new to CR - but have  question

    Hi, I started a position to build reports for a small company.  They use VS 2008 and Crystal 2008 (basic).  I am not new to Crystal Reports, been using it since version 4.0.  But I am new to integrating it into Visual Studio or using it to deploy rep

  • Upgrading 10.2.0.3.to 10.2.0.4

    Hi, I'm patching my 10.2.0.3 production database to 10.2.0.4. Using Oracle ReadMe notes, I see that I've to stop the following processess in the order specified: - isqlplusctl stop - emctl stop dbconsole - lsnrctl stop The only listener that runs on

  • IPhoto 5.0.4 will not load

    I currently have a ibook G4 with Mac OS X version 10.4.11.  It came with iPhoto 5.0.4 and up until the past two days I have not experienced any problems.  However currently the program will not load.  When I open it states it is loading the photos.