Absolute URL of a file

Hi:
Does anyone know how to get the absolute URL of a file? in what form does it exist in

I can't tell you how to GET it, because I don't know what you know about the file. But I can tell you that it should look like these examples:
file:///user/bin/whatsit.so
file://C:/gadget/config.txt
Also you should be aware that the exact format of the file: URL is not well-understood (by me too) so you might have to use three slashes instead of two, or vice versa.
Of course this is about a file on a local drive. If you're asking how to get the URL of a file accessible via HTTP or FTP, that's another question. Was that part of what you meant to ask? You weren't very clear.

Similar Messages

  • Absolute URLs  not working when file is on a remote server.

    My client has asked me to provide a template for an investor relations section of their website. The HTML page or template for this page will be at the service providers site, but all the images etc. for the page will be linked to files on my clients server. Everything looks fine, but the absolute URL's in the .swf file back to my clients site aren't working.
    This is what the service provider's guidlines say, but I'm not sure where the code is supposed to go:
    Similarly, newer versions of the Flash Media Player installed by most users have a high level of security enabled by default. This is done to prevent Flash movies from playing on web pages that are hosted on different domains than the movie itself (again, to combat “phishing” or “spoofing”).
    You do have the ability to overwrite this feature by proactively developing your Flash file so that it contains the following lines of code:
    System.security.allowDomain(“*”)
    stem.security.allowInsecureDomain(“*”)
    Sy
    You should also add the following line of HTML within the embedded Flash call in your HTML template:
    <param name=”AllowScriptAccess” value=”always” />
    This solution requires edits to the ActionScript of the pre-compiled Flash file, and is not something we can edit. For further guidance and more information, please speak with the developer of your Flash file.
    Thanks

    the easiest way to deal with security issues is to avoid them.  if all files are on the same server, use relative urls.
    otherwise, you may have to deal with security issues.  whether you do or not, and if you do, how you deal with them, depends on what you're trying to do.
    you may be able to use System properties but you may need cross-domain security files.

  • Including an absolute URL in a jsp

    All the documentation that I have seen says that I CAN NOT include a file in a jsp using an absolute URL...only relative URL's can be included. Is this true? If not, can somebody give me an example of how to do this?
    Thanks,
    Pat

    Hello Pat
    What is the URL doing is it trying to access a JSP file
    if so , Then you meed to include the port number with the URL
    if not an JSP then I Think It works fine with Absolute URL
    Good Luck
    Ranjith

  • Absolute URL IMAGE UI control in Web Dynpro ABAP fails

    I would like to display a .jpg from the Internet, either using a URL or an RFC Destination as the source.
    The "Web Dynpro ABAP Development in Detail" manual says that this can be done using only the Source attribute of the IMAGE UI control (see page 114) - that is,
       create an RFC Destination G-HTTP entry for the URL,
       type in that RFC Destination as $NAME$
       append any further extension of the URL as "/path in lower letters"
    I can enter an RFC Destination (ex., $UBERORBS$) which points directly to a single image file via its host/path and it is displayed in SE80's Layout Preview, but nothing displays at runtime.
    If I try to extend an RFC Destination's path to point to that image file (ex., $UBERORBS_BASE$/uberorbs_44pence.jpg), the image is also displayed in the Layout Preview, but not at runtime.
    Is this a bug?  or something wrong with our implementation?  We are at SAP_BASIS 700 level 0006.
    (Also, if the Source entry is not exactly correct, SE80 aborts following the entry with STRING_OFFSET_NEGATIVE.)

    Here's another piece of information.
    I am able to use the test app WDR_TEST_UI_ELEMENTS to display at runtime the $UBERORBS$ RFC Destination-absolute URL image.
    So, does this mean that there is a critical setting within my Web Dynpro component which must be set properly to permit this?

  • Absolute URL  in IWDCachedWebResource expires quickly

    Hi,
    I am displaying a PDF file in an  IFrame where the frame points to an absolute URL  accessed by a method of the class IWDCachedWebResource.
    The code snippet:
    IWDCachedWebResource genResource = WDWebResource.getWebResource( byte[], WDWebResourceType.PDF);
    wdContext.nodeXXXXX.setIFrameURL(genResource.getAbsoluteURL());
    This absolute URL expires very quickly leavng a 404 Not Found exception.
    Can we influence this setting making this absolute URL to last longer?
    Regards
    MK

    Meesum,
    Try to add line: genResource.setReadOnce( false )
    Otherwise there is a risk that WD invalidates cached resource after first read (this may be HEAD request from browser).
    Valery Silaev
    SaM Solutions
    http://www.sam-solutions.net

  • Absolute URLs being changed to relative URLs

    (Using DreamWeaver CS3)
    DreamWeaver keeps changing the Absolute URLs for this site's
    Flash menu into relative links which crashes the menu. Does anyone
    know how to stop this?
    The Flash menu source code is hard-coded into the DW Template
    file within OBJECT tags.
    Note: I have the following option checked (it's the default) -
    >
    Site Definition | Advanced | Templates: "Template Updating
    [checked] Don't rewrite document relative paths.
    The first chunk of code below is what it should be:
    <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"
    width="778" height="67" >
    <param name=flash_component value="sf5menu006.swc" />
    <param name=movie value="menuimage1.swf" />
    <param name=quality value="high" />
    <param name=FlashVars
    value="flashlet={_subButtonTextColor:#00644e,_searchFieldWidth:67,_subShowSpeed:20,_subMe nuColor:#c1fff1,_mainButtonHeight:35,needSearch:false,_subFont:'Verdana',autosize:false,_s ubButtonHeight:30,_menuColor:#00644E,_mainButtonTextColor:#FFFFFF,_mainFontSize:10,_search InputTextColor:#000000,_mainFont:'Verdana',_searchFieldColor:#ffffff,_subFontSize:9,_backg roundColor:#ffffff,_bgPicture:'NA',navigationTree:['Mainbut1:&lt;b&gt;Home&lt;/b&gt;;
    http://www.kpsspartner.com/NEW/IMAGE/homeimage.htm;_parent','Mainbut2:&lt;b&gt;Event&lt;br&gt;Photos&lt;/b&gt;;;_parent','_subbuton1:&lt;b&g t;GTA
    Symposium&lt;/b&gt;;http://www.kpsspartner.com/NEW/IMAGE/gwgtasymposium1.htm;_parent','Ma inbut3:&lt;b&gt;Goldwell&lt;br&gt;Color
    Image&lt;/b&gt;;;_parent','_subbuton1:&lt;b&gt;Color
    Logos&lt;/b&gt;;
    DreamWeaver keeps changing it to this:
    <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"
    width="778" height="67" >
    <param name=flash_component value="sf5menu006.swc" />
    <param name=movie value="../NEW/IMAGE/menuimage1.swf"
    />
    <param name=quality value="high" />
    <param name=FlashVars
    value="flashlet={_subButtonTextColor:#00644e,_searchFieldWidth:67,_subShowSpeed:20,_subMe nuColor:#c1fff1,_mainButtonHeight:35,needSearch:false,_subFont:'Verdana',autosize:false,_s ubButtonHeight:30,_menuColor:#00644E,_mainButtonTextColor:#FFFFFF,_mainFontSize:10,_search InputTextColor:#000000,_mainFont:'Verdana',_searchFieldColor:#ffffff,_subFontSize:9,_backg roundColor:#ffffff,_bgPicture:'NA',navigationTree:['Mainbut1:&lt;b&gt;Home&lt;/b&gt;;
    ../NEW/IMAGE/homeimage.htm;_parent','Mainbut2:&lt;b&gt;Event&lt;br&gt;Photos&lt;/b&gt;;;_parent','_subbuton1:&lt;b&g t;GTA
    Symposium&lt;/b&gt;;../NEW/IMAGE/gwgtasymposium1.htm;_parent','Mainbut3:&lt;b&gt;Goldwell &lt;br&gt;Color
    Image&lt;/b&gt;;;_parent','_subbuton1:&lt;b&gt;Color
    Logos&lt;/b&gt;;
    You help is greatly appreciated!

    What do you have in the HTML address field of the Local site
    definition?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "John_tech" <[email protected]> wrote in
    message
    news:[email protected]...
    > (Using DreamWeaver CS3)
    >
    > DreamWeaver keeps changing the Absolute URLs for this
    site's Flash menu
    > into
    > relative links which crashes the menu. Does anyone know
    how to stop this?
    >
    > The Flash menu source code is hard-coded into the DW
    Template file within
    > OBJECT tags.
    >
    >
    Note: I have the following option checked (it's the default) -
    >
    > Site Definition | Advanced | Templates: "Template
    Updating [checked] Don't
    > rewrite document relative paths.
    >
    >
    >
    >
    The first chunk of code below is what it should be:
    >
    >
    > <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    > codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
    > rsion=7,0,0,0" width="778" height="67" >
    > <param name=flash_component value="sf5menu006.swc"
    />
    > <param name=movie value="menuimage1.swf" />
    > <param name=quality value="high" />
    > <param name=FlashVars
    >
    value="flashlet={_subButtonTextColor:#00644e,_searchFieldWidth:67,_subShowSpeed:
    >
    20,_subMenuColor:#c1fff1,_mainButtonHeight:35,needSearch:false,_subFont:'Verdana
    >
    ',autosize:false,_subButtonHeight:30,_menuColor:#00644E,_mainButtonTextColor:#FF
    >
    FFFF,_mainFontSize:10,_searchInputTextColor:#000000,_mainFont:'Verdana',_searchF
    >
    ieldColor:#ffffff,_subFontSize:9,_backgroundColor:#ffffff,_bgPicture:'NA',naviga
    > tionTree:['Mainbut1:<b>Home</b>;
    http://www.kpsspartner.com/NEW/IMAGE/homeimag
    >
    e.htm;_parent','Mainbut2:<b>Event<br>Photos</b>;;_parent','_subbuton1:<b>GTA
    >
    > Symposium</b>;
    http://www.kpsspartner.com/NEW/IMAGE/gwgtasymposium1.htm;_parent',
    > 'Mainbut3:<b>Goldwell<br>Color
    Image</b>;;_parent','_subbuton1:<b>Color
    > Logos</b>;
    >
    >
    >
    DreamWeaver keeps changing it to this:
    >
    >
    >
    > <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    > codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
    > rsion=7,0,0,0" width="778" height="67" >
    > <param name=flash_component value="sf5menu006.swc"
    />
    > <param name=movie value="../NEW/IMAGE/menuimage1.swf"
    />
    > <param name=quality value="high" />
    > <param name=FlashVars
    >
    value="flashlet={_subButtonTextColor:#00644e,_searchFieldWidth:67,_subShowSpeed:
    >
    20,_subMenuColor:#c1fff1,_mainButtonHeight:35,needSearch:false,_subFont:'Verdana
    >
    ',autosize:false,_subButtonHeight:30,_menuColor:#00644E,_mainButtonTextColor:#FF
    >
    FFFF,_mainFontSize:10,_searchInputTextColor:#000000,_mainFont:'Verdana',_searchF
    >
    ieldColor:#ffffff,_subFontSize:9,_backgroundColor:#ffffff,_bgPicture:'NA',naviga
    > tionTree:['Mainbut1:<b>Home</b>;
    ../NEW/IMAGE/homeimage.htm;_parent','Main
    >
    but2:<b>Event<br>Photos</b>;;_parent','_subbuton1:<b>GTA
    >
    Symposium</b>;../NEW/IMAGE/gwgtasymposium1.htm;_parent','Mainbut3:<b>Goldwell<br
    >>Color
    Image</b>;;_parent','_subbuton1:<b>Color
    Logos</b>;
    >
    > You help is greatly appreciated!
    >

  • XML being loaded thru an absolute URL

    Hi,
    I have an slide show that references a XML document (through
    an absolute URL) which then calls images (also through an absolute
    URL). I'm doing this because I'm pulling the show onto a facebook
    page therefore need it absolutely referenced. [ex:
    http://www.mysite.com/photolist.xml
    The problem I'm running into is that once I try to use the
    same file on my own site by referencing it relatively, it only
    works when the user types in my URL with "www" included.
    So it WILL NOT work if someone goes to
    http://mysite.com but WILL work if
    they go to
    http://www.mysite.com
    Does anyone have an idea of what might cause this and if
    there is a work around? Thanks!

    you are going to have to tell me where "display remote URL's
    enabled" is at?
    i can tell you that i am able to see graphics from adobe.com
    when i place a remote URL in my code, it shows up. to make matters
    even more confusing and painful... i quit CS3, opened my site up in
    dreamweaver 8 and started working on the site. upon reading your
    reply, i quit 8 and reopened CS3 to see if i could find this
    "display remote URL's enabled" feature, and unable to find it, i
    did notice that my previous page with ??? now displayed correctly
    after being run through dreamweaver 8. what does this mean? is
    dreamweaver doing something with my remote site that CS3 is failing
    to do??? using the exact same setup and procedure... CS3 just fails
    miserably and I can't figure out why.

  • LoadMovie with absolute URL

    Hi there,
    I am very new to Flash and have been going around in circles for days trying to figure this out.
    I can't get swf to loadMovie when on server. I understand I need to use the path relative to the html page.
    Server info:
    Server Name:   server33.000webhost.com
    Home Root (file system path):   /home/a6667948
    Folder to upload files:   public_html
    Have tried this but doesn't work:
    on (release) {
        My_mc.loadMovie("http://server33.000webhost.com/home/a6667948/public_html/Images/Test.swf");
    My html page and 'Images' folder are located inside 'public_html' folder.
    Main.swf and Test.swf are both located inside 'Images'.
    Is there any obvious thing I have done wrong?
    Also: I have got the code below from forum to find the absolute URL... but get the following errors:
    I am desperate to get my flash site working but just aren't savy enough to figure it out. I need your help.
    Thanks in advance.
    ERRORS--
    ';' expected
    public function getAbsoluteUrl(urlInput:String):String {
    Wrong number of parameters;
    loadMovie(getAbsoluteUrl(_root._url) + "_assets/lib.swf");
    CODE--
    public function getAbsoluteUrl(urlInput:String):String {
    var strResult:String = "";
    if(urlInput.indexOf("http://") > -1) //only convert when online
    if(urlInput.indexOf(".swf") > -1) // only convert when an actual .swf file is used
    strResult = urlInput.substring(0, urlInput.lastIndexOf("/")+1); // find absolut path minus filename of .swf
    return strResult;
    loadMovie(getAbsoluteUrl(_root._url) + "_assets/lib.swf");

    if you use an absolute url you will have security issues to overcome.  unless you're loading a swf from a different domain, there's no reason to add this additional complexity to your task.
    if you can use a relative path, you need to know the path from the html file that embeds your main swf to the swf you want to load.

  • Submitting a form data to an absolute url from an h:form?

    I am using <h:form> in a jsf file.
    I need to submit this form to an absolute url. How to accomplish this? I cannot do this way (code at commadButton).
    <h:form prependId="false" id="form2">
              <h:panelGrid columns="2">
              <h:outputText value="Applicant Name: "></h:outputText>
              <h:outputText value="#{appbean.applicantName}" id="name"></h:outputText>
              <h:outputText value="AAMC ID" />
              <h:outputText value="#{appbean.aamcId}"></h:outputText>
              <h:outputText value="Applicant EmailId" />
              <h:outputText value="#{appbean.email}"></h:outputText>
              </h:panelGrid><br>
              <h:inputHidden value="3453323242324" id="Identifier"></h:inputHidden>
              <h:inputHidden id="Order_Items" value="0"></h:inputHidden>
              <h:inputHidden id="Order_Price" value="50"></h:inputHidden>
              <h:inputHidden id="Order_Checksum1" value="9233"></h:inputHidden>
              <h:inputHidden id="Order_Checksum2" value="2623423"></h:inputHidden>
                    <h:commandButton action="absoluteurl?" />
                     </fomr>So what I thought was submit the form to a new page "result.jsp" In result.jsp I used response.sendRedirect(). The absolute url will process the form data.Can you please helpppp..

    Hi Sri,
    You will need to have a Show item for the form as the users will need to be able to view the contents of the form.
    Darin's idea for the email is a good one. You should create a group for all the intended recipients of the email and then configure them to receive notification on updates to the directory that you specify your XML forms to point to.
    SAP library has the answers.
    http://help.sap.com/saphelp_nw04/helpdata/en/3b/e5f85dae7d8a49bffd2cbc255197f0/content.htm
    Cheers
    Daniel

  • Function that finds the absolute path of a file

    Hi,
    I'm creating an application using the SDL framework.
    The following code gives me the absolute path for the file "caisse.jpg", which is located in my application bundle. Then, I can use the value of "cstrURL" to load the image with IMG_Load(cstrURL);
    #import <CoreFoundation/CoreFoundation.h>
    int main(int argc, char *argv[])
    CFURLRef url = CFBundleCopyResourceURL( CFBundleGetMainBundle(),
    CFSTR("caisse"),
    CFSTR("jpg"), //extension du fichier
    NULL );
    const char* cstrURL = CFStringGetCStringPtr(
    CFURLCopyFileSystemPath(url,kCFURLPOSIXPathStyle),
    CFStringGetSystemEncoding()
    printf("URL: %s", cstrURL);
    return EXIT_SUCCESS;
    But I have many files to load for my application. I tried to create a function that would take as parameter informations about the image, and then automatically find the absolute path of this image.
    ( void imgPath(char name[], char ext[], char destination[] ---> name = "image", ext = "jpg", destination is a variable in which the function puts the absolute path of the file)
    How can I do that? What bugs me is the use of the CFSTR macro in the code I have...
    Thank you very much
    FRANKY

    The CFSTR macro can only use a constant string as parameter, not a variable one.
    You can use instead CFStringCreateWithCString if the parameter is a C String (char *).
    Additionaly, I think the input parameters of your imgPath function must be of char* type, not char. And the output parameter char** (but it would be easier to know with the function source code).

  • New page on click of absolute url

    I need IE to open new page of the absolute url when user click the url on initial page, but as result the new page always replace the inital page but not open a new session, I also refer to the threads in the forum like adding "sap-sessioncmd=open" or "syscmd=nocookie" but still does not work, can anyone give me any suggestion?following is my coding:
    Layout of the page1.htm:
    <htmlb:link id = "link1"
                text = "google with new session"
                reference = "http://www.google.com"
                target    = "_BLANK"
                onClick   = "LinkClick">
    <htmlb:link>
    OnInputProcessing:
      if event_id = cl_htmlb_manager=>event_id. " HTMLB event?
        data: lr_htmlb_event type ref to cl_htmlb_event.
        lr_htmlb_event = cl_htmlb_manager=>get_event( request ).
        if lr_htmlb_event is not initial.
          if lr_htmlb_event->server_event = 'LinkClick'.
            call method navigation->use_absolute_url.
            call method navigation->goto_page
              exporting
                url = 'http://www.google.com/ncr?sap-sessioncmd=open'
    *          url = 'http://www.google.com/ncr?sap-syscmd=nocookie'
                session = 'NEW'.
          endif.
        endif.
      endif.
    Message was edited by: Patrick Yan

    now i got a few minutes to work on this.
    here is a sample code.
    in the layout of the flow logic:
    i am using button for example,
    1) <htmlb:button id = 'CONTINUE'
          text          = "Continue"
          onClick       = "OnInputProcessing(continue)" />
    2) create a page attribute called index and also link the 'continue' page to the same page in the BSP
    3)in the layout
    <% IF INDEX = '1'.(use the dynamic link)
    l_url = 'http://www.google.com/'. %>
        <script type="text/javascript">
      <!--
        window.open("<%=l_url%>","ErrorLog","width=400,height=250,left=250,top=200 dependent=yes resizable=yes");
      //-->
    </script>
    4) in the oninput processing of this page
    assign event
      l_event = cl_htmlb_manager=>get_event( runtime->server->request ).
      IF l_event->id = 'CONTINUE'.
      l_index = '1'.
           navigation->set_parameter( name  = 'INDEX'
                                 value =  l_index ).
        navigation->NEXT_page( 'CONTINUE' ).
    endif.
    so when you click on the button you should get the google page in a popup.
    this is working for me. let me know if you are still having problms.
    regards,
    manasa

  • Absolute URL's do not display in design editor

    if i create a new page in my Site and I display a absolute
    URL image in my page ie:
    http://images.apple.com/home/2007/images/finalcutstudio20070415.jpg
    a image from apple.com's homepage. the image displays
    perfectly inside my HTML preview inside dreamweaver.
    however.... :( if i take that same image and place it inside
    my site (in a image folder) and i link the image using an absolute
    URL ie:
    http://www.mysite.com/images/finalcutstudio20070415.jpg
    the image suddenly no longer will preview inside dreamweaver.
    what gives??? i can view a external absolute img URL from another
    companys website, but using the same site URL that my project
    contains displays a ? icon instead of the image, even though if you
    copy and paste that same URL into a browser the image loads. it
    ONLY works if the image is hosted on another site not associated
    with your sites URL. This is NOT the way dreamweaver 8 was
    working... in fact, i opened my site directly from dreamweaver 8
    and the image loaded perfectly. i can quit dreamweaver 8 and open
    CS3 and using the same site and same site settings that same image
    shows up as a ? and nothing will get through unless its a different
    website URL entierly!!! i am so confused... what has changed?
    and before someone says " you need to upload that image to
    your site" i am past that.. the image i took from apple
    http://images.apple.com/home/2007/images/finalcutstudio20070415.jpg
    i COPIED AND PASTED INTO MY WEBSERVER IMAGE DIRECTORY. so its
    absolutely 100% not a "your image shows up as a ? because it
    doesn't exist BS... no it exists.. its very much the correct URL..
    i can copy the absolute URL of my image on my site and paste it
    into a browser and it displays fine. its only dreamweaver CS3
    trying to do some weird crap that causes it to show up as a grey ?
    box. and remember.. in dreamweaver 8 i can open the page and it has
    www.mysite.com/images/image.jpg written in the code and it displays
    off my site PERFECTLY. someone have any clue why this is now not
    working, and how i can fix it without having to work entierly in
    relative URLS, and then go back and manually paste in my
    www.website.com in front of all relative URLS after i am 100%
    finished.. I would rather go back to dreamweaver 8 where it works
    than use CS3 and not have this feature working.... 1 step forward 2
    steps backward.

    you are going to have to tell me where "display remote URL's
    enabled" is at?
    i can tell you that i am able to see graphics from adobe.com
    when i place a remote URL in my code, it shows up. to make matters
    even more confusing and painful... i quit CS3, opened my site up in
    dreamweaver 8 and started working on the site. upon reading your
    reply, i quit 8 and reopened CS3 to see if i could find this
    "display remote URL's enabled" feature, and unable to find it, i
    did notice that my previous page with ??? now displayed correctly
    after being run through dreamweaver 8. what does this mean? is
    dreamweaver doing something with my remote site that CS3 is failing
    to do??? using the exact same setup and procedure... CS3 just fails
    miserably and I can't figure out why.

  • Since passing to ML, I have a message, in French, which is: La connexion au serveur a échoué. Les URL de type "file" ne sont pas prises en charges.  Can you tell me what this means and how to get rid of it? thank you.

    What does this message mean?
    La connexion au serveur a échoué.  Les URL de type "file" ne sont pas prises en compte.
    thank you.

    Without more information, ie what were you trying to do when you got this message, it is very hard to answer your question. If you were trying to access a webpage it means the server the page is on had a problem. If you were doing something else please post back and someone may have the answer.

  • 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.

  • How to get the absolute path of a file from the local disk given the file n

    how to get the absolute path of a file from the local disk given the file name

    // will look for the file at the current working directory
    // this is wherever you start the Java application (cound be C: and your
    // application is located in C:/myapp, but the working dir is C:/
    File file = new File("README.txt"); 
    if (file != null && file.exists())
        String absolutePath = file.getAbsolutePath();

Maybe you are looking for