How can I download files from my Flex 2.0 Application?

How can I make a feature to transfer the file with Flex 2.0? Do I have to make the component? How is the code in Flex / Action Script to make this possible? I am new to this world of Flex and it seems to me very interesting RIA applications; in fact, I make a small Application used for my business and I will try this technique and of course I need the functionality that I ask.

Kind regards.

Andres.

I have not tried, but I think what you could do is add
requestHeaders to the urlrequest object that you pass in the file.upload)
method. The requestHeaders is an array of name/value pairs that would be
included with your post. At least in theory, I think it should work.

Good luck.

Phil

"tantalo" wrote in message
News:e3q3mt$138$1@forums. Macromedia.com...
> Hi. Phil, how I pointed out in the forum examples works well, with a
> little
> changes to make a File Upload. Now, I have a doubt, I need to make one
> submit a form that contains other fields and the selected file.
>
> I did a HTTP Service for this purpose with the tags like queries:
>
>
"' > url = ' http://andresbarrios:8080/directorio/empleados/insertarEmpleado.jsp '
> useProxy = "false" method = "POST" >
>
> {empresa.selectedItem.data}
> {ubicacion.selectedItem.data}
> {departamento.selectedItem.data}
> {cedula.text}
> {nombre.text}
> {apellido.text}
>
> {sexo.selectedItem.data}
> {estado_civil.selectedItem.data}
> {telefono_celular.text}
> {extension.text}
> {correo_electronico.text}
>

>
> I have the global variable called 'file' that contains the selected file.
> I
> Send this variable file in the call of HHTPservice EmpleadoRequest,.
> what I can
> that, with a label of the application, as another area? or the only way is wrong:
> file.upload (upload.cfm)?;
>
> I only want to make a call to the server to present the form fields
> and
> Download the file at th e same time can you help me how I can do?
>
> Thank you.
>
> Cordially.
>
> Andres.
>
>
>

Tags: Flex

