URL for donwloading a file ?

Hi,
I have created a procedure i want to execute for downloading a file. In the URL link of the report I have made this URL :
#OWNER#.dl_file?p_file=#PK#
I want to execute this procedure.
When I clok on the link I get this error message : "You don't have permission to access /pls/apex/SIVOA.dl_file on this server."
The URL is this one :
http://teleg1:7777/pls/apex/SIVOA.dl_file?p_file=1
I have granted the excution to public for this procedure.
Thank you for your kind help.
Christian
Where is my error ?

Varad,
I modified the procedure you mention like below and compiled it successfully.
create or replace
function wwv_flow_epg_include_mod_local(
    procedure_name in varchar2)
return boolean
is
begin
--    return false; -- remove this statement when you modify this function
    -- Administrator note: the procedure_name input parameter may be in the format:
    --    procedure
    --    schema.procedure
    --    package.procedure
    --    schema.package.procedure
    -- If the expected input parameter is a procedure name only, the IN list code shown below
    -- can be modified to itemize the expected procedure names. Otherwise you must parse the
    -- procedure_name parameter and replace the simple code below with code that will evaluate
    -- all of the cases listed above.
    if upper(procedure_name) in (
          'DL_FILE') then
        return TRUE;
    else
        return FALSE;
    end if;
end wwv_flow_epg_include_mod_local;Still get the same error : "You don't have permission to access /pls/apex/SIVOA.dl_file on this server."
I was wondering if my URL is not well build ? This is the URL :
http://teleg1:7777/pls/apex/SIVOA.dl_file?p_file=1
I think I may need an application ID. I don't know how to build the URL properly.
Regards.
Christian

