Regarding opening the remote folder and files

hello,
I am developing a struts web application through which a user would be able to see the remote files and folders and view it upon selecting the particular file into the JSP.
I have created a onclick event in javascript which will present a user a pop up with the browse option using the <input type="file" name="myfile"> html tag. but when I click on the browse button it is showing me the local folders on my machine. Is there any way where I can pass the remote machine name and path of the folders in this tag so that when I click on the browse button it will show me remote machine folders and hence I can select the remote files. I am setting the remote machine name in property file.
Thanks

You can't. You need to present the folders and files and download links yourself with help of java.io.File in servlet and JSTL c:forEach in JSP and of course a bunch of HTML/CSS to present it nicely in sort of tree.

Similar Messages

  • How can i open the directory/​folder and read all the files inside it in order and then close it?

    How can i open the directory/folder and read all the files inside it in order and then close it? any example would be nice.
    thanks

    In the File I/O>>Advanced File Functions Palette is a function named "List directory". This function will give you two arrays. One contains the names of all subdirectories the other the names of all files. If you want to sort them by name use the array sort function. If you want to sort them by another attribute use the File/Directory Info function to get more data. Use a cluster which contains the attribut to sort and the original index of the name. Then sort this array.
    Waldemar
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions

  • A magazine's app on my iPad has stopped working.  When I open the Newsstand folder and click on the app, the screen dims briefly, then returns to the Newsstand folder. The other app in my Newsstand folder (Wall Street Journal) opens without any problem.

    A magazine's app on my iPad has stopped working.  When I open the Newsstand folder and click on the app, the screen dims briefly, then returns to the Newsstand folder. The other app in my Newsstand folder (Wall Street Journal) opens without any problem, and this magazine's app opens just fine on my wife's iPad.
    I have deleted the app and reinstalled it from the Apple store and that makes no difference.  I have also done a hard reboot on my iPad with no result.
    Any thoughts about what might be wrong? 

    Hey everyone in Apple world!
    I figured out how to fix the flashing yellow screen problem that I've been having on my MBP!  Yessssss!!!
    I found this super handy website with the golden answer: http://support.apple.com/kb/HT1379
    I followed the instructions on this page and here's what I did:
    Resetting NVRAM / PRAM
    Shut down your Mac.
    Locate the following keys on the keyboard: Command (⌘), Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.
    I went through the 6 steps above twice, just to make sure I got rid of whatever stuff was holding up my bootup process.  Since I did that, my MBP boots up just like normal.  No flashing yellow screen anymore!!   
    (Note that I arrived at this solution when I first saw this page: http://support.apple.com/kb/TS2570?viewlocale=en_US)
    Let me know if this works for you!
    Elaine

  • I am getting an error message that "no photos could be found on this device" when I plug in my ipad to my windows 8.  I open the dcim folder and it shows up empty, although I clearly have photos on my ipad.  I was able to do this just last week.  HELP!

    Help, I am trying to get my pictures from my ipad to my computer (windows 8) and I get the message that "no photos could be found on this device."  When I try to open the dcim folder, it shows up empty.  What can I do?  I have previously been able to import pictures easily.

    Hi, I had the same problem. I finally figured it out. Plug in the USB cord to your ipad, but beofre plugging it into your computer make sure your ipad is not in the locked or sleep mode. Once I did this, my photos showed up and started downloading. Hope that helps you!

  • How to find the Size of a Folder &also list the sub folder and files in it

    In my program I want to know the size of a folder . The input given is the path of the folder and the ouptut should be the list of files and subfolders with their size. What is the function we have to use for this?
    Thank you

    class: file
    method: listFiles() - list all files of the dir referenced by the file object
    method: length() - give the size of the file referenced by the file object ; you have to call this method on all file of the dir to make the sum and have the dir size

  • Tried to backup ibooks to PC using iTools, now iTunes will not open the backup folder and my iPad says that it's storage is almost full

    It appears that iTools has backed up on the iPad as well, I tried manage storage from settings but all storage settings are not enabled. I downloaded iTools on my PC and pressed the backup on iBooks in applications, it created a folder on my PC that iTunes on the PC cannot read. I stopped what was called backing up to local when I got a message from the iPad saying that storage was almost full.
    So how do I 1- repair the iPad storage
    2- backup the books in IBooks to my PC (they used to backup easily with iTunes but after the last update of iTunes they just would not)
    Thanks

    No, nothing at all happens. Once clicked the 'circle' that suggest it is loading appears (if that makes sense) but no, nothing
    Many thanks.
    Can you check something for me please?
    Restart your PC. after the PC restarts, bring up your Task manager, and go to the "Processes" tab. Click "Image name" to sort the processes alphabetically.
    Now try to launch iTunes.
    Does an itunes.exe process appear? If so, does it vanish after a second or so, or does it persist in the Processes tab (even though iTunes itself never shows up)?

  • Why can't I open a playlist folder and drag and drop playlists in it?

    I have hundreds of playlists that I am trying to organize via playlist folders. Right now I have to select a single playlist and drag it all the way to the top to the selected playlist folder. That is very tedious and time consuming! I have tried to open the playlist folder and just drag and drop the playlist but no go on that. Is there a way to move multiple playlists at the same time to the same playlist folder?

    Sorry, I misunderstood your question.
    I found no way to drag multiple playlists unless I collect them into a folder first and then drag that folder all the distance.
    But you could try to shorten the way you have to drag the playlist, by collapsing all folders but the one you are working on.
    I keep one big folder, that usually hold all my playlist and playlist folders.
    When I want to rearrange certain folders I move them from this container and close the folder containing all the rest. Then I can move the from one folder to the other without too much scrolling.

  • How can I save a file in the Downloads folder and automatically have it opened?

    Often, I'd like to download a file, save it to my Downlaods folder and have it opened right away.
    Currently, you can only decide between the two options "open" or "save to...". There's seemlingly no way Firefox can do both at once.
    I know I can download it, open the downloads manager and open it manually. But when working with over a dozen documents a day, that doesn't quite do the trick.
    In Chrome, you only have to click twice: Once for downloading and once for opening it from the download bar on the bottom of the screen. You do not have to open a download manager.

    Yeah, thanks but that's not what I was trying to ask.
    I know that you can save and open a document by performing these three steps:
    1. Confirming to save a file to the Downloads folder
    2. Open the download manager by clicking the temporarily green arrow
    3. Clicking on the downloaded file
    What I would like to know is whether or not it is possible to have Firefox open a saved file ''automatically''. At the moment, if I choose to open it automatically, it is only saved to my temp folder.
    It would be great though if it was saved to my Downloads folder ''and'' opened with the respective program on my pc. Is there a way to do this?

  • Applescript to open the Choose Folder dialog box and close the message after moving it

    I've been trying to figure out how to get the same functionality as the Windows version of Outlook has so that the open message gets closed when it's moved to another folder.
    It seems pretty simple to move a message to a pre-defined folder, but I can't find a way to open the Choose Folder dialog so I could choose the destination folder. I've looked through the dictionary, but couldn't find any direct way to activate the Choose Folder dialog. So I decided to use keystrokes for the job. Here's what I came up with:
    on run {}
        tell application "Microsoft Outlook"
            try
                set theMessage to first item of (get current messages)
                set folderID to the folder of theMessage
            on error errMsg number errNum
                set dialogReply to display dialog "Please select one or more messages to file away before running this script." buttons {"Abort"} default button 1
                return
            end try
            -- open the Choose Folder dialog
            tell application "System Events" to keystroke "m" using {command down, shift down}
            repeat
                delay 2
                set currentID to the folder of theMessage
                if currentID is not folderID then exit repeat
            end repeat
            -- Close the active message
            tell application "System Events" to keystroke "w" using command down
        end tell
    end run
    This is my first attempt to do anything with AppleScript..
    Now in addition to using keystrokes instead of Outlook built-in commands to open the Choose Folder dialog and to close the message, I also have another problem. Everytime I run the script from AppleScript Editor, everything runs fine, the message gets moved to the folder I choose and the message also gets closed. When I move the script to "~/Library/Application Support/Microsoft/Office/Outlook Script Menu Items" and start it from inside Outlook, Outlook  gets stuck after opening the Choose Folder dialog and I have to force quit Outlook. I added some debuggin to the script and found out that the script keeps running, but I'm unable to select the folder from Outlook and cannot continue.
    Anybody have an idea why this is happening?
    Regard,
    Kris

    (For the record)
    Unchecking "Submit crash reports" in the Firefox [[Options window - Advanced panel]] General tab simply toggles the default of the "Tell Mozilla about this crash so they can fix it" check box in the Mozilla Crash Reporter dialog (upon crash). It does not turn off the Crash Reporter itself.
    Related bug report:
    * [https://bugzilla.mozilla.org/show_bug.cgi?id=577221 Bug 577221 - Firefox doesn't remember "submit crash report" check box]
    The above information has been added to
    http://kb.mozillazine.org/Breakpad#Can_I_disable_Crash_Reporter.3F

  • How do I set the default folder for file - open file... ?

    When I save a file, photo, etc., the default folder for OPENING a file becomes the last folder I SAVED to - even after closing and reopening Firefox. Is there a way to maintain the same default folder for opening files?
    Thanks.

    Originally posted by: kwarner.uneedspeed.net
    Well... I found over 200 bugs none of which seemed to talk about setting
    the default folder. I probably missed the relevant bug in the spew.
    I ask a question here as a last resort -- after I've done what I think
    is an appropriate search for answers.
    But thanks for your help in any case.
    Daniel Megert wrote:
    > DemonDuck wrote:
    >
    >> When I need to open a file not in the workspace, I use File -> Open File.
    >>
    >> But the default folder it opens is in C:\Documents and
    >> Setting\Administrator
    >>
    >> I would like File -> Open File to first open in someplace more
    >> reasonable -- like the workspace.
    >>
    >> How do I set the default folder for File -> Open File ????
    >
    >
    > Is your '?' key broken? Check bugzilla there's a feature request
    > regarding your question.
    >
    > Dani

  • In Finder, I try to open a folder and files have disappeared and Finder closes. How do I fix it?

    Firefox crashed while I was online. It sent an error message. After, I was unable to locate the files in one of my folders in Finder. I can see the folders in "documents" but don't know how to restore them in Finder. I don't know if any other damage was caused. Thank you.

    In Mac OS X v10.7 and later, the $HOME/Library folder is a hidden folder.
    Open Finder and use one of these:
    *Go > Go To Folder (Shift-Command-G) and in the dialog type: ~/Library
    *Open the "Go" menu and hold down the Option key to make the Library appear
    *http://kb2.adobe.com/cps/909/cpsid_90947.html Access hidden user library files

  • Corrupted file in the applications folder and i cant get in

    I have a half uncompress file in the applications folder and it wont let me in to that folder, not even as a root user, it just closes the folder and opens desktop instead, everything else is working fine now, i hope i just need to delete that file. (all this is happening in my imac 27" late 2011 mountain lion)
    the file is a game that does work in my other machine (macbook pro early 2011 mountain lion)

    iOS: How to change the language when it's set to one you don't understand
    http://support.apple.com/kb/HT2371
     Cheers, Tom

  • Remember to open the specific folder when you go file-open in dreamweaver.

    Hi, everytime I go to 'file - open', the default folder under 'look in' is 'my documents'. Once I opened a local folder in dreamweaver, I need dreamweaver to remember that folder for all the time.
    I know I can modify required folder as a default folder in words 2003 this way: Tools - Options - File Locations - highlight Documents - click Modify - browse the folder I need the application to remember.
    The question is what is the equivalent this in dreamweaver to modify, just like in word?
    Thank you for your help,

    If you go to Window | Files and select the site you are working on (screen shot posted), then when you go to File | Open, it will take you to that sites root folder.  Is that what you were looking for?
    Gary

  • Keyboard shortcut for the Document Folder in file open/save dialog

    Does anyone know if there exists a keyboard shortcut for Document Folder in the File Save/Open Dialog? <command><shift>O works in the Finder. I tried variations of that in the dialog and didn't find any. <command>D takes you to the desktop. I tried other variations surrounding that to get to the Document Folder and didn't find any.
    Anyone? Bueller?

    There isn't.
    (56302)

  • When I download certain files(most often exe files), I'm not able to open the source folder anymore when the download is complete.

    When I download certain files(most often exe files), I'm not able to open the source folder anymore when the download is complete. Neither can I execute the exe file. It often forces me to redownload the file in google chrome and then I go to the source folder and right click properties and I have to unblock the file. Only then I'm able to start the exe file.
    FYI: I use vista, so that might be the problem by itself...

    It is possible that your anti-virus software is corrupting the downloaded files or otherwise interfering with downloading files by Firefox.
    Try to disable the real-time (live) scanning of files in your anti-virus software temporarily to see if that makes downloading work.
    See "Disable virus scanning in Firefox preferences - Windows"
    *http://kb.mozillazine.org/Unable_to_save_or_download_files

Maybe you are looking for

  • How do I get rid of the "Loading Next Page" thing?

    Recently my Firefox started pre-loading pages. As I scroll to the bottom of a web page I get a notification pop-up at bottom right, saying "Loading next page" ... but all it seems to do is reload the page I'm already on, creating a situation where I

  • UCCE Not Ready Reason Code Removed after Internal Call

    Here is the scenario.  Agent puts themselves Not Ready which we have set to require a Not Ready reason.  They enter the reason and go about their business.  Someone internally calls their extension for whatever reason.  The agent takes the call and h

  • PSE5 in Windows 7

    I had PSE5 installed in Win XP and now I have changed to a 64 bit Win 7. I have saved 2 folders from Win XP, Catalogs and Catalogs Folders. My idea was to just put these 2 folders in the same postition as before under WinXP. Problem is, when I start

  • Security issue after  publishing planning book on internet.

    Hello experts, I have published Planning Book of SCM4.1 on internet via integrated ITS. Now the users can access /SAPAPO/SDP94 i:e planning book via internet. All the services related to it have been activated in SICF and obejects related to it are p

  • How do you transfer library to another computer (no internet access)

    How do you transfer iTunes library to another computer?  (Old computer doesn't have internet access)