Dowloading Code for files Error

so im still having trouble with this code, I can download the files, and i get prompted, but when other people try to download it doesnt work.
When i just tried opening the .swf i get prompted by this window
but when i open  the flash file and export a .swf it downloads
is there something im missing?
<<armenia_btn.addEventListener(MouseEvent.MOUSE_DOWN,armeniaDownload);
armenia_text.addEventListener(MouseEvent.MOUSE_DOWN,armeniaDownload);
function armeniaDownload(event:MouseEvent):void
    request = new URLRequest("http://www.ps4h.org/country_data_files/Armenia.zip");   
    localRef = new FileReference();   
    try
            localRef.download( request );
    catch (error:Error)
            trace("Unable to download file.");  
}>>

thanks for youre help so far!!! I appreciate it!
so i talked to my partner and he tried uploaded the files along with the files that are to be downloaded on the godaddy.com server, and he and the producer was still getting the message.
sorry i am just stumped and have no idea  how to proceed  or where to even begin.
if its on a non-local server( godaddy is a non-local right?) and it is still not working.
where should i proceed?

Similar Messages

  • Transcation code for seeing error dump in BSP

    Hi,
    I want to know T code for seeing  error dump in BSP and also about few function modules related to
    CRM_ORDER_READ and thier purpose.
    Thanks,
    Brahmaji

    HI,
    Dumps you can see through ST22 as in ABAP.
    CRM_ORDER_READ  belongs to the function group CRM_ORDER_API.
    In SE80, under this function group you have list of several function modules.
    Br,
    SS

  • Generating BCH Codes for Forward Error Correction

    Has anybody created VIs for generating BCH (Bose-Chaudhuri-Hochquenghem) error correction codes?
    I need to generate the codes for a 16 bit data packet.
    I've found samples in C on the web (http://www.eccpage.com/) but nothing in LV.
    Thanks,
    -dave

    I hate to bump a topic that is over 6 years old, but I am in need of a simple BCH encoding algorithm and do not have the toolbox which provides this.  I only need the encoding algorithm so I am hoping to implement this .VI posted here. 
    I have slightly altered the cleaned up version that was posted to have the inputs/outputs in a format that I expect, but I am worried that it is not correctly calculating the BCH code.  This is my first time working with BCH codes, but I need to implement the CCSDS version using n = 63, k = 56 7-bit BCH code with generator polynomial G(x) = x^7 + x^6 + x^2 + 1.
    I think when using 0xC5C5C5C5C5C5C5 as my input message the 7 bit BCH is supposed to be 0x43, but I am getting 0x00.  Could someone with more experience than me see if I did something obviously wrong?  Or know of a way to validate a BCH encoding algorithm, so I know if what I did was correct.  I attached my modeified .vi.  Thanks!
    Attachments:
    BCH_3.vi ‏24 KB

  • Match code for file in server

    Hi all,
    I have a selection screen with a parameter "file name output" and i have to add to it a match code.
    I have no idea about the code to be applied to set up this match code.
    Some one can help me please?
    Thanks for all

    Hi,
    Check this Re: browse files on client PC
    aRs

  • Can any body give me code for file download in jsp

    Hi all,
    I have done file uploading to a particular dir C;\uploadfiles, and store the name of the file with other information in a table. Now I want to download that file of any format from that dir using jsp or servlet.
    Can anybody please help me with some code.
    Thanks and Regards
    Rajib

    This seems more like a job to a servlet
    public String getContentType(){
      this should return the cntent yupe of the file
      that shoule be downloaded
      if unknown use something like binary/data
    public byte[] getFileData(){
    This should return the data of the file as a byte array
    public void doGet(......................){  // or doPost
       res.setCotentType(getContentType());
       OutputStream os = res.getOutputStream();
       os.write(getFileData());
       os.close();
    }Above is the most simplest way to do it
    and havent been tested you might need changes based on your program design

  • How to check code for syntax errors

    How do I check or validate my html code in dreamweaver. I wish to see if all the braces and tags are closed or not
    please guide me

    Hi There:
    You can check to make sure the tags, parentheses (( )), braces ({ }), and square brackets ([ ]) in your page are balanced. Balanced means that every opening tag, parenthesis, brace, or bracket has a corresponding closing one, and vice versa.
    Check for balanced tags
    Open the document in Code view.
    Place the insertion point in the nested code you want to check.
    Select Edit > Select Parent Tag.
    The enclosing matching tags (and their contents) are selected in your code. If you keep selecting Edit > Select Parent Tag, and your tags are balanced, eventually Dreamweaver will select the outermost html and /html tags.
    Check for balanced parentheses, braces, or square brackets
    Open the document in Code view.
    Place the insertion point in the code you want to check.
    Select Edit > Balance Braces.
    All of the code between the enclosing parentheses, braces, or square brackets is selected. Choosing Edit > Balance Braces again selects all of the code inside the parentheses, braces, or square brackets that enclose the new selection.
    And also make sure to validate your HTML code at - http://validator.w3.org/
    Regards
    Vinay

  • A SMALL EXAMPLE CODE FOR MUTATING ERROR

    create or replace trigger TRG_T1
    before insert on T1
    begin
    insert into T1 values(2);
    end;
    IF I TRY TO INSERT INTO T1 TABLE I GET A MUTATING ERROR HOW CAN I SOLVE??????

    joealexander wrote:
    create or replace trigger TRG_T1
    before insert on T1
    begin
    insert into T1 values(2);
    end;
    IF I TRY TO INSERT INTO T1 TABLE I GET A MUTATING ERROR HOW CAN I SOLVE??????
    No, you do NOT get a mutating table error. You get this:
    orcl112> create table t1(c1 number);
    Table created.
    Elapsed: 00:00:00.03
    orcl112> create or replace trigger TRG_T1
      2
      3  before insert on T1
      4
      5  begin
      6
      7  insert into T1 values(2);
      8
      9  end;
    10
    11  /
    Trigger created.
    Elapsed: 00:00:00.04
    orcl112> insert into t1 values (1);
    insert into t1 values (1)
    ERROR at line 1:
    ORA-00036: maximum number of recursive SQL levels (50) exceeded
    ORA-06512: at "SCOTT.TRG_T1", line 3
    ORA-04088: error during execution of trigger 'SCOTT.TRG_T1'
    ORA-06512: at "SCOTT.TRG_T1", line 3
    ORA-04088: error during execution of trigger 'SCOTT.TRG_T1'
    ORA-06512: at "SCOTT.TRG_T1", line 3
    ORA-04088: error during execution of trigger 'SCOTT.TRG_T1'
    ORA-06512: at "SCOTT.TRG_T1", line 3
    ORA-04088: error during execution of trigger 'SCOTT.TRG_T1'
    ORA-06512: at "SCOTT.TRG_T1", line 3
    ORA-04088: error during execution of trigger 'SCOTT.TRG_T1'
    You are the second person today who has claimed to have seen this error and posted code that did not raise it. What is going on?

  • Code for  File upload / down load from WD java application

    Hi experts ,
    I am creating a WD java application , I want to add Picture upload and piucture download ( from / To ) KM . I also want to specify the path ( where it has to be uploaded in KM ) and picture name . can i get any code so that i can use it in WD application .
    Regards
    Abhay

    First you need to make sure your web dynpro application has permissions to access the file in the first place, but you could use the standard java.io.File class:
    File file = new File("/path/file.sh");
    file.setExecutable(false);
    file.setReadable(false);
    file.setWritable(false);

  • Jabber Guest Sample code for iOS - ERRORS

    I am trying to develop a Jabber Guest app for a customer. I downloaded the sample xcode projects and attempted to run ABC Bank, to see how a it one would work. The build failed and I received the error: " No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=i386). " Any help is appreciated.
    I've attached a screenshot of the error message

    From the screenshot it looks like you are using a simulator to run the sample apps. For the sample apps to work you have to build using a device. Running on a simulator is not supported.
    It's on our roadmap to add support to build via simulator. 

  • Please give me some code for file upload. I am working in websphere

    Hi,
    I have made the form with encript = multipart. with four text field to enter some information about the file. now i want to upload a file f1.txt in the folder project.com.dos.files. And also I want to make appear the file and the four information regarding that file in a another jsp page as grids.
    Please help how to do that. I am using Websphere Studio Application Developer. Please help with some code

    Check out the fileupload package in the apache commons project

  • Same error code for two different errors

    I have a simple state machine with a few states, two of which are read ini file and read GPIB data. I also have an error handling state where I would like to handle all errors. Errors are checked for on each iteration of the loop, passed by shift register. However, I can't just unbundle the error cluster and wire the error code to a case structure because if the ini file doesn't exist (error code 7) I want to exit the program. But if I get error 7 from the gpib (Nonexistent GPIB interface) I want the program to continue running. What is the best way to track where the error is coming from so I know how to handle it when two error codes for different errors have the same error code value?
    Message Edited by for(imstuck) on 01-27-2010 03:47 PM
    CLA, LabVIEW Versions 2010-2013

    Another option is to check the existence of the file before opening the config file, then exit the program if nessecary. Relying on error codes might be a bad option.
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • Float4() causes "error saving Pixel Bender Byte Code file" error when exporting for flash player

    Simple test
    <languageVersion : 1.0;>
    kernel untitled
    <   namespace : "Your Namespace";
        vendor : "Your Vendor";
        version : 1;
    >
        input image4 src;
        output pixel4 dst;
        void
        evaluatePixel()
            dst = float4(sampleNearest(src, outCoord()));
    The above code will produce a "error saving Pixel Bender Byte Code file" error when exporting for flash player in Pixel Bender Toolkit 2.5.449694.
    "dst = (sampleNearest(src, outCoord()));" works fine. And anything like "float4 a= float4(b);" will give same error.

    Thank you for the error report.  I'll put it into our bug database.  We're bottling things up for the current version.  Gven the workaround, it is unlikely we'll be addressing this bug soon.  Please accept my apologies for the annoyance this will cause.
    In your second example, float4 a = float4(b), does it return an error if b is only a float4 or regardless of what b is?  If b is a scalar float, for example, is the conversion performed correctly? If so, this could be an error that only crops up when using constructor/conversion syntax when the thing being converted is already the correct type.
    Thanks,
    Chuck.

  • Exit Code: 16 Please see specific errors below for troubleshooting. For example,  ERROR: DW039 ...  Summary - 0 fatal error(s), 1 error(s)   ERROR: DW039: Failed to load deployment File

    Exit Code: 16
    Please see specific errors below for troubleshooting. For example,  ERROR: DW039 ...
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 1 error(s)
    ERROR: DW039: Failed to load deployment File

    if this is related to the installation of an adobe product, Troubleshoot with install logs | CS5, CS5.5, CS6, CC

  • Crystal Server 2013: How to troubleshoot "Can not create temp file---- Error code:-2147215357"

    We have a Java7 web app, which generate PDF report by calling Crystal Server 2013 SP4.
    The app is being deployed on many different servers. We sometimes got the error below when generating report:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Can not create temp file---- Error code:-2147215357 [CRSDK00000615] Error code name:internal
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.controllerExportInternal(PrintOutputController.java:280)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(PrintOutputController.java:152)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(PrintOutputController.java:130)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(PrintOutputController.java:113)
    Problem is, this seems to be  a pretty generic exception. It could be caused by many different reasons.
    e.g. network connection problem, wrong DB login, wrong folder path, lack of folder access right, etc.
    Each time we could only guess what's wrong.
    We are running into it again, and this time everything seems correctly configured so far.
    We wonder if there are more info we can get to troubleshoot? For example, any log file of Crystal Server we should look into? Or does Crystal Server has debug mode which prints more details to tell us what goes wrong?

    Prithviraj Shekhawat wrote:
    Hi Henry,
    I believe you are using RAS SDKs to export the reports to PDF.
    Apply trace on RAS server and check what you find in RAS logs.
    Check whether you can see timeout error is RAS logs. Usually if connection is lost and the RAS server no more have the session to write to the temp directory, we do see these errors.
    Also, does the account that runs RAS have permissions to create a file in RAS's default temp directory? Are you getting any out of memory or out of disk space exceptions on App server or RAS, tracing RAS server is the way to move forward.
    Thanks,
    Prithvi
    >>I believe you are using RAS SDKs to export the reports to PDF.
    Yes
    >>Apply trace on RAS server and check what you find in RAS logs.
    >>Check whether you can see timeout error is RAS logs.
    How to configure tracing, and where are RAS logs? Is it configured in CMC --> Servers --> Crystal Report Services?
    >>Also, does the account that runs RAS have permissions to create
    >>a file in RAS's default temp directory?
    Pretty sure yes.
    >> Are you getting any out of memory or out of disk space exceptions
    >>on App server or RAS, tracing RAS server is the way to move forward.
    Not on App server.
    For RAS, that's the problem, I am not sure where to look.......

  • Can not create temp file---- Error code:-2147215357 [CRSDK00000615] Error code name:internal

    Hello,
    While exporting Export reporting from BI4 getting exception
    Can not create temp file---- Error code:-2147215357 [CRSDK00000615] Error code name:internal
    In Trace Log I am getting
    com.crystaldecisions.xml.serialization.XMLWriter||Failed to create an object instance for CrystalReports.TextObjectFormat
    java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key CrystalReports.TextObjectFormat
      at java.util.ResourceBundle.getObject(ResourceBundle.java:374)
      at java.util.ResourceBundle.getString(ResourceBundle.java:334)
    I tried following solution according to the all forums but still issue exist.
    Done changes mention in KB article In <Installation-dir-of-BO>\Common\4.0\java\CRConfig.XML we have to increase the JAVA heap MIN and Max size
              <JVMMaxHeap>64000000</JVMMaxHeap>          <JVMMinHeap>32000000</JVMMinHeap>
    Increase the value in the ReportApplicationServer Services in the CMC for "Number of database records to read when previewing or refreshing a report". The value -1 is for unlimited records but not recommended for performance.
    Check for temporary read write permission on server
    Using SDK library from C:\Program Files (x86)\SAP Business Objects\SAP BusinessObjects Enterprise XI 4.0\java\lib
    Can you please let me know is there anything missing.

    Hi,
    We face the same problem with some BI4 reports.
    The same report works well with the "Crystal Reports Viewers API", as used in Infoview, but not with the "Report Application Server (RAS) API".
    This error appears after some time working on a report. If we reproduce the same report, but from zero, no problem.
    Hope it can help.
    Ludovic.

Maybe you are looking for

  • How does 'Multiple Calendar Option' work in 7.9.6

    Friends, Could some one please explain me what this 'Multiple Calendar' option is, in 7.9.6. There is not much Information in Config guide with this regard. My Question is, does 'Multiple Calendar option' means 7.9.6 supports different calendars but

  • Help with SAT L305D will not boot up

    Satallite L305D-S5897 This morning I went to use my lap top and it will not load windows, goes into recovery screen or start normal. I have pressed F2,F8,F10,and F12 tried safe mode, safe mode with networking, and safe mode with command prompt all fa

  • ERROR Could not open [xmllog4jconfig.xml]

    I created a project under JDeveloper that includes an XML file that I created. The project compiles fine. But, when I try to run the project, I get the following Error message: java.io.FileNotFoundException: xmllog4jconfig.xml (The system cannot find

  • I cannot install Contribute 4 on Windows 7

    I have recently upgraded my Windows computer from XP to Windows 7 and get the following message when trying to install Contribute 4 "The wizard  was interrupted before Adobe Contribute 4 could be completely installed" Does anyone have any suggestions

  • System preferences freezes! Spinning beach ball.

    My new MBP seems to be teasing me a bit. Whenever I want to change something in the system preferences, System preferences sort of freezes and the beachball starts to spin for up to 30 seconds. This mainly happens when I try to change screensaver or