File directory.

Hey Guys, i dont know if this is possible, but im building an
intranet and there a page thats is going to link to lots of files,
but these file will be contantly changing, adding and removing. i
am wondering on that page is it possible to have a little window
with a directory browser to go through the files?.
Thanks

On Mon, 8 Sep 2008 22:35:14 +0000 (UTC), "lachy455"
<[email protected]> wrote:
>i am using one called indexor (
http://0zz.org/dev/) atm, but turn
out i need
>one that just displays the name not the type size and
size, type,
> does anyone know a neat looking script that shows just
name and the browsing
>functions, or know how to edit indexor to show just the
name?
Try this (save it as index.php):
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN"
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<title>Directory</title>
<style type="text/css">
ul {list-style: none}
ul, li{margin:0;padding:0}
</style>
</head>
<body>
<?php
$d = dir(".");
$dirs=array();
$files=array();
while (false !== ($entry = $d->read())) {
if(substr($entry,0,1)!='.'){
if(is_dir($entry))
$dirs[]=$entry;
else
$files[]=$entry;
natcasesort($dirs);
natcasesort($files);
echo "<ul>\n";
foreach($dirs as $entry)
printf("\t<li><a
href=\"%s\">%s</a></li>\n",$entry,$entry);;
foreach($files as $entry)
printf("\t<li><a
href=\"%s\">%s</a></li>\n",$entry,$entry);;
echo "</ul>\n";
$d->close();
?>
</body>
</html>
Gary

Similar Messages

  • How do I find my CC Files Directory?

    Hello!
    Very new to the Creative Cloud.
    Trying to figure out the most basic thing--where can I find the Creative Cloud Files Directory? I want to be able to automatically backup my Photoshop and Indesign files, just in case my computer crashes.
    This site: Creative Cloud Help | Manage and Sync files --tells me if I save my files in this magical folder, they will automatically sync to the Cloud.
    Where is this folder? I'm using a Mac. I searched for it in Finder with no luck.
    Do I have to download another app?
    Help!
    Thanks,
    Super Newbie.

    doertel wrote:
    How do I put my cc files into bridge or camera raw?
    Please can you rephrase the question?

  • Error in setting permissions on file/directory $ORACLE_BASE/jre/1.1.8/LICEN

    Hi,
    On installing Oracle 9.2 on RedHat Linux release 4, I encounterd the
    following error:
    Error in setting permissions on file/directory
    $ORACLE_BASE/jre/1.1.8/LICENSE
    This error is encountered at the inital stage of installation after inputing all the
    required settings in the OUI. and at the Installing Java Runtinme Environment 1.1.8.1.0
    Could someone tell me why it happened and how to fix it? Your help is
    much appreciated.
    There was a post on this topic only in here and said to change the permissions of the
    ORACLE_BASE .......... I have tried out all these and all the permissions and the environment settings are correct but i'm not able to proceed with the installation even after a lot of trying.
    All you guys help is verry verry appreciated..........
    Thanks,

    Do the following and post the results:
    cd $ORACLE_BASE
    pwd
    ls -al
    cd jre
    pwd
    ls -al
    cd 1.18
    pwd
    ls -alI can't imagine anyone making recommendations without seeing what you've done.

  • Error in setting permissions of file/directory

    This is the error I am getting
    Error in setting permissions of file/directory /u01/app/oracle/jre/1.1.8/bin/i686/native_threads/.extract_args
    I am running RedHat 9 and obviously installing 9.2.0.
    Any ideas on why I might be getting this. I have set permissions for the oracle user for this directory.
    Thanks
    Dave

    from root try this command
    umask
    umask must set at 0022 ... if your server not set at this number use this command
    umask 0022

  • Error in setting permissions of file/directory /home/oracle/jre/1.1.8/LICENSE !

    Error in setting permissions of file/directory /home/oracle/jre/1.1.8/LICENSE ! Installation problem of 9i databse on redhat 7.3!!I installed sun jdk 1.3 or jdk 1.1.8_v3 and created a link for /usr/local/java !

    from root try this command
    umask
    umask must set at 0022 ... if your server not set at this number use this command
    umask 0022

  • Get the file directory/location using JFileChooser

    Dear,
    How to get the file directory and it location with using JFilechooser after select the indicate file?
    Thanks

    There is an example at the top of JFileChooser's doc.
    http://java.sun.com/j2se/1.4.1/docs/api/javax/swing/JFileChooser.html

  • No remittance advice output in the 'Outbound Payment File Directory'

    We are working on an upgrade from 11i to R12.
    Configuration has created a profile for an electronic payment with a separate remittance advice. They have specified an outbound payment file directory. The EFT text file is generated in the proper directory (on the appserver); however, the remittance advice file went to the default directory on the dbase server. We want to pick up the file, rename and ftp to our printer from the 'outbound payment file directory'.
    Is this expected functionality or did we miss something in configuration?

    Manu,
    I do not think it is possible -- You may log a SR and confirm this with Oracle support.
    Where Can Be Found The Output File For The Transfer To The Bank [ID 730548.1]
    How To Change Nacha Payament Output Directory And Name [ID 786007.1]
    Thanks,
    Hussein

  • File Adapetr: File is not picking from File directory

    Hello,
    Issue: we are facing issue with file sender adapter like file is not picking from source file directory.
    Scenario: FTP1>PI>FTP2
    1. SAP PI sender communication channel will pick the file from FTP1 and process to PI file server (NFS)
    2. from PI file server (NFS), file will process again to FTP2
    So while picking the file, it shows following error:
    Could not process due to error: java.lang.IllegalStateException: Error during RETR epilogue: com.sap.aii.adapter.file.ftp.FTPEx: 451 Transfer aborted. Broken pipe
    Conversion of file content to XML failed at position 0: sun.io.MalformedInputException
    Processing started
    this issue occur after we migrate the PI server from hpunix to aixunix.
    Best Regards,SARAN

    Hi,
    check the FCC parameters, fieldfixedlength option would be used when the exact length of field is constant in the Sender, In the FCC the fieldfixedlength parameter carries the length of the each.
    Check out Michal's blog on content conversion for all your doubts :The specified item was not found.
    Kindly check the below links for further assistance.
    http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/frameset.htm
    regards,
    ganesh.

  • Dynamic outbound payment file directory for  in Payment Profile in R12?

    Hi All,
    Is it possible to have the "outbound payment file directory" setup in R12 Payment Process Profile dynamically?
    Ideally we would like to store the value in a profile and refer the lookup in this field, rather than giving it hard coded, like /net/common/CM_UTL_DIR/EBSTST
    Please let us know of workarounds also, if any.
    Thanks!
    Manu

    Manu,
    I do not think it is possible -- You may log a SR and confirm this with Oracle support.
    Where Can Be Found The Output File For The Transfer To The Bank [ID 730548.1]
    How To Change Nacha Payament Output Directory And Name [ID 786007.1]
    Thanks,
    Hussein

  • Remote content crawler on a file directory in a different subnet

    I'm trying to crawl a file directory that is on our company network but in a different subnet. It seems to be set up correctly, because I have managed to import most of the documents to the knowledge directory. However, when running the job a few times, sometimes it succeeds and sometimes it fails, without consistency. The main thing I notice is that it doesn't import the larger files (>5 MB), but our maximum allowed is 100 MB. Even when the job runs "successfully" there is a message in the job log:
    Feb 21, 2006 12:08:14 PM- com.plumtree.openfoundation.util.XPNullPointerException: Error in function PTDataSource.ImportDocumentEx (vDocumentLocationBagAsXML == <?xml version="1.0" encoding="ucs-2"?><PTBAG V="1.1" xml:space="preserve"><S N="PTC_DOC_ID">s2dC33967209AEE4710C5ED073C04B3EDCF_1.pdf</S><I N="PTC_DTM_SECT">1000</I><I N="PTC_PBAGFORMAT">2000</I><S N="PTC_UNIQUE">\\10.105.1.33\digitaldocs\s2dC33967209AEE4710C5ED073C04B3EDCF_1.pdf</S><S N="PTC_CDLANG"></S><S N="PTC_FOLDER_NAME">s2dC33967209AEE4710C5ED073C04B3EDCF_1.pdf</S></PTBAG>, pDocumentType == com.plumtree.server.impl.directory.PTDocumentType@285d14, pCard == com.plumtree.server.impl.directory.PTCard@1f6ef01, bSummarize == false, pProvider == [email protected]4)ImportDocumentExfailed for document "s2dC33967209AEE4710C5ED073C04B3EDCF_1.pdf"
    When the job fails, there is a different message:
    *** Job Operation #1 failed: Crawl has timed out (exception java.lang.Exception: Too many empty batches.)(282610)
    I tried increasing the time out periods for the crawler web service and the crawler job. That didn't seem to work. Any suggestions?

    Hi Dave,
    Did you fix this issue? I'm having the same error.
    Thanks!

  • Pass export file/directory name in Web Engine plug-in

    I use a custom Lightroom web engine plug-in that I use to publish my website (5000+ pages).  Here is an example of an output section:
    http://www.johnkane.com/2010-03-01-MuirWoods/index.html.
    I use Dreamweaver to synchronize all the assets such as menus and links, including the plug-in files (Lua pages).  Each web gallery is published to its own folder in my website.  It works great except that every time I publish/republish a web gallery, I have to scroll and identify the directory in the Export / Save Web Gallery dialog box (or type the file (directory) name in for an initial export/publish).
    I have created a panel text box and variable (metadata.directoryPermalink.value) that can contain the directory name.  By storing this directory permalink along with the web gallery, I hope to ensure that each gallery is always published to its correct directory...
    ... except I don't know how to pass this variable to the export dialog box (as "File name" which actually is the directory name all the gallery files are exported to.
    Do I specify this in the manifest?  I don't see references in either the manifest or galleryInfo files... or in the sdk LrWebViewFactory section.  Perhaps I've missed it?
    Any help appreciated!
    Thanks,
    jk

    Hi,
    I haven't tried to write a web engine so don't know the answer off the top of my head. A quick glance at the SDK guide and the two SDK samples didn't give me any hints at the answer.
    Before I nudge one of the gallery developers to see if they know the answer I need to confirm one thing. Can you please confirm you have a file in the same directory as your manifest using the name "myfunctions.lua", and that your require statement looks something like this:
      require "myfunctions"
    (Thie filename should be considered case sensitive).
    I know its an obvious question but I need to ask before I ask one of the others for assistance.
    Matt
    UPDATE: It might also be worth having a look at Sean's 3 post series on web galleries, which is the only other resource I can recall re building web galleries.
    Added additional resource re web gallery development

  • How to upload pdf file format in unix file directory?

    how to upload pdf file format in unix file directory?

    Hi Karthikeyan,
    If you have PDF internal table with you, You can follow the below method to upload into Unix directory.
        DATA:file_path TYPE char100 VALUE '/usr/sap/tmp/rep_out.PDF'.
        OPEN DATASET file_path FOR OUTPUT IN BINARY MODE.
        IF sy-subrc EQ 0.
          LOOP AT it_pdf.
            TRANSFER it_pdf TO file_path.
          ENDLOOP.
        ENDIF.
        CLOSE DATASET file_path.
    Thanks
    Venkat.O

  • Where did my file directory go?  I thought my mail was backed up in my .me account and now that my computer was stolen and I need to restore my emails all I can find are the ones in my inbox

    I thought my mail was backed up in my .me account but when my computer was stolen and I went to restore my email in my new one, all I had were emails in the inbox.  Is there any way I can retrieve the saved file directory?  I did not back up the mail because that was being done by the .me account (I thought)

    If her data was not backed up or synced to something, it's gone. Sorry.

  • How to get the FILE COUNT from File directory

    Hello,
    i have to develop a scenario like, get  the file count from source file directory and validate whether the file count is 5 or not. if 5 files exist i need to process those 5 files to DB tables. if file count is not equal to 5 then i need to send a mail to customer that files are missed at source directory. (subject as files were missed at source directory and in content i need to display the file names exist at source file directory. So that missed file will be generated by the customer based on this mail).
    Could you please let me know how to get the count of files from source file directory. if it is possible only with UDF please provide the Java code
    Best Regards,
    SARAN

    Do these files have some fixed names?
    Can you try to use the option Advanced Selection For Source File to make XI  pick all 5 files in one shot?
    Check this blog on the same -
    /people/mickael.huchet/blog/2006/09/18/xipi-how-to-exclude-files-in-a-sender-file-adapter
    If this is not a option - BPM sounds the only possible way.
    Regards,
    Bhavesh

  • How to append a file directory and its contents in a jTextArea

    how will i display the contents of this file and file directory in a jTextArea or ...let's say it will display the content of "c:/AutoArchive2007-05-24.csv" in a jTextarea
    say this file "c:/AutoArchive2007-05-24.csv"contains the ff:details
    user:jeff AutoArchive-Process Started at Thu May 24 15:41:54 GMT+08:00 2007
    and ended at Thu May 24 15:41:54 GMT+08:00 2007
    Message was edited by:
    ryshi1264

    use the append(...) to append data to the text area.

  • How can we access the file/directory system in the server

    Hi friends,
    I have made a text editor attached with an audio player for my project.
    Both text editor and audio player are implemented in applet and put in to a
    jsp page using jsp:plugin. Text editor and player are separate applets running
    in the same page and from same server.A client who is using this editor may
    want to save the edited text files to the server as well as hear audio files from
    directories in the server.
    My question is how can we access the file/directory system in the server
    like we do in the local machine.When the user cliks save or openfromserver button
    in the editor, folder/files in the server must be displayed as we do with FileChooser.
    I am using Apache Tomcat 5,wiindows 2000 server, jdk1.5.
    manu

    You can't access it directly. But your applet can make net connections to the server, and the server can provide that kind of functionality. Generally this is easiest by making HTTP connections and having the server provide the functionality via the web server. (So in your case, JSPs or servlets on the server would list/deliver/create/modify/delete files, and the applets would invoke those JSPs and servlets.

Maybe you are looking for

  • How do I disable the Flashplayer Update Warning?

    Hi Guys I'm working on a small SWF as part of a webpage I'm designing. I have a swf banner already on the page and that works fine. But when I test the page, with the additional swf in IE9, using the latest player version, IE9 displays a blank white

  • 2009 Macbook Pro fan noise with Windows 7

    Hello Apple community, I'm not sure if I should post this in the bootcamp section or not. I've recently installed Windows 7 on my mid 2009 MBP. I used OS X Lion to create the bootcamp partiton. Everything installed ok but now my MBP's fan is getting

  • Color box in a 2D Array

    Hi, I am a beginner in Labview , i want to color a box in a 2D Array of color boxes.  So if the user clicks on a box inside the 2D array, the box will turn into a specific color. I think i need to get the column and  row of the element that has been

  • Case supported in sql but not in pl/sql

    i get a ... LS-00103: Encountered the symbol "CASE" when expecting one of the following: i am running on a 8.1.6.0 any one know when this is available ???

  • JNDI binding issue

    Hi everyone, I'm having an issue with a not bound exception. According to the logs, I'm getting the not bound exception with the following details: The excerpt is here: 04/24/08 11:44:42.692 Info: [ProcessWrapper] org.springframework.beans.factory.Be