Similar Questions

  • How can I download files from HUS and VIP for my Bernina Version 6 software?

    Original title: download embroidery files

    How can I download files from HUS and VIP for my Bernina Version 6 software? Currently, I'm only able to download ART and PES files.

    joydesigns.org (a HUS file extensions) and comcast.net (a VIP file extensions). I get a message that says "windows cannot open this file, use the web or select the program from a list". I downloaded supposed solutions to problems of conversion and lived to regret it. So, I don't know what I can do to download these special files.

    In your original post, you said you wanted to download files to use with your software Bernina HUS and VIP.

    HUS files are Husqvarna Viking embroidery files.   VIP files also are Husqvarna; Here is the Viking/Pfaff home embroidery Format.

    You have reason to believe that your Bernina embroidery software should be able to use the Husqvarna Viking files?

    On the site joydesigns.org, the design of the Dove who has the instructions "Click on the dove to go to the download page for design in .hus format" actually will download a zip compressed file if you click the icon ("FlyingDoleB.zip").  When you click on an image to download the file, you must select the option to save these files in a location that you will remember and then right click and select "extract" all to join the HUS of the file (not all downloads from this Web site are HUS).

    Once you have the file HUS, you right-click, select open with > choose program, then select your Bernina software in the list (or browse to its location in C:\Program Files).  If you check the box "Always use the selected program to open this type of file" you can double-click on these files in the future.  Of course, it depends on software Bernina being able to recognize the files of HUS.

    VIP files on some comcast getaway site should be handled in the same way.

  • Download from cd: How can I download files to my documents that came from my old computer w/xp?

    How can I download files to my documents that came from my old computer w/xp. When I insert the CD all that appears is the Roxio program that wants to burn a new CD.

    Tuesday, June 15, 2010 21:21:34 + 0000, j r, johnson wrote:
     
    > How can I download files to my documents that came from my old computer w/xp. When I insert the CD all that appears is the Roxio program that wants to burn a new CD.
     
     
     
    Your question is very difficult to understand. First of all, you can not download
    from a CD. The word 'download' means to copy a file (perhaps a program)
    file, but not necessarily) from a server somewhere on the internet at
    your own computer. Please do not reverse this word by "install,"
    which means to load a program on your disk hard drive in a form where
    It can be run
     
    Generally, you install a program from a CD, a floppy disk or
    on the internet. Only in the latter case, the internet, is there any
    Download in question, but then again, it's a two-step process: first
    Download you it, and then you install it.
     
    Second, I don't know what you mean when you say ' files for my.
    documents '. Please specify what that means.
     
    And what CD you insert? Where do you have? Why are you
    Threading? What do you expect on that?
     
     
    Ken Blake, Microsoft MVP (Windows desktop experience) since 2003
     

    Ken Blake

  • How can I download data from key USB flash to a Windows 7 computer

    I need to transfer some files from my PC to my PC Windows 7 Windows XP using a USB flash key. I've used Windows Easy Transfer to move my files without problem and some programs but did not download some files. I downloaded these files on a USB flash and I can access the files, as long as the stick is pluged. How can I download data from the USB flash on my Windows 7 computer

    Hello

    The following video may help:

    http://www.YouTube.com/watch?v=hrMQh0Xkpvs

    or this article:

    http://www.swarthmore.edu/documents/administration/its/how%20To%20Use%20A%20USB%20Flash%20Drive.PDF

    and here:

    http://TECHTIPS.salon.com/use-USB-flash-drive-transfer-files-PC-Mac-2544.html

    (Mac here can be a PC).

    Good luck.

  • How can I download postscript from adobe on my computer

    How can I download postscript from adobe on my computer

    PostScript is a format of file / code of the language specification. There is no way to 'download' or other. It is generated by the graphics programs and printer drivers.

    Mylenium

  • How can I copy files from project Waveburner to another internal drive?

    How can I copy files from project Waveburner to another internal drive without losing the connection to the files audio orig.?

    Thank you for your time,

    Since no one answered my call, I sat and researched and studied WaveBurner behavior and I can myself answer my question and solve. Since there were a lot of people asking similar questions on WaveBurner files I will post what I learned.

    Whenever you drop your audio files in the list window to make your WaveBurner CD copy not copy your audio files, but relies on the original audio file, where they are located. So whenever you move the files orig. and you open WaveBurner, it can't find those and displays an error window to suggest it will search for the missing file or if you know where he is now lets you find manually. WaveBurner usually place the .wb3 project file that contains everything including your home folder.

    For this reason, I reserve now an audio file WaveBurner also folder in my home folder. In order to save themselves from WaveBurner cannot find the audio file, all audio files that I do, I put in my folder of audio files WaveBurner first, then copy them in WaveBurner from there.

    When I need to use a bigger hard drive I copy .wb3-WaveBurner projects based, but also my

    Sound folder WaveBurner for the home folder on the new hard drive.

    WaveBurner is now all audio files without problem.

    I hope that this will be a unique problem to someone else. Happy WaveBurning.

    W.W.

  • How can I transfer files from my old pc sony Vista for my laptop new HP 17-j003

    How can I transfer files from my old sony pc running vista for my laptop new HP 17-j003 Windows 8

    Welcome to the HP, Roodie forum.

    There is an easy way to do it using Microsoft Windows Easy Transfer :

    Transfer files and settings from another PC

    -------------------------------------------------------------------------------------------------------------------------------------

    If you do not want to transfer files using the easy transfer method, you can manually make the copy.

    1. You can connect the systems on the same network,
    2. Define the folders that contain your data transfer to 'Share' on the network
    3. Map the drive on your new Vista computer system network
    4. Copy the data you want to transfer

    On the Vista Machine:

    • Open a Windows Explorer window,
    • Right click on the folder that contains the data you want to 'share' (transfer)
    • Click Properties > share > share and follow the instructions to allow the folder to be shared on the network

    On the Machine Windows 8:

    • Windows key (opens the start screen) > anywhere type 'computer' >
    • Click on "computer" to open the "Computer" File Explorer window >
    • Click map network drive and follow the instructions to map the drive

    Don't forget: If your account name is different on the Vista computer, you will need to click on "Sign in using different credentials" and then enter the name of the account on the Vista computer AND the password for this account.

    You can do this with the upper or lower level folders folder level - as long as the folder is shared, you should have general access to the data it contains.

    There are cases where you will not end up being "owner" of the data transferred - you will have to perhaps enter and adjust the property for files / folders after they are copied to the computer of Windows 8.

    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

    Click on the star of congratulations !

    It's a big 'thanks' for the author's efforts.

    Solved?  Click on my answer 'Accept as Solution' to help others to find a solution.

    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

  • How can I copy files from my top of counter to my flash drive

    I do not remember how can I copy files from my top of counter to my flash drive. can someone remind me of the process. thanx

    Plug it in, select the file/s and then to the right of the mouse / send to

  • How can I download photos from my camera card in the small front port?

    How can I download photos from my camera card once I put it in the small harbour in front of the computer?

    Hi Islarich,

    Thanks for posting the question on the Microsoft Community Forums.

    According to the description, it seems you are trying to download images from the camera.

    It would be great if you could answer this question in order to help you further.

    You connect your digital camera to your computer using, USB cable or a memory card?

    To download the pictures from my camera to the computer, refer to the following Microsoft article:

    How can I get pictures from my camera to my computer? http://Windows.Microsoft.com/en-in/Windows-Vista/how-do-i-get-pictures-from-my-camera-to-my-computer

    Troubleshoot camera connection: http://windows.microsoft.com/en-us/windows-vista/troubleshoot-camera-connection-problems

    If you need Windows guru, do not hesitate to post your questions and we will be happy to help you.

  • My windows 8 pro 64-bit oem disk is broken. How can I download ISO from microsoft?

    My windows 8 pro 64-bit oem disk is broken/not can not be read from the optical drive. How can I download ISO from microsoft? Thank you.

    Thanks for responding to my question.  Unfortunately I'm building a new pc for myself and there is not yet installed on the pc of the OS. It is not clear if the downloaded package requires a previously installed operating system of existing windows.  Anyway, thanks again for taking the time answering my question.

    Try to return the drive to the place you bought it for a replacement. Not guaranteed, but they could understand.

    or

    How to replace hardware or lost, broken, or missing Microsoft software

    http://support.Microsoft.com/kb/326246/en-GB

  • How can I download it from the Web site that was sent to me?

    How can I download it from the web site that was sent to me by Adobe?

    Thank you for mentioning the name of the Adobe application, you are trying to download.

    If its creative Cloud applications, you can check the link below:

    https://helpx.Adobe.com/creative-cloud/help/download-install-app.html

    All other Apps that had bought you using the serial number such as Photoshop Elements or Lightroom 6... etc? You can check the link below:

    Other downloads

  • How can I download images from cf card

    I put the cf card in the card reader and click on get images from the camera, but it can not find all the images.

    Double post

    IM using a mac how can I download images from a cf card after it is inserted into the card reader

  • How can I download videos from my DSLR Sony DHV for later editing and the creation of a DVD?  I just installed Adobe software today and can't find anything about it.

    How can I download videos from my camera Sony HDV for later editing and the creation of a DVD?  I just installed Adobe software today and can't find anything about it.

    I am very familiar with Pinnacle, but I've been disillusioned about their support.

    Ian

    First you connect your device to your computer using your Firewire port, then press F1 and search for capture

    http://helpx.Adobe.com/Premiere-Pro/KB/cant-capture-DV-HDV-video.html

    - and more info on Windows http://forums.adobe.com/message/4708997

    -Legacy driver http://www.studio1productions.com/Articles/Firewire-1.htm

    -All versions of Windows from 7 to 10 need legacy driver!

    This is old, but still a good place to start - CS5-thru-CC body/Encore tutorial list http://forums.adobe.com/thread/1448923 has many links to help learn... including how to still get to create a DVD

  • Sometimes can't download files from internet

    The problem is that I can't download files sometimes. At first I used it is to download and install chrome, it was fine. However, I can't download the drivers from nvidia.com via the browser or the GeForce experience. I can not even download FireFox after you run the FireFox program. But I can still download program anti-virus and other files.

    Hello

    You have installed all accelerator network? If so, remove them.

    If the problem persists, disable all startup items and services of third parties at boot.
    This method will help us determine if this issue is caused by a loader program or service.

    Please perform the following steps to guide you accordingly:

    1. Click Start, type msconfig in the Start button > Search boxand press enter.
    Note: If you are prompted, click continue in the User Account Control (UAC) window.
    2. click on the Services tab, select hide all Microsoft Services , and then click disable all (if it's not gray).
    3. click on the Startup tab, click disable all , and then click OK.

    Then, restart the computer. When the System Configuration utility window appears, please check the box don't show this message or launch the system to Windows Startup Configuration utility and click OK.

    Let us know how it goes.

  • How can I transfer files from XP to windows 8?

    There is a download of easy transfer from XP to Windows 7, but nothing for Windows 8

    Hello

    With the help AND under Windows 7 is very similar Windows 8 but the main features are different.

    You are not reading and respecting the links posted in the first post.

    Move your files, Favorites and settings<- this="">
    http://Windows.Microsoft.com/en-us/Windows-8/move-files#1TC=T1

    Here's how to use Windows Easy Transfer:

    When you are finished, you can see a report of what was transferred, as well as what Windows was not able to move. To view the report, on your new PC, search for Windows Easy Transfer reports in your applications using the search of charm.

    Notes

    • Windows Easy Transfer can't transfer files from a 64-bit version of Windows to a 32-bit version of Windows. In this case, you need to move your files manually.

    • If your old PC is running Windows Vista or Windows XP, you will be walked Windows Easy Transfer installation as part of the transfer process.

      Rob - SpiritX

Maybe you are looking for

  • iMac hangs at startup

    I left my turned on iMac when I left for a short trip.  Back home he went to a gray screen, I recall.  No pressure key keyboard would go to the desktop.  I finally gave up and used the power button to turn off and then turn it back on.  It goes to th

  • Where are the drivers?

    I searched this forum and google support page of lenovo. I can't find the drivers, other than the "System Update", charger auto thingy for my Lenovo S10. Ask yourself if there is an index of all the drivers for that computer, or if they are available

  • does not recognize password after abnormal termination

    My son said all he did was turn my computer on, plug his ipod for 10 minutes, then press the button close instead of using the mouse on the screen to stop.  In other words, he started and shut it off using the button on the cpu.  I didn't know what h

  • Could not get WiFi to work on E1200

    My 1200 v 1.0 was working fine until I tried to link a wireless internet camera. Apparently I screwed up something in the configuration as I lost my WiFi connection to my laptop and a desktop wireless. Fortunately my wired connection still works. I t

  • HP Pavilion 15 RAM Info

    Hi all I have a laptop HP Pavilion 15 e024 which has 2 GB of RAM with i core processor 3. I would like to be updated by adding 4 GB of additional RAM to his empty slot 6 GB. Can someone help me what RAM brand will support it so that I can buy it.