URL represents a folder or a file?

hi guys
if i have a URL how can i determine whether it represents a folder or a file?
thanks in advance

If it's just a matter of resolving relative URLs, you don't need to know whether a given resource is implemented on the server as a directory or a file.
RFC 2396 goes into detail (which I found out by Googling 'rfc "relative uri"'), but basically it comes down to "if you want to go up a directory, then strip the last slash and everything after it from the base URI in question". With xml:base, then the URI so specified would be the one you work from.
So URIs and especially relative URIs suggest a hierarchy like a filesystem, and use a syntax like a filesystem, and are often implemented by the server with filesystems...but there's no hard correspondence to a filesystem, and there might in fact be no filesystem.

Similar Messages

  • How do you create a save as default folder for MP3 files used Captivate text to audio voices files?

    How do you create a save as default folder for MP3 files used Captivate text to audio voices files?

    Hi Ed
    Thank you for contacting me, however I already know how to save text to
    audio files via timeline using the Export feature.
    So my question was not entirely clear and I apologize for that.  To explain
    further, whenever I save a text to audio file, captivate takes me to a
    default save as folder where I then have browse back to my production
    folder where I am keeping all my Txt to Aud files.  This is very tedious
    process when you have alot of files to save.  So my question was is there a
    way to configure captivate so I can make my production folder the default
    file for whenever I save a Txt to Audio file through Export feature that
    the system automatically takes me to that production folder, and I am
    spared the long tedious process of saving the file manually to the
    prodcution folder I want.
    I have copy the pathway to the production folder in the URL filed in the
    Save As dialoge box and that workaround as cut the work down but I still
    have to paste that URL field to point the file to the right folder. So it
    would be nice if I could do everything automatically.  Microsoft makes this
    capability in their MS Office applications, so I was thinking Adobe might
    do the same thing.  Your help with this would be appreicated,
    Thanks
    Merrill Roberts
    Sr. Training Specialist
    SunGard Availability Services
    Direct 925-831-7730
    Mobile:415-215-9280

  • Archiving  file in different folder in sender file adapter

    Hi,
    I have a requirement in witch i have to pick 7 different file from seven different folder.
    for this I am using advance selection tab and defining all the other folder path.
    but my problem is I have to archive the different file in different folder .
    For exm..
    /folder1/file1.txt need to be archive in /archive_filder1/file1.txt
    /folder2/file2.txt need to be archive in /archive_filder2/file2.txt
    /folder3/file3.txt need to be archive in /archive_filder3/file3.txt
    can any one tell me that how to  define the dynamic  archive folder path??.
    regards,
    Navneet

    Hi Navneet
    In File Access parameters --> Target Directory
    Use this type of Directory name
    \XIDEV_STORES\%store%\sapoutbound
    here %store% will be changed accordingly
    e.g. if file will come for store 001 then this %Store% will be replaced by 001 and file will be placed in this 001 folder and if file will come for store 002 then this %Store% will be replaced by 002 and file will be placed in this 002 folder over FTP.
    For to achieve this Go to Advanced tab 
    For Variable Substitution check mark Enable
    Now speciofy the parameter values for Variable Name and Reference
    Under Vriable name specify = store
    Under Reference specify = payload:WP_PLU02,1,IDOC,1,EDI_DC40,1,RCVPRN,1     -
    You have to give full path name here that where this store variable is located into IDOC.
    Hope this example will help you
    Regards
    Dheeraj Kumar

  • Links according to the folder where the file is?

    I have this script that I found here on this forum and would like to change it so that when you execute it according to relink the file name
    # target illustrator
    linkReplacer function ( ) {
         var = orginalUIL app.userInteractionLevel ;
         app.userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS ;
         if ( app.documents.length == 0 ) {
              alert (' Please have an " Illustrator " document open before running this script . ' ) ;
              return;
         Else { }
              docRef = app.activeDocument ;
         defaultFolder var = new Folder ( ' ~ / Desktop ' ) ;
         psdFolder defaultFolder.selectDlg var = ( ' Please select the folder of your replacement files ');
         if ( psdFolder == null) return ;
         with ( docRef ) {
              placedFiles var = new Array ( ) ;
              for (var i = 0; i < placedItems.length : i + +) {
                   placedFiles.push ( placedItems [i]. file.name );
              for (var j = 0 j < placedItems.length j + +) {
                   var replace = new File ( psdFolder.fsName + '/' + placedFiles [ j ] ) ;
                   if ( rePlace.exists ) {
                        placedItems [ j ] . file = Replace ;
                   Else { }
                        alert ( 'File " ' + placedFiles [ j ] + " ' is missing ');
         app.userInteractionLevel = orginalUIL ;
    linkReplacer ();
    for example
    filename > TESTE_0000_CLOSED_01
    link contained in the file > TESTE_0000_INDEX
    link contained in the file folder ( TESTE_0000_CLOSED_01 ) is TESTE_0000_INDEX_01
    after running the file the link is > TESTE_0000_INDEX_01
    I do not know if I was clear is complicated to explain
    when run this script searches the linked item in the folder where it is saved, like that instead he relink the file contained in the folder under the file name

    Hi,
    Thanks for all the quick replies!
    If I use Application.ExecutablePath I get:
    C:\Documents and Settings\Administrator\Definicoes locais\App2\2.0\EG5PGYGH.6NX\.....\App.exe
    I published the application in a Tools folder and I need to go up in the path to refer to other folders in the same directory as the Tools.
    So I have a Directory named Application and folders inside: Tools (where I publish the application), SO, Acet, Others. As I will copy the application to another computer while maintaining the same folder structure I need to get the path till the Tools (with
    or without the executable name).
    Any other hint, please?
    Thanks.

  • Apple loops for garageband pack doesn't show the folder content (loops, files...)  in ableton live suite 8 library browser, but I can see all the loops in the folder from finder. how can i fix this? help please.

    apple loops for garageband pack doesn't show the folder content (loops, files...)  in ableton live suite 8 library browser, but I can see all the loops in the folder from finder. how can i fix this? help please.

    Thanks Barney, I tried that but all that comes up in Spotlight are the log files that show the file paths! I don't know how Steam works. Are all the files held by Steam on their server perhaps?

  • Open PDF from a folder of changing files

    My client wants to give CDRoms to people but he wants to be
    able to put different PDF files on each one.
    I can open a PDF with no problem, what I can't do is get
    Director to recognise a folder of PDF files that is ever changing,
    and be able to open individual PDF's with a click.
    I want to be able to say to my client "put your PDF's in the
    DOCUMENTS folder, then put all files onto a CD, simple as that".
    How can I do it?

    you can get the content of a folder with
    - pure lingo using getNthFileNameInFolder()
    - fileXtra4 using fx_FolderToList()
    - buddyAPI using baFolderList()
    hth
    Ned

  • I need help every time my iTunes library updates i get this error messege: The iTunes.itl file cannot be found or created. The default location for this file is in the "iTunes" folder in the "Music" folder. but the file should be there.

    Every time I have to upgrade iTunes it gives me this messege:'The default location for this file is in the "iTunes" folder in the "Music" folder.' the file should be there but I don't understand why it does this every time Apple upgrades the Itunes library. Its on the computer somewhere but it only affects this login on my computer (meaning on this Windows Account). Why does my iTunes do this? Then I have to spend hours placing all my libraries back together and all my music back into the library. Which usually takes me a few days to sort all out. What is wrong with my iTunes? The iTunes folder is a folder in my Music folder where I store the iTunes music/files/libraries at on my computer so I can have all of the iTunes files in one place on my computer.

    I have a Windows 7 operating system my computer runs from.

  • HT1923 I can't delete the Apple folder in Common Files

    My computer would not recognize my iPhone.  I tried the troubleshooting tips found online, uninstalling everything in order.  When verifying all files had been removed, I could not delete the Apple folder in Common Files as it says the folder or a file in it is open in another program.  When checking my programs I see iCloud remains (published by Apple).  Need that be uninstalled as well?  How important is it to delete the Apple folder which has an Internet Services folder in which are two other folders (filled with files), an application AppleOutloodDAVConfig64, and three application extensions?  I can no longer remember if my phone had remained connected to the computer throughout all of the process or not,

    Does it say something is in use in there?

  • How do I delete the apple folder in common files

    I am trying to delete the apple folder from common files.  When I click on apple, internet services comes up.  I tried to delet those but it says they are open in the internet.  I don't know how to close them.  Please help.

    I just fixed this.  I had to,delete iCloud from my PC.  Make sure it is still on your ipad, etc.!!!  There were programs open in iCloud preventing me from deleting all the apple files so that I could reinstall itunes.  I did not find that out on any of the apple support postings.  Apple should have told me to delete iCloud as they did the other components. 

  • WSDL URL is invalid or the WSDL file is not valid or incorrect

    Hi All,
    I am using Oracle Soa Suite 11g. I have got Oracle database, Oracle weblogic admin server, Oracle SOA server all installed on my laptop.
    I have deployed a sample BPEL process. When I am trying to test the process it is giving an error
    "Either the WSDL URL is invalid or the WSDL file is not valid or incorrect. - WSDLException: faultCode=PARSER_ERROR: Failed to read wsdl file at: "http://KSNPavan-PC:8001/soa-infra/services/default/MyHumanWorkFlowSample1Project/vacationrequestprocess_client_ep?WSDL", caused by: java.net.ConnectException. : java.net.ConnectException: Connection refused: connect "
    Now, when I change the url address to
    "http://localhost:8001/soa-infra/services/default/MyHumanWorkFlowSample1Project/vacationrequestprocess_client_ep?WSDL"
    (Please note the difference in host name from KSNPavan-PC to localhost.)
    and click parse wsdl it is working well. I mean the test page is opening successfully and I am able to test the service.
    Testing the service from admin console is fine. Now I want to use this BPEL process service in another BPEL process. So, when I am piciking this service wsdl in JDeveloper it is throwing me the same error and I am unable to go ahead.
    Can anyone please tell me whetherI have to set property in the admin server console so that it always take local host in all the wsdl urls and solve my problem.
    Thank you,
    KSN Pavan.

    Hi All,
    My problem has got solved with the help of my colleagues. Actually the problem was that the host name KSNPavan-PC is not there in the C:\Windows\System32\Drivers\etc\hosts file. I Added the host name in the file with the IP same as that of local host and everything isworking well now.
    Thank you,
    KSN Pavan

  • Either the WSDL URL is invalid or the WSDL file is not valid or incorrect.

    Hi ,
    i deployed one bpel process in weblogic.
    when i am click on test below is error is coming. ( its on oracle soa 11)
    below is coming for all the process. previously it is working fine.
    Either the WSDL URL is invalid or the WSDL file is not valid or incorrect. - WSDLException: faultCode=OTHER_ERROR: Failed to read WSDL from http://xxxx:8001/soa-infra/services/default/ReadJMS/readtraxjms_client_ep?WSDL: HTTP connection error code is 503
    Please help me how it is resolved.
    Regards
    jan

    Hi Jan,
    We had the same issue in 11.1.1.3 and we used to restart the server to fix it. Hopefully before going to PROD we upgraded to 11.1.1.5 and next time we saw this issue was only when there was some problem with the OHS (it was down etc.).
    Which version you're on?
    Regards,
    Neeraj Sehgal

  • Can't delete Apple folder in Common Files

    I went to the Genius Bar today.  They were not able to solve my problem but they did a full restart of my iPod and told me to reinstall iTunes on my home computer.
    Before reinstalling iTunes, I followed Apple's instructions for deleting all Apple software on my computer (Windows 7).  However, I have been unable to delete the Apple folder in the Common Files folder.
    I searched for hours online for solutions to deleting this file.  It looks like several people have had this problem and several suggestions have been made  but nothing has worked for me. 
    Among the things I have tried are stopping and restarting explorer.exe.  I also downloaded Byetunes but it looks like I can only delete one file at a time and there must be hundreds of files in this folder.  This is madness.
    I would deeply appreciate as complete a list as possible of ways to delete this file. 
    It should not be this hard to find out how to delete a file!
    Thank you.

    Followed the procedures as layed out in Apple Support online, but now I still can't delete the "Apple" folder in "Common Files" (during the 'verifying you've actually deleted iTunes' step...).
    Do you have the iCloud control panel currently installed? If so, try uninstalling that. Can you do the deletion now?

  • TS3212 I keep getting this error message "The folder path 'Program Files' contains an invalid character.' when upgrading itunes to Itunes 10. I could not uninstall because of the same error message. What needs to done?

    Can not download and install Itunes 10 - Get this message "The folder path 'Program Files' contain an invalid character. I tried to uninstall my old Itune through Control Panel but get the same message. What do I need to do?

    Perhaps try the following user tip with that one:
    "not a valid short file name" and "invalid character" install errors

  • ITunes fails to install update "folder path program files contains an invalid character"

    I'm trying to get the newest version of itunes, but I keep getting "the folder path program files contains an invalid character." I've seen on here before attempts to use Microsoft fix it and Windows Clean up which I've tried and both haven't helped. I've gone to youtube and tried to delete the appropriate folders under the registry edit. Nothing seems to work. I need the new itunes to update my iphone because of the recent hardware crash via the new update.

    At what stage in the process does this occur?
    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    The further information area has direct links to the current and recent builds in case you have problems downloading, need to revert to an older version or want to try the iTunes for Windows (64-bit - for older video cards) release as a workaround for installation or performance issues, or compatibility with QuickTime or third party software.
    Your library should be unaffected by these steps but there are also links to backup and recovery advice should it be needed.
    tt2

  • ITunes Update attempt: "The folder path 'Program Files' contains an invalid character"

    How can I install the latest version when I get this message : "The folder path 'Program Files' contains an invalid character"? The message appears when I try to install the update and it appears when I try to uninstall the previous version. The instructions for manual uninstall says to use the Control Panel Uninstall Programs first and then "clean up" -- but I can't use the Control Panel Uninstall. I am running iTunes from an external drive. What to do?

    That's normally produced by a damaged iTunes.msi. The basic treatment for it is given in the following user tip:
    ["not a valid short file name" and "invalid character" install errors|http://discussions.apple.com/thread.jspa?threadID=2368028]
    ... but since Microsoft pulled the Windows Installer CleanUp utility from their Downloads Center, things have grown more difficult. First we have to find a copy of the utility.
    Let's try Googling. (Best not to use Bing, I think.) Look for a working download site for at least version 3.0 of the Windows Installer CleanUp utility. After downloading the utility installer file (msicuu2.exe), scan the file for malware, just in case. (I use the free version of Malwarebytes AntiMalware to do single-file scans for that.)
    If the file is clean, to install the utility, doubleclick the msicuu2.exe file you've downloaded.
    Now start with *step 4* from the user tip, and proceed from there.
    (If you do find a clean download site for the correct version of CleanUp, please don't tell me where it is. Without wishing to sound paranoid (although I grant it does sound paranoid), there is a non-zero chance that posting links to download locations for the utility here at Discussions leads to that download location being shut down.)

Maybe you are looking for

  • HT1349 i have forgotten my password. how can i retrieve it or reset it?

    have forgotten password. hint is old and doesn't work. can't retrieve serial number either. any ideas?

  • Just locked my Macbook Pro and now it goes straight to recovery.

    I just tried if the lock Mac works on the find my iPhone. My laptop froze and restarted. Now every time I boot, my laptop goes straight to recovery HD. I tried holding option when rebooting and when I chose macintosh HD, it still goes to recovery. It

  • Switching loop question

    Hello everyone! I need some clarification of the switching loops. I apologise if my question is too simple, but i really cannot find answer in books, internet. Thanks in advance! Please look at the attached topology. This is my test lab for switching

  • Documents to Go Desktop App will not sync with iPhone and iPad

    This used to work perfectly and now, it just stopped being able to sync.  The desktop shows that my devices are disconnected?  I've uninstalled and reinstalled and the desktop app won't recognize any devices.  Any ideas??  I'm using Windows 7 PC and

  • Post Invoice Against Scheduling Agreement

    We have a situtation where an end user created a non-GR relevant, text based only line item on a scheduling agreement, however the IR flag is turned on.  Knowing that scheduling agreements have to have a delivery schedule is it possible to post an in