Similar Messages

  • URL for viewing local files

    I'd been using Browserlab successfully today, viewing local files from Dreamweaver CS5. I logged out and then returned later in the day and am now having problems as the Browserlab window is failing to  automatically load the local file's URL in the box at the top of Browserlab screen (the URL box just stays blank. Can I manually input the local address and if so can someone advise the general format. I assume something like http://localhost/.... Obviously I will need to input my own file names, but just need the root URL/general format for viewing local files.
    Thanks

    Hi flowersplash,
    Thank you for your interest in BrowserLab.  Please check to see if you have the BrowserLab web site open in another browser or browser tab.  You should only have one instance of BrowserLab open at a time.  You might also try restarting your browser (all instances) and Dreamweaver and if that doesn't work, the OS.
    BrowserLab currently only allows you to specify local or firewalled URLs from Dreamweaver.  Directly inputting a URL into the BrowserLab testing interface will test the page from the perspective of a person elsewhere on the Internet.  Open the site you want to test in Dreamweaver LiveView, select "Local" in the BrowserLab Panel in Dreamweaver and click the Preview button.
    Cheers,
    Josh

  • What is the URL for an uploaded file?

    Hi guys, Muse has a feature: File > Add file for upload. Adobe blog describes it here. But leaves us dead when it comes to then finding the URL for uploaded files. Any clues? I'm trying to add an image URL to meta data so my blog post is not blank when sharing on Facebook. Be great if future Muse upgrades could allow us to elect an image or video to typify a page when it comes to sharing.
    Cheers,
    Jack

    Thanks Brad! Struggling a little still though.
    I gave the image the snappy title of 819A8983. Having republished the site, I see it as an upload in the assets panel. I assume to follow your instructions I put the website address up front, but when I enter http://www.bonne-app.com/assets/8I9A8983.jpg I get the a white screen and text: /*Not found*//*Not found*/
    Having floating files associated with the URL would be useful in future, but I'll certainly go ahead with a plug-in for now.
    Cheers,
    Jack

  • Error - In generating URL for a Excel File in WebDynpro Project

    Hi,
    In my WebDynpro Application, i have a EXCEL file ("Test.xls") and it is kept in the below mentioned location.
    Project->src->mimes->Components-><my component>
    This is the code i have used to generate URL.
    IWDWebResource webRes = WDWebResource.getWebResource(wdComponentAPI.getDeployableObjectPart(), WDWebResourceType.XLS,     "Test.xls");
    String excelFileURL = webRes.getAbsoluteURL();          
    wdContext.currentContextElement().setExcelFileURL(excelFileURL);
    i have assigned the URL to context element which in turn is assigned to LinkToURL UI element.
    I always get this error "Invalid URL=/webdynpro/resources/local/RigsOnMove/Components/ndc.maintain_rigmove.MaintainRigMoveComp/Test.xls".
    Please let me know your solution(s) to the above mentioned issue/problem.
    Thanks
    Senthil

    Hi Senthil,
    your code seems to be correct! Probabily your file is test.xls (NOT Test.xls with the first letter in uppercase).
    Try to write:
    IWDWebResource webRes = WDWebResource.getWebResource(wdComponentAPI.getDeployableObjectPart(), WDWebResourceType.XLS,     "test.xls");
    Hope this help,
    Vito

  • Retrieving URL for local html file in jar

    I can't seem to load an html file from my jar file. I did
    public URL howtouse=this.getClass().getClassLoader().getResource("howtouse.html");and then added a hyperlinklistener to a editorpane that contained:
    "<a href='"+howtouse+"'>how to use</a>";which opens in the default browser on click:
    if (e.getEventType() == HyperlinkEvent.EventType.ACTIVATED)
                     BareBonesBrowserLaunch.openURL(e.getDescription().trim());
               }it works, but not in an exec jar file. How can I make it work? thanks!

    Is the jar on the classpath? If not, the file can't be found.

  • Absoulte url for a image

    Hello,
    I have a page that is an include file for another page in a
    different folder. I put an image in the include file and contribute
    loaded the image where I wanted, but on the page that includes this
    file is looking for the image in the wrong location. All I need to
    do is make the image source an absoulte url so it can be properly
    read by the other page. Is there anyway I can get contribute to
    except the absolute url for the include file. Hope you understand
    my question. Below is fa older structure that might help explain.
    include file located
    www.url.com/zz/page.html
    image in the include file located
    www.url.com/zz/images/image.jpg
    page showing broken image
    www.url.com/yy/page.html
    Thanks,
    KG

    Hi ,
    This is a known issue in Contribute 3.
    Will be fixed in Contribute 4.

  • How can I create a URL for a PWA for MS Project Server 2010 project file that includes the view?

    Hi, this question has been answered for 2013. The answer here suggests that it can be done in  2010.
    See:
    http://social.technet.microsoft.com/Forums/projectserver/en-US/3affdc4f-36bf-4381-8b75-27c73465efd4/action?threadDisplayName=how-can-i-create-a-url-for-a-pwa-for-ms-project-server-2013-project-file-that-includes-the-view
    Who knows how?
    Regards
    Sander

    Hi Sander,
    As far as I tested it, it is not possible either with PS2010. The URL only contains the PDP name and the projUID.
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • How can I create a URL for a PWA for MS Project Server 2013 project file that includes the view?

    In earlier versions of PWA a URL for a project could include information on the particular view used. This was very handy for emailing people since when they clicked the URL they would see only the particular tasks in that view. In PWA for Project 2013
    the URL contains the info for the project file only and does not include the view or filter or anything else.

    Hi Scott,
    As far as I can see, this is not possible anymore, since the view's list in the PDP (for example schedule PDP) is affecting only the webpart and not the entire webpage, meaning that the URL is not connected anymore to the view and vice-versa.
    Indeed this could be annoying..
    Hope this helps.
    Guillaume Rouyre - MBA, MCP, MCTS

  • Database does not contain a URL for the file

    How do I find out what file/update this is:
    The file digest/hash does not exist in the SUSDB, but I have no idea looking at the windowsupdate or softwaredistribution.log what file it is referring to.
    SELECT  [FileDigest]
          ,[DigestAlgorithm]
          ,[AdditionalHash]
      FROM [SUSDB].[dbo].[tbFileHash] fh
      WHERE fh.FileDigest =0x15B82F101E79C1E2181E43CC8A3CC137CBFDC91D
      or fh.AdditionalHash =0x15B82F101E79C1E2181E43CC8A3CC137CBFDC91D
    0 rows found
    Softwaredistribution.log
    2014-10-07 23:07:04.319 UTC    Error    w3wp.5    ClientImplementation.GetExtendedUpdateInfo    System.ArgumentException: The database does not contain a URL for the file 15B82F101E79C1E2181E43CC8A3CC137CBFDC91D.
    Parameter name: fileDigests
       at Microsoft.UpdateServices.Internal.DataAccess.ExecuteSpGetFileLocations(Byte[][] fileDigests)
       at Microsoft.UpdateServices.Internal.DataAccessCache.GetFileLocations(Byte[][] fileDigests, DataAccess da)
       at Microsoft.UpdateServices.Internal.ClientImplementation.GetExtendedUpdateInfo(Cookie cookie, Int32[] revisionIds, XmlUpdateFragmentType[] fragmentTypes, String[] locales)
       at Microsoft.UpdateServices.Internal.ClientImplementation.GetExtendedUpdateInfo(Cookie cookie, Int32[] revisionIds, XmlUpdateFragmentType[] fragmentTypes, String[] locales)
       at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at System.Web.Services.Protocols.LogicalMethodInfo.Invoke(Object target, Object[] values)
       at System.Web.Services.Protocols.WebServiceHandler.Invoke()
       at System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest()
       at System.Web.Services.Protocols.SyncSessionlessHandler.ProcessRequest(HttpContext context)
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
       at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)
       at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)
       at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)
       at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
       at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
       at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
       at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)

    How do I find out what file/update this is:
    Hows about.. rather than chasing a rabbit down the hole doing whatever you think you're doing...
    We start with this: What problem is it that you're actually trying to solve?
    Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
    SolarWinds Head Geek
    Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
    My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
    http://www.solarwinds.com/gotmicrosoft
    The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.

  • Drop-down Menu to Open URL for File Download

    I am using Adobe Captivate 5.5 and was wondering if it is possible to create a drop-down menu that can be used to open different URLs for file downloads, kind of like the Attachments button Presenter has. Captivate seems to have a dropdown widget available but I can't tell if this would work for this purpose.

    Hi Theo
    You can use any composition to create a menu with setting for show target on rollover and then link targets to specific pages.
    Adobe Muse CC 7.0 Tutorial | Beautiful Graphic Navigation - YouTube
    Thanks,
    Sanjit

  • Cannot make a cache safe URL for "1025/styles/Themable/corev4.css", file not found. Please verify that the file exists under the layouts directory.

    HI
    i restored a sharepoint web 80 application in our test domain
    and after when i browse the new web application 
    it says 
    Cannot make a cache safe URL for "1025/styles/Themable/corev4.css", file not found. Please verify that the file exists under the layouts directory. 
    adil

    Hi  adil,
    According to your description, my understanding is that you encountered the error “Cannot make a cache safe URL for "1025/styles/Themable/corev4.css", file not found. Please verify that the file
    exists under the layouts directory.” .
    The issue happens in
    We have customized master page
    In the master page, we use path the script/style file like this: <SharePoint:CssRegistration name="<% $SPUrl:~SiteCollection/Style Library/coe/mainCOE.css%>"
    runat="server"/>
    While using the dynamic path in a multiple languages enabled site, language Id(1033 etc) will be added to the path automatically. That cause the file to be not found.
    To solve the issue, please download  the Arabic language pack http://www.microsoft.com/en-us/download/details.aspx?id=3411 ,
    install it on  your SharePoint and refresh your browser.
    Reference:
    http://sharepoint-community.net/profiles/blogs/cannot-make-a-cache-safe-url-for-1036-sytles-themable-corev4-css
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • URL for local file?

    URL url= Room.class.getResource("images/door.jpg");This works.
    URL url= Room.class.getResource("file:/home/cs02rm0/folder/src/images/door.jpg");This doesn't work - java.lang.NullPointerException although if I put "file:/home/cs02rm0/folder/src/images/door.jpg" in konqueror the image pops up nicely. I also tried creating a File object and using file.toURL().toString() - but that just output the same string.
    Can anyone tell me why and how I can correct it, or suggest a workaround?
    Many thanks

    File file = ...;
    URL url = file.toURI().toURL();

  • Problem with my program looking for the settings file in the wrong folder

    I have been writing a simple FTP file uploader, what I want to do is be able to select the files I want to upload in windows explorer and then right click and click the menu item and it launches the program and passes the files paths that I have selected to it.
    So I use this in the windows registry "C:\Program Files\Java\jre1.6.0_03\bin\java.exe -jar D:\BenFTP\BenFTP.jar %1"
    It launches fine and has no problem finding the files I want to upload. The problem is that it tries to look for the settings file in the same folder that the file I am try to upload is in. Which it's not suppose to do since the settings file is in the same folder that the .jar is in.
    Edited by: ColNewman on Feb 5, 2008 6:55 PM

    So, you're looking for your settings file in your current working directory. There's no way to set the CWD in your registry entry (is there?) so that isn't a practical thing to do. Presumably you're using a File object or a FileReader or something? Can't do that.
    One alternative is to look for the settings file in the classpath. You can get a URL to a file in the classpath like this:URL settings = this.getClass().getResource("/settings.xml");Or you can get an InputStream to read the file by using the getResourceAsStream method. You would have to make sure that your executable jar file contained a Class-Path entry that specified the right directory, because the directory the jar is contained in isn't automatically in an executable jar's classpath.
    Another alternative is to ask the user where the settings file is supposed to be, and put an entry in the Preferences (java.util.prefs) to remember that location.

  • Is there support for animated .gif files?

    Is there support for animated gif files using
    form builder? I can't get it to work.
    Thanks
    Sean
    I am using forms 6.0

    She used the Link Tool, specfied 'Image URL' as the Source File Format and the url of the animated GIF in the Source Filename. Hope that helps.
    Makes sense but the form is not for the web.
    I have looked at doing it with timers and switching canvases, but that is just too much
    for sloppy animation. It's just not tight enough.
    Thanks,
    Sean
    null

  • App for animated .gif files?

    I've searched till I'm blue in the face and before it turns red, is there and APP that can upload moving .gif files/pics from your Mac to a folder in the iPhone 3G(S)? When you sync a moving pic or file form iTunes to your iPhone in one of its photo/picture folders, of course the .gif doesn't move but is still. Is there an APP that will view these moving .gif's which allows them to move as they were intended or created?

    She used the Link Tool, specfied 'Image URL' as the Source File Format and the url of the animated GIF in the Source Filename. Hope that helps.
    Makes sense but the form is not for the web.
    I have looked at doing it with timers and switching canvases, but that is just too much
    for sloppy animation. It's just not tight enough.
    Thanks,
    Sean
    null

Maybe you are looking for