[FLASH8] Abrir un .zip

Hola,
Tengo un bot�n que, al presionarlo, deber�a
abrir una nueva ventana y salir
el t�pico cuadro de di�logo para abrir o
guardar un archivo .zip
El c�digo es �ste:
on (release){
getURL("
http://www.osalnes.com/extras/salvapantallas.zip","_blank");
Abre una nueva ventana pero no hace nada m�s. Si
refresco esa nueva ventana
entonces s� sale el cuadro de di�logo. Si le
doy a "cancelar" y luego vuelvo
a refrescar ya no vuelve a salir el cuadro de di�logo.
�Alguien me puede decir qu� hago mal?
Gracias de antemano.

Hola,
Funcionar funciona, pero lo abre en la misma ventana y no
quiero perder la
referencia de la p�gina en la que estoy.
�No hay otro modo?
"Pedro_pfphoto" <[email protected]>
escribi� en el mensaje
news:e9jb50$64u$[email protected]..
> HOla:
> creo que el error esta en el blank del final. Quitaselo.
Asi te tiene que
> funcionar bien.
> Espero que te sirva.
> Un saludo
>
> Kiske escribi�:
>> Hola,
>>
>> Tengo un bot�n que, al presionarlo,
deber�a abrir una nueva ventana y
>> salir el t�pico cuadro de di�logo para
abrir o guardar un archivo .zip
>> El c�digo es �ste:
>> on (release){
>> getURL("
http://www.osalnes.com/extras/salvapantallas.zip","_blank");
>> }
>>
>> Abre una nueva ventana pero no hace nada m�s.
Si refresco esa nueva
>> ventana entonces s� sale el cuadro de
di�logo. Si le doy a "cancelar" y
>> luego vuelvo a refrescar ya no vuelve a salir el
cuadro de di�logo.
>>
>> �Alguien me puede decir qu� hago mal?
>>
>> Gracias de antemano.

Similar Messages

  • [FLASH8]C�mo abrir un .zip

    Hola,
    Utilizo la sentencia getURL("
    http://www.midominio.com/archivo.zip","_blank")
    para descargar archivo.zip
    Me abre una ventana nueva con mensaje "No se encontr�
    ninguna p�gina" y sin
    darme la opci�n de abrir o guardar el archivo (estoy
    en explorer) Si le doy
    a enter s� me aparecen esas opciones.
    �Alguien sabe c�mo solucionarlo para que me
    abra sin necesidad de darle a
    enter?
    Gracias de antemano.

    Hola Kiske:
    en local no rula, subelo al servidor y te funcionara.
    Un saludo.
    P.D. Si quieres para descargar zips y rars no hace falta que
    le pongas
    el blank.
    Kiske escribi�:
    > Hola,
    >
    > Utilizo la sentencia getURL("
    http://www.midominio.com/archivo.zip","_blank")
    > para descargar archivo.zip
    > Me abre una ventana nueva con mensaje "No se
    encontr� ninguna p�gina" y sin
    > darme la opci�n de abrir o guardar el archivo
    (estoy en explorer) Si le doy
    > a enter s� me aparecen esas opciones.
    >
    > �Alguien sabe c�mo solucionarlo para que
    me abra sin necesidad de darle a
    > enter?
    >
    > Gracias de antemano.
    >
    >
    >
    >

  • No abre archivos.sit el Finder

    Recientemente me cambie del 10.3.9 al 10.4 y lo actualize al 10.4.4 y no me permite abrir archivos .sit y al intentar abrir los.zip apararece Error:1.
    Utilizo Stuffit Expander 10.0.1 para Mac
    Alguien que me pueda decir por que sucede esto?

    Instalando la version 11 de Expander se resolvio el problema.

  • Me podéis decir qué forma hay de abrir un archivo .books ó  .iba con alguna aplicación de Adobe

    Hola.Me podéis decir qué forma hay de abrir un archivo .books ó  .iba con alguna aplicación de Adobe.Gracias

    Comento que se trata de los archivos que guarda la aplicación de Apple iBooks Author, para crear contenidos, en un formato parecido al EPUB, para tabletas iPad.
    Digital book created by iBooks Author, a program used to created iBooks for the Apple iPad; saves the chapters, sections, and pages of the book, as well as the page layout information; also saves the book's title, introduction media, table of contents, and glossary; used for textbooks, picture books, multimedia books, and many other types of digital books.
    iBook Author documents can be exported to the .IBOOKS format for direct upload to an iPad (through the iTunes software) or for sharing with others. IBA files can also be exported to .PDF or .TXT (plain text) files for reading on the local computer or other devices.
    IBA files are saved in a compressed .ZIP format. Therefore, you can open them manually with any Zip decompression program to see the book contents.
    Si buscas alguna aplicación de Adobe compatible, que abra o visualice estos archivos, o que pueda editarlos y mantener el formato, la respuesta (hasta donde yo sé) es: ninguna.

  • Issue while sending a zipped file from ABAP to JAVA layer

    Hi All,
    I have a requirement wherein i have to zip a xml file in abap, convert it to base64 encoded string and send it to JAVA layer.
    I'm using the class CL_ABAP_ZIP for zipping the xml string and FM "SCMS_BASE64_ENCODE_STR" to convert the zipped data to base64 encoded string.
    But on the JAVA layer we get an exception while unzipping this data.
    Has anybody come across a similar situtation.
    Please help.
    Regards,
    Ankit Agrawal

    Example
    REPORT  Z_PAP_UP_ZIP_DL.
    DATA: L_ZIPPER TYPE REF TO cl_abap_zip.
    DATA: FILEX type XSTRING.
    DATA: FILENAME type string.
    DATA: PATH type string.
    DATA: zip type xstring.
    DATA: FILE_N_TAB type FILETABLE.
    DATA: FULL_PATH type string.
    DATA: FILE_LENGTH type i.
    DATA: FILE_TAB type w3mimetabtype.
    DATA: WA_INT type int4.
    DATA: PATH_TABLE TYPE TABLE of char1024.
    "    Load the file
    "Which file to upload
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_OPEN_DIALOG
      CHANGING
        FILE_TABLE              = FILE_N_TAB
        RC                      = WA_INT
    "load the (first) file from the frontend the user has selected.
    LOOP at FILE_N_TAB into FULL_PATH.
    "get the file
      CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_UPLOAD
         EXPORTING
           FILENAME                = FULL_PATH
           FILETYPE                = 'BIN'
        IMPORTING
          FILELENGTH              = FILE_LENGTH
        CHANGING
          DATA_TAB                = file_tab.
        exit.
    endloop.
    "create xstring from table
    CALL FUNCTION 'SCMS_BINARY_TO_XSTRING'
      EXPORTING
        INPUT_LENGTH       = FILE_LENGTH
      IMPORTING
        BUFFER             = FILEX
      TABLES
        BINARY_TAB         = file_tab
    "get the name of the file. we take entry after the last '\' ...windows.
    SPLIT FULL_PATH AT '\' INTO TABLE PATH_TABLE.
    DESCRIBE TABLE PATH_TABLE LINES WA_INT.
    READ TABLE PATH_TABLE INTO FILENAME INDEX WA_INT.

  • Can I install a 100mb Zip drive in PowerPc G4 Quicksilver?

    I am using a PPC G4 Quicksilver to replace a PPC G3 desktoop. I have a collection of 100MB zips I would like to access. Can I install an internal Zip 100MB drive in the second drive draw in the tower? If yes, ATA or SCSI.
    Thank you,
    Ed Gaiano

    Even if you don't get a bezel it might be a good idea to close the opening. I don't know how closely engineered those computers are to air flow and cooling and leaving off a bezel might change those characteristics. I did something similar on a different model computer once and used foam rubber to pack around the edge. Not pretty I'll admit.

  • Unable to unarchive ZIP file Error - 1

    Every time I try to archive a ZIP file, i get the message "Unable to archive (Error - 1)" How can I fix this?

    I have to agree, the most likely scenario is a bad file. As I mentioned earlier, I don't think there are any Mac utilities for attempting a repair. "Repair" is somewhat vague. If a file is bad it is missing data, and likely this data is critical to the running of the file. If you could repair this file (say, on a PC) you still might end up with a corrupt movie file which might refuse to play. Even if the movie plays it might end early or something.
    Could this possibly be part of a multi-part archive set? The file extension is totally wrong for that but the "05" suggest more than one of something.
    I have also read there are some obscure utilities that do flavors of zip that can't be opened on Macs.

  • I can't update Fiefox since update 10.o1 or 10.02. Every time I try to I get the same message, "7 - ZIP File is missing" I don't know how or where to correct this problem. I'd really appreciate any help that corrects this problem. Thanks sovery much,

    Missing "7-Zip File"
    Hello,
    I haven't been able to update Firefox since 10.01 or 10.02 because every time I try I get the same message the "7-ZIP File" is missing. Then the update fails. I've submitted this problem to Mozilla Firefox and, got an immediate reply of " they are researching your problem".
    Well, you can tell how long that has been. Is there anything I can do, or any where I can go to get the file I need?
    Any constructive help would be very much appreciated! I'm not sure If I'll ever be able to find where this is located. But I do appreciate help just the same.

    It is possible that your anti-virus software is corrupting the downloaded files or otherwise interfering with downloading files by Firefox.<br />
    Disable your anti-virus software temporarily to see if that makes installing work.
    Download a fresh Firefox copy and save the file to the desktop.
    *Firefox 11.0.x: http://www.mozilla.org/en-US/firefox/all.html
    Uninstall your current Firefox version, if possible.
    *Do NOT remove personal data when you uninstall the current version or you lose your bookmarks and other data because all profile folders will be removed.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    *It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    *http://kb.mozillazine.org/Uninstalling_Firefox
    Your bookmarks and other profile data are stored elsewhere in the Firefox Profile Folder and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/Profile_backup
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • Error reading zip file in Java 6

    We have a bespoke installer program that fails, intermittently, in Java 6 on Windows. After installing some files, it then fails with a stack trace like this:
    java.util.zip.ZipException: error reading zip file
         at java.util.zip.ZipFile.read(Native Method)
         at java.util.zip.ZipFile.access$1200(ZipFile.java:29)
         at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:447)
         at java.util.zip.ZipFile$1.fill(ZipFile.java:230)
         at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:141)
         at java.io.FilterInputStream.read(FilterInputStream.java:90)
         at com.XXXX.trent.installer.Installer.writeStreamToFile(Unknown Source)
         at com.XXXX.trent.installer.Installer.installFile(Unknown Source)
         at com.XXXX.trent.installer.PatchFileInstaller.installFile(Unknown Source)
         at com.XXXX.trent.installer.PatchFileInstaller.installFiles(Unknown Source)
         at com.XXXX.trent.installer.UpgradeInstaller$TpfAction.run(Unknown Source)
         at com.XXXX.trent.installer.UpgradeInstaller.runActions(Unknown Source)
         at com.XXXX.trent.installer.UpgradeInstaller.install(Unknown Source)
         at com.XXXX.trent.installer.TrentInstall$SoftwareInstallStage.install(Unknown Source)
         at com.XXXX.trent.installer.TrentInstall$UpgradeInstallWorker.install(Unknown Source)
         at com.XXXX.trent.installer.PatchInstall$InstallWorker.construct(Unknown Source)
         at com.XXXX.trent.utils.SwingWorker$2.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:619)The same code works in Java 5 on the same environments that it now fails in Java 6 (1.6.0_16).
    Any ideas?
    Thanks.

    gimbal2 wrote:
    it is not weird, it is a bug in the application. Don't let the upgrade from Java 5 to Java 6 make you believe otherwise.It's a singularly bad exception message though. I would have thought that something from java.util might be a bit more explicit about what the problem is.
    Winston

  • Error reading zip file containing an excel file

    Hi all,
    Using servlets I am able to zip an excel file using java.util.zip package. The excel file is created using POI API.
    While I save and extract the zip file on my machine and then open the file in MS Excel. Excel pops a message saying "MS Office Excel has encountered a problem and need to close" and it gives me an option to "Recover my work and restart MS Office Excel". I select the option and then MS Excel does a document recovery and I am able to view my data. I get an excel repair log file saying as follows
    "Microsoft Office Excel File Repair Log
    Errors were detected in file 'C:\Documents and Settings\JohnDoe\Desktop\excel\test.xls'
    The following is a list of repairs:
    Damage to the file was so extensive that repairs were not possible. Excel attempted to recover your formulas and values, but some data may have been lost or corrupted.
    I have attached my servlet code down below I suspect there is a problem with PrintWriter to output or do I need to use OutputStream to write excel data.
    Below is my servlet code:
    import java.io.*;
    import javax.servlet.*;
    import org.apache.log4j.Logger;
    import java.util.*;
    import java.util.zip.*;
    import java.net.*;
    import org.apache.poi.hssf.usermodel.*;
    import org.apache.poi.hssf.record.*;
    import org.apache.poi.hssf.util.*;
    public class ZipServlet extends HttpServlet {
         * @see javax.servlet.http.HttpServlet#doGet(javax.servlet.http.HttpServletRequest,
         * javax.servlet.http.HttpServletResponse)
         public void doGet(HttpServletRequest request, HttpServletResponse response)
              throws ServletException, IOException {
              makeZip(request, response, "GET");
         * @see javax.servlet.http.HttpServlet#doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         protected void doPost(HttpServletRequest request, HttpServletResponse response)
                   throws ServletException, IOException {
                   makeZip(request, response, "POST");
         public void makeZip(HttpServletRequest request, HttpServletResponse response, String methodGetPost) {
              Logger logger = Logger.getLogger(ZipServlet.class);
              try
                   int id=1;
                   ServletContext sc = getServletContext();
         HttpSession session = request.getSession();          
                   ConnectionPoolManager cpm = (ConnectionPoolManager)sc.getAttribute("CONNECTION_POOL_MANAGER");
                   ConnectionPool cp = cpm.getConnectionPool(id);
              createTestExcelZip(request,response,methodGetPost,session);
              } catch (Exception e2) {
         public void createTestExcelZip(HttpServletRequest request, HttpServletResponse response,
                   String methodGetPost,HttpSession session
                   )throws ServletException, IOException
              Logger logger = Logger.getLogger(ZipServlet.class);
              try
              {      //Create an Excel Workbook and placing value "Test" in the first cell
                   HSSFWorkbook wb = new HSSFWorkbook();
                   HSSFSheet sheet = wb.createSheet("new sheet");
                   HSSFCell cell=null;
                   HSSFRow row = sheet.createRow((short) 0);
                   short column = 0;
                   cell = row.createCell(column);
                   cell.setCellValue(new HSSFRichTextString("Test"));
                   HSSFCellStyle fontStyle = wb.createCellStyle();
              HSSFFont f = wb.createFont();
              f.setFontHeight((short) 200);
              f.setBoldweight(HSSFFont.BOLDWEIGHT_BOLD);
              fontStyle.setFont(f);
              cell.setCellStyle(fontStyle);
              response.setContentType("application/zip");
                   response.setHeader("Content-Disposition","attachment; filename=zipExcelRecordFiles.zip;");
                   int BUFFER = 2048;
                   byte buf[]=new byte[300000];
                   ByteArrayOutputStream baos = new ByteArrayOutputStream();
                   ZipOutputStream zos = new ZipOutputStream( baos );
                   ByteArrayInputStream is = null;
                   BufferedInputStream origin = null;
                   byte[] b = null;
                   String fileName = null;
                   b = wb.getBytes();
                   fileName = "testExcelRecords.xls";
                   try
                   is = new ByteArrayInputStream(b);
                   origin = new BufferedInputStream(is, BUFFER);
                   zos.putNextEntry(new ZipEntry(fileName)); // Add ZIP entry to output stream.
              int count;
              while((count = origin.read(buf, 0, BUFFER)) != -1)
              zos.write(buf, 0, count);
              zos.closeEntry(); // Complete the entry
                   is.close();
                   }catch(Exception e)
                        logger.error(e);
                   zos.close();
              PrintWriter pr = response.getWriter();
                   pr.write(baos.toString("ISO-8859-1"));
                   pr.close();
              catch(Exception e)
              logger.error(e);     
         * @see javax.servlet.GenericServlet#destroy()
         public void destroy() {
    Any help would be appreciated.
    Regards
    jdcunha

    Jdcunha,
    I am new to the field but encountered the same problem and recently found a solution. Hope this helps.
    For my project I wanted to create individual Excel 2003 workbooks for each file I created. Excel would give me the same error it gave you when I used the same HSSFWorkbook object. I tried creating a new Workbook object each time, but ran into the same issue.
    I ended up fixing the error by creating a new instance of my write-to-excel class each time I wanted to create a new workbook, instead of just recreating a new HSSFWorkbook object. It works perfectly and the Excel errors don't show. It may also be important to note I used OutputStream, I did not try it with printwriter.

  • BI Publisher Multiple tray/ Renaming of file / Zipping of BI Publisher O/P

    Hi Team,
    I want to know, whether we can achieve the following task in embedded BI publisher or not.
    Also, if we can do, let me know what are the possible steps to achieve them:
    1. Multiple Tray selection
    Here multiple Tray means different tray available in a single printer i.e tray 1 can have A4 paper, tray 2 can have A3 paper , tray 3 can have pre- printed stationary etc. so our BIP output can be send to multiple tray.
    *2. Checking the groupings - how many levels*
    Embedded BIP can provide a maximum of upto 4 levels of grouping.
    our requirement demand to group upto 7 level, I have suggested that we can achieve this through manual coding in RTF.
    *3. Email Feature - HTML (body is dynamic).*
    BIP has this emailing facility where we can have dynamic body in a mail. We need to figure out what max no of character , we can have in the body.
    *4. Reports that are uploaded to different folders.*
    It means that PDF/RTF files should be able to be copied to different folders like C:\DMU, D:\CTA etc
    5. Inserting records into SQL
    We need to find way for connecting to database and inserting our BIP records.
    6. Renaming files for the Email and Doc Central.
    We need to find out methods where we can rename our BIP outputs.Generally BIP file name gets generated automatically with UBE engine when it generates XML file.
    *7. Integrate with Doc Central (PDFs and Common XML)*
    Client is having one DOC Central software where client keeps repository of all its documents. we need to figure out that can we integrate our JDE with DOC central for keeping our BIP outputs in it.
    *8.Zipping of the files and sending the documents by FTP.*
    we need to figure out ways where we can zip our BIP outputs and send it through FTP.
    Let me know possible ways to achieve above 8 constraints, any java/dot net program if require to meet those above 8 facilities are also welcome.
    Thanks!
    Deepak Mishra

    Hi ,
    Do not have an answer yet . but with some research and trials it seems this may not be possible.
    Regards,
    PKB

  • How to exreact multiple pdf files from a zip files from application server to presentation server

    Hello exprts,
    I am passing one pdf file and one text file to zip file in apllication server through my custom program and then downloading it using standard function module to my desktop. its working fine. Then I added  another pdf file to my zip file. But only single pdf file is getting download . So can you please help me regardiong this issue? 

    Dear Experts ,
    I finded out the way to extrcat pdf files in presentation server. But now my problem is that I am not able to add multiple pdf files in a zip file. When I am adding new pdf file then older one is not coming in read data set. So please kindly tell me how can I add multiple pdf file in my zip file and again I can get all the pdf files from here.

  • Powershell Script Send-zip not working when running in cmd

    I found there is powershell send-zip script available in technet.  I tested it and found that it works when the script is running under powershell env, but when it is calling in cmd env, I can see the zip file, but there is nothing in it.  If
    I add the "-noexit" switch it runs normally.  Anyone have ideas what might be happening?
    The orig codes is as following:
    function global:SEND-ZIP ($zipfilename, $filename) { 
    # The $zipHeader variable contains all the data that needs to sit on the top of the 
    # Binary file for a standard .ZIP file
    $zipHeader=[char]80 + [char]75 + [char]5 + [char]6 + [char]0 + [char]0 + [char]0 + [char]0 + [char]0 + [char]0 + [char]0 + [char]0 + [char]0 + [char]0 + [char]0 + [char]0 + [char]0 + [char]0 + [char]0 + [char]0 + [char]0 + [char]0
    # Check to see if the Zip file exists, if not create a blank one
    If ( (TEST-PATH $zipfilename) -eq $FALSE ) { Add-Content $zipfilename -value $zipHeader }
    # Create an instance to Windows Explorer's Shell comObject
    $ExplorerShell=NEW-OBJECT -comobject 'Shell.Application'
    # Send whatever file / Folder is specified in $filename to the Zipped folder $zipfilename
    $SendToZip=$ExplorerShell.Namespace($zipfilename.tostring()).CopyHere($filename.ToString())
    SEND-ZIP C:\abc\a.ZIP C:\a\a.bak

    I've had the same problem with similar code found on another web site.
    The reason the zip file ends up being empty is that the temporary $ExplorerShell object you created is deleted when the send-zip function returns,
    and any incomplete copy operation that may still be ongoing at that time is aborted. (The copy operation is asynchronous, and continues after the CopyHere() function returns.)
    To work around this, you need to add a delay loop before you return, waiting for the copied object to appear in the zip.
    (Note that adding a fixed delay, like I've seen on other web sites, does not work: Small files appear almost immediately, whereas large file or worse still large subdirectory trees can take a long time to appear.)
    Try changing the end of your routine to something like...
    # Create an instance to Windows Explorer's Shell comObject 
    $ExplorerShell=NEW-OBJECT -comobject 'Shell.Application' 
    # Open the zip file object
    $zipFile = $ExplorerShell.Namespace($zipfilename.tostring())
    # Count how many objects were in the zip file initially
    $count = $zipFile.Items().Count
    # Send whatever file / Folder is specified in $filename to the Zipped folder $zipfilename 
    $SendToZip=$zipFile.CopyHere($filename.ToString())
    # Wait until the file / folder appears in the zip file
    $count += 1 # We expect one more object to be there eventually
    while ($zipFile.Items().Count -lt $count) {
        Write-Debug "$filename not in the zip file yet. Sleeping 100ms"
        Start-Sleep -milliseconds 100
    # Return deletes the $zipFile object, and aborts incomplete copy operations.

  • Archiving/zipping to different folder

    Hello
    Normally the Finder Archive function (accessible e.g. from contextual menu in Finder) archives to a .zip archive in the same folder as the original object being archived.
    The Finder Archive function use BOMArchiveHelper, which is in:
    /System/Library/CoreServices/BOMArchiveHelper.app/Contents/MacOS/BOMArchiveHelpe r
    So the same archiving can be achieved in an AppleScript by the following statement:
    do shell script "/System/Library/CoreServices/BOMArchiveHelper.app/Contents/MacOS/BOMArchiveHel per" "theUnixname"
    where theUnixname is the Unix name of the file or folder being zipped. This works.
    My question is the following: Is there any option to BOMArchiveHelper that permits the resulting file to be in a different folder than the original file or folder? This would permit archiving directly to another disk, e.g. an external hard disk, without first copying the uncompressed files or without using disk utility to make a compressed disk image.
    (The reason I would like to use the zip files is that they are more universal than the compressed disk images. And I want to use BOMArchiveHelper rather than another ZIP program such as ZipIT because the Macintosh structure with resource forks is preserved by BOMArchiveHelper in a way that still permits the ZIP archive to be opened on e.g. a Windows or Linux machine, which is not the case for the MacBinary implementation in ZipIt).
    Thanks in advance

    I think you can use a shell-like command in an AppleScript.
    In this command you could use gzip "sourcefile" > "targetfile"

  • How do I get rid of the dropdown list history on the location bar? I have tried changing several settings and all I have done is mess up my ability to open ZIP downloads.

    I wanted to clear the drop down suggestions/history list on the location bar so I went to Tools/Options and tried changing several settings. I could not get the results I wanted. Suggestions?
    I did get one unwanted result -- or maybe just a coincidence. I received an email with attached pictures in a ZIP format and I could not get the download to open. Suggestions?

    Tools > Options > Privacy > Location Bar: When using the location bar, suggest: Nothing
    See [[Smart Location Bar]]

Maybe you are looking for