Problem downloading a file via http

Hi
I'm just getting started with WLS (sp5) and am having a problem downloading
a file via http. The document is stored in the main html docs directory and
whenever I link to it or try to download it directly (eg:
http://<host>:<port>/myfile.doc) I get the following error in a message box:
Your current security settings do not allow this file to be downloaded.
Can anyone point me in the right direction as to where I grant permissions
to do this - I've tried using the weblogic.security.URLAclFile and adding
the directory as a weblogic.io.fileSystem (a desperation move, I know).
Thanks in advance,
Peter Villiers

PLEASE IGNORE THIS POST
The problem was caused by someone (me though I honestly don't remember doing
it), setting the content security level to high in my web browser which
stopped this type of download.
Peter

Similar Messages

  • Problem downloading large files via Safari

    When downloading large video files (for example, from FilesAnywhere.com), my download stars off OK and then slowly gets slower and slower... and slower and then seems to grind to a halt. I'm currently attempting to download a 165MB file which has taken all day so far, and the time remaining just gets longer and longer. It now stands at another 18 hours, but by the morning it will most likley tell me there's a week left.
    Does anybody know what is causing this? I can download via FTP with no problem very fast -it's just via Safari that seems to be the problem. I'm on a home broadband account.
    I've encountered this problem before and I just had to give up on the download.

    Good to see the problem was solved from the suggestion provided. Glad to have helped.
    Aloha from Big Island.

  • Uploading Very Large Files via HTTP

    I am developing some classes that must upload files to a web server via HTTP and multipart/form-data. I am using Apache's Tomcat FileUpload library contained within the commons-fileupload-1.0.jar file on the server side. My code fails on large files or large quantities of small files because of the memory restriction of the VM. For example when uploading a 429 MB file I get this exception:
    java.lang.OutOfMemoryError
    Exception in thread "main"I have never been successful in uploading, regardless of the server-side component, more than ~30 MB.
    In a production environment I cannot alter the clients VM memory setting, so I must code my client classes to handle such cases.
    How can this be done in Java? This is the method that reads in a selected file and immediately writes it upon the output stream to the web resource as referenced by bufferedOutputStream:
    private void write(File file) throws IOException {
      byte[] buffer = new byte[bufferSize];
      BufferedInputStream fileInputStream = new BufferedInputStream(new FileInputStream(file));
      // read in the file
      if (file.isFile()) {
        System.out.print("----- " + file.getName() + " -----");
        while (fileInputStream.available() > 0) {
          if (fileInputStream.available() >= 0 &&
              fileInputStream.available() < bufferSize) {
            buffer = new byte[fileInputStream.available()];
          fileInputStream.read(buffer, 0, buffer.length);
          bufferedOutputStream.write(buffer);
          bufferedOutputStream.flush();
        // close the files input stream
        try {
          fileInputStream.close();
        } catch (IOException ignored) {
          fileInputStream = null;
      else {
        // do nothing for now
    }The problem is, the entire file, and any subsequent files being read in, are all being packed onto the output stream and don't begin actually moving until close() is called. Eventually the VM gives way.
    I require my client code to behave no different than the typcial web browser when uploading or downloading a file via HTTP. I know of several commercial applets that can do this, why can't I? Can someone please educate me or at least point me to a useful resource?
    Thank you,
    Henryiv

    Are you guys suggesting that the failures I'm
    experiencing in my client code is a direct result of
    the web resource's (servlet) caching of my request
    (files)? Because the exception that I am catching is
    on the client machine and is not generated by the web
    server.
    trumpetinc, your last statement intrigues me. It
    sounds as if you are suggesting having the client code
    and the servlet code open sockets and talk directly
    with one another. I don't think out customers would
    like that too much.Answering your first question:
    Your original post made it sound like the server is running out of memory. Is the out of memory error happening in your client code???
    If so, then the code you provided is a bit confusing - you don't tell us where you are getting the bufferedOutputStream - I guess I'll just assume that it is a properly configured member variable.
    OK - so now, on to what is actually causing your problem:
    You are sending the stream in a very odd way. I highly suspect that your call to
    buffer = new byte[fileInputStream.available()];is resulting in a massive buffer (fileInputStream.available() probably just returns the size of the file).
    This is what is causing your out of memory problem.
    The proper way to send a stream is as follows:
         static public void sendStream(InputStream is, OutputStream os, int bufsize)
                     throws IOException {
              byte[] buf = new byte[bufsize];
              int n;
              while ((n = is.read(buf)) > 0) {
                   os.write(buf, 0, n);
         static public void sendStream(InputStream is, OutputStream os)
                     throws IOException {
              sendStream(is, os, 2048);
         }the simple implementation with the hard coded 2048 buffer size is fine for almost any situation.
    Note that in your code, you are allocating a new buffer every time through your loop. The purpose of a buffer is to have a block of memory allocated that you then move data into and out of.
    Answering your second question:
    No - actually, I'm suggesting that you use an HTTPUrlConnection to connect to your servlet directly - no need for special sockets or ports, or even custom protocols.
    Just emulate what your browser does, but do it in the applet instead.
    There's nothing that says that you can't send a large payload to an http servlet without multi-part mime encoding it. It's just that is what browsers do when uploading a file using a standard HTML form tag.
    I can't see that a customer would have anything to say on the matter at all - you are using standard ports and standard communication protocols... Unless you are not in control of the server side implementation, and they've already dictated that you will mime-encode the upload. If that is the case, and they are really supporting uploads of huge files like this, then their architect should be encouraged to think of a more efficient upload mechanism (like the one I describe) that does NOT mime encode the file contents.
    - K

  • HT203200 has anyone ever had this problem? seems to be a problem in itunes, as i am having no problems downloading other files."There was a problem downloading "Outlander / Howard McCain". An unknown error occurred (-50)."

    has anyone ever had this problem? seems to be a problem in itunes, as i am having no problems downloading other files."There was a problem downloading “Outlander / Howard McCain”. An unknown error occurred (-50)."
    kinda suck to pay for something you cant use!..

    Try fixing up the validation issues...
    http://www.feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.stereogol.com%2Faudi o%2Fwimpy_podcast.php
    Not promising it will help, but it's worth a shot.

  • How to download a file via web service in Windows Phone 8.1?

    My project just got 2 part.
    1.Pivot app
    2.Webclient server (provide data for pivot app the view the data)
    My concert that how do i do a download button to download a file via web services in to isolated storage.
    urgent!

    something like this:
    public async System.Threading.Tasks.Task DownloadFile()
    using (var client = new Windows.Web.Http.HttpClient())
    var stream = await client.GetInputStreamAsync(new System.Uri("http://urltomyfile"));
    var file = await ApplicationData.Current.LocalFolder.CreateFileAsync("myfile.txt", CreationCollisionOption.GenerateUniqueName);
    using (var fileStream = await file.OpenAsync(FileAccessMode.ReadWrite))
    IBuffer buffer = new Windows.Storage.Streams.Buffer(1024);
    while ((buffer = await stream.ReadAsync(buffer, buffer.Capacity, InputStreamOptions.None)).Length > 0)
    await fileStream.WriteAsync(buffer);
    await fileStream.FlushAsync();
    how is your webservices offering the file?
    Microsoft Certified Solutions Developer - Windows Store Apps Using C#

  • IE 9 can't download/open files from https site.

    We have application which runs in IE9 using https:\\
    IE 9 can't download/open files from https site.
    Please help....
    error1-
    Microsoft Excel - could not open 'https:\\.......\viewxlsformatshow.xls'
    error2-
    Microsoft Excel - Microsoft Excel cannot access the file 'https:\\.......\viewxlsformatshow.xls'. There are several possible reason:
        -The file name or path does not exist.
        - the file is being used by another program.
         - the workbook you are trying to save has the same  name as a currently open workbook.

    Hi,
    Have you tried to use "HTTP"?
    Have you the correct office program installed on your computer?
    Could you provide the corresponding credential to access them?
    If so, please make sure you have the proper right.
    Please let other user try to download(not open) the resource to confirm the original resource is without problem.
    After that, refer to the following article to change the settings:
    Error message when you download files by using Internet Explorer 9 from secure websites: "<filename> couldn’t be downloaded"
    http://support.microsoft.com/en-us/kb/2549423
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Problem downloading JAR files after PIX 7.2(3) upgrade

    Hello, I have upgraded a PIX 515 Firewall from Version 6.3(4) to
    7.2(3) and am now experiencing problems downloading .jar files from
    some web servers. I have tried disabling the "inspect http" option but
    still not joy. I also tryied this:
    http://www.cisco.com/warp/public/110/pix-asa-70-browse.pdf
    But no luck.
    Have anyone had similar problems.
    Thanks in advance.

    1. Turn router off for 30 seconds and on again
    2. Settings>General>Reset>Reset Network Settings
    3. Settings>General>Reset>Reset All Settings

  • Is there a way I can 'select all' for downloading purchase files via family sharing instead of selecting each file or folder one at a time?

    Is there a way I can 'select all' for downloading purchase files via family sharing instead of selecting each file or folder one at a time?

    or home sharing

  • 6300's problem of transfer file via bluetooth

    Hi..i just got a brand new 6300
    but i've got a problem with transfering file via bluetooth from my laptop to my phone
    sumhow i can transfer file from my phone to my laptop, and i also can transfer image file from my laptop to my phone...
    but a problem occured when i try to send MP3s file from my laptop to my phone...
    i've already succeed to pair my laptop and my phone...but still i can't transfer thoose files...
    can anyone help me??
    please...
    thx a bunch

    Make sure that you have enough phone memory available, even if you are transferring to the memory card.
    When sending files by bluetooth they are transfered (cached) to the phone then the phone transfers them to the memory card.
    Also you should transfer files one at a time.
    If you are transfering lots of MP3's you would be better off using a data cable as it will be a lot quicker.

  • Problem downloading avi files

    Hi,
    I have recently had problems downloading avi files from rapidshare.de, because the avi files do not download to my desktop (a new ticket system prevents me from manually clicking on the link, and instead begins downloading the files automatically), but open and play in my browser (Internet Explorer 5.2). I cannot save these files to my computer or open them in my QuickTime application. Can I get some help as to how I can configure my browser to download avi files to my desktop, instead of opening them in the browser

    Hi erikson1,
    If the link is a direct liink to the avi file, you can just hold the 'control' key - click and hold the mouse over the link and then select "Download linked file to disk."
    If the link is to a html or other similiar web page that will play the file in it then it gets a little more complicated to get that avi file. Then you may have to view source of that page and find the direct link to the avi file for download.

  • Problem downloading .dmg files.

    Problem downloading .dmg files (Flash, Chrome, Firefox). Once I hit the download option Safari screen goes blank, actually grey and nothing downloads.

    Back up all data, then uninstall "Speed Download" according to the developer's instructions.

  • Problems uploading big files via FTP and downloading files

    I've been having problems uploading big files like video files (.mov 12MB) via FTP to my website (small files like .html or .doc I can upload but it takes longer than usual). I'm using Fetch 4.0.3. as FTP. Same problems when downloading files via Bit Torrent. I recently moved to Spain, since then I seem to have the problem. But my roommate with a PC doesn't have that problem. Connecting to internet with Ethernet cable also didn't resolve the problem. I also tested it from a Starbucks coffee connecting to Internet from there but still couldn't upload that 12MB file to the FTP. The security settings for firewall are set to "allow all incoming connections". I didn't change any of my settings so I don't know what the problems could be. I have a MacBook Pro, Mac OS X (10.5.7) Any suggestions? Thanks!

    Welcome to Apple Discussions!
    Much of what is available on Bittorrent is not legal, beta, or improperly labelled versions. If you want public domain software, see my FAQ*:
    http://www.macmaps.com/macosxnative.html#NATIVE
    for search engines of legitimate public domain sites.
    http://www.rbrowser.com/ has a light mode that supports binary without SSH security.
    http://rsug.itd.umich.edu/software/fugu/ has ssh secure FTP.
    Both I find are quick and a lot more reliable than Fetch. I know Fetch used to be the staple FTP program, but it grew too big for my use.
    - * Links to my pages may give me compensation.

  • After some running time I cannot download large files via any browser.

    I am running OS X 10.9.2 on a 27inch iMac 2013 model.
    If I keep it running (without sleeping) for some time, perhaps a week, I can no longer download any large files via any browser. It will start and after a very short time go down to 0 B/s, stall there and at the end aboft with an "Unknown network error" or something similar.
    Has anyone seen similar problems?

    Open router set up using http://192.168.1.1  .....you will see username & password .....leave username blank & in password use admin...............
    Click status tab..........check firmware version .......download the latest firmware from http://linksys.com/download ..........
    Udate the firmware ....reset the router for 20-30 seconds ........ later on reconfigure the router ........

  • Problems deploying par file via Netweaver Developer Studio

    Hello,
    I have problems deploying a par file using the SAP Netweaver Developer Studio.
    In the SNWDS i configure the following:
    Window -> Preferences -> SAP Enterprise Portal
    Alias: IEP
    Host: khz059
    Port: 52900
    Login: Administrator
    Description: Testportal
    The logon Url of the portal is http://khz059:5290052900/irj/portal
    If i try to upload a par file via "Quick PAR Upload" i get the error messages:
    "Unable to connect to the portal
    Operation failed: Please make sure the server 'IEP' (khz059:52900) is running or check the log (sap-plugin.log) for more detail."
    Am I using the proper settings? Am I using the wrong port?
    I don't know whats wrong.
    Can anyone help me?
    The logfile shows:
    [12.09.05 / 14:53] #ERROR LEVEL# com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard$1 > No Information
    java.io.IOException: Error writing to server
         at sun.net.www.protocol.http.HttpURLConnection.writeRequests(HttpURLConnection.java:302)
         at sun.net.www.protocol.http.HttpURLConnection.writeRequests(HttpURLConnection.java:314)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:634)
         at com.sap.portal.developmentTools.general.wizards.upload.DeployEngine.readResponse(DeployEngine.java:361)
         at com.sap.portal.developmentTools.general.wizards.upload.DeployEngine.uploadPar(DeployEngine.java:433)
         at com.sap.portal.developmentTools.general.wizards.upload.DeployEngine.deploy(DeployEngine.java:220)
         at com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard$1.processUpload(SAPMPWizard.java:404)
         at com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard$1.run(SAPMPWizard.java:338)
         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:302)
         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:252)
         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:758)
         at com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard.performFinish(SAPMPWizard.java:519)
         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:608)
         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:321)
         at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
         at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
         at org.eclipse.jface.window.Window.open(Window.java:563)
         at com.sap.portal.developmentTools.general.uploader.QuickPARUploader.run(QuickPARUploader.java:146)
         at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:456)
         at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:403)
         at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:397)
         at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:72)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
         at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
         at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
         at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
         at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
         at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
         at com.sap.ide.eclipse.startup.Main.main(Main.java:607)
    Best regards,
    Nils Kloth

    Hi Nils,
    I think you must have selected the defualt checkbox (Try and uncheck that). Also uncheck the checkbox for "<i>Yes, I want to remeber the password for deployment</i>" if it is also selected. When you deploy the par file now enter the password and try to deploy. I think this will solve your problem.
    Apart from this, try this methos of deploying the Par file.
    1) Save you project. Right click it and "Quick par Upload".
    2) On your browser type
    "http://<your_server_name>:50000/irj/servlet/prt/portal/"
    Your case:
    <i>http://khz059:52900/irj/servlet/prt/portal/</i>
    or same page you can get by navigating:
    System Administration-> Support-> Portal Runtime-> Administration Console.
    3) At the option "Please specify a Portal Archive file (PAR) and press "upload" to store it into the PCD." Deploy your par file by giving the path.
    Now you file is deployed on the server. If you want to create an Iview from this deployed .par file then :
    1) On your portal. Follow the path: Content Administrator-> Portal Content -> Portal Content(sub-option). Right click -> New from par ->iView.
    2) Here in the list you will find the par file which you have uploaded. Proceed as said.
    3) You will finally have an iView. Right click it and preview it.
    I hope this solves your problem.
    Regards
    Pravesh
    PS: Please consider rewarding points if helpful.

  • Problems downloading 1 file from 11.5.10+ virtual Documentation Library

    I am unable to download the following document from the 11.5.10+ virtual Documentation Library:
    Title: Using Oracle Workflow in Oracle Order Management
    Part Number: A96689-02
    URL: http://download-uk.oracle.com/docs/cd/B16981_03/current/acrobat/115omwf.pdf
    It seems that whether I try to open it or save the document to disk, it makes no difference. Please can you check whether there is a problem with the file as I am able to download all the other documents on this web site. Please can you correct the problem.
    I would also like to suggest that you have a link that enables you to download a single zip file of all documents updated since the base release (i.e. those marked New).
    Regards
    Mark

    Try replacing download-uk.oracle.com with one of the below:
    download-east.oracle.com
    download-west.oracle.com
    Cheers, OTN

Maybe you are looking for

  • Security exception while running the java client for a secured web service.

    hi, I created a proxy for a secured web service. When I run the client java program I am getting the following exception : java.io.IOException: could not load the default-keystore.jks file because The keystore file is tampered or password is incorrec

  • Need some help in jtextfield

    (repost from Programming Forum) Hello I want to create a jtextfield that only allows user to key in numerics and with fixed character length (means only a fixed length of characters can be entered). I have viewed this post: http://forum.java.sun.com/

  • Question on RBO & CBO

    hi, Plz clear some doubts.In 1 interview below questions were asked to me.. 1) how oracle will decide RBO or CBO have to used for query optimization? is there any parameter we need to set in init.ora file or any other parameter will decide to pick RB

  • Text item consumption values

    Can we know the total consumption of a text item in a bom over a period of time. Or can we know the consumption values of a phantom assembly Or is there a bom item which is not to be stocked , but thier quantity in bom multiplied with the order quant

  • Infocube Attribute, How is the efects in reports?

    Hi Friends, I have a doubt about include a navigational attribute in an infocube.. - If I include this in a report, could I filter by this char? - IAbout reports: an IC characteristic, will have the same behaivour than a IC attribute ? Thanks!