How to work with the remote file system

Hi all,
I want to know how we can work with the remote file sytem.
Code should be some thing like
File f = new File("//10.22.33.122/images")
images is share name..
i want the file names of all the images in that shared folder...
Thanks in advance,
Srinivas N

try this one:
File f = new File("//10.22.33.122/images")
File[] files = f.listFiles(new FilenameFilter() {
     public boolean accept(File dir, String name)
// Specify the extentions of files to be included.
     return name.endsWith(".bmp") || name.endsWith(".gif");
// get names of the files
String[] fileNamesArray = null;
for (int indx = 0; indx < files.length(); indx++)
fileNamesArray[indx] = files[indx].getName();
return fileNamesArray;

Similar Messages

  • I need to work with the RAW files on a SONY RX100III. I use Photoshop CS5 and a Mac operating system OSX 10.6.

    I need to work with the RAW files on a SONY RX100III camera. I use Photoshop CS5 and a Mac operating system OSX 10.6. Is there an Camera RAW upgrade or an alternative program that works here?

    You don't. Since you have an Intel Mac, buy a Mac OS X 10.6 DVD from the online Apple Store.
    (71894)

  • Question. How do I update / modify my site? Do I work with the original file "modify"?

    How do I update / modify my site? Do I work with the original file "modify"?

    Not sure why modify is in quotes ... but yes you work with the original and then publish again or export the HTML again.

  • Scheduling Gantt: How to work with the "zoom-to-fit" drop-down

    I'm trying to figure out how to work with the "zoom-to-fit" drop-down on the scheduling Gantt dvt control. It has choices in the drop-down that are not appropriate for my project. The documented purpose of this drop-down is to allow the user to zoom to a level that would allow a certain time range to "fit" within the current window. The choices start at "1 Week" and go up through "2 Weeks", "1 Month" etc. The problem is that the projects I'm displaying are generally just a couple of days long, and consist of many small tasks. So even 1 Week is too big. Also, no matter what I pick in this drop down, nothing happens.
    So my questions are these:
    1. Can I change the choices in this drop-down? If so, how do I do that?
    2. If not, then how can I remove this drop-down? (I figure I probably can if I disable "zoom", but I don't want to do that.)
    3. How do I get this to actually do something? I assume maybe I have to code some listener somewhere, but if so, how do I do that.
    Thanks for any hints, tips and advice!

    Currently, we do not allow customization of zoom-to-fit. Please file an ER. We could add a param to featuresOff attribute to disable/remove zoom-to-fit from the toolbar without disabling/removing zoom.

  • The program vectorworks 2008 (not 2009) does not work with the new operating system Mavericks, which is a disaster because it forces us to change the program, and is very expensive. Apple should fix this problem

    The program vectorworks 2008 (not 2009) does not work with the new operating system Mavericks, which is a disaster because it forces us to change the program, and is very expensive. Apple should fix this problem

    Why should Apple fix the problem? Maybe you should consider NOT upgrading if an expensive piece of (obsolete) software you're running won't work with it...

  • Does iWeb work with the new Apple System?

    I am thinking of buying the new iMacs but wondering if iWeb will continue to work with the new Apple system.
    Does it?

    Thank you everyone! You all have been a big help and I have copied the links suggested.
    It's been a while since I last used the community. I later remembered to type in key words and found others with solutions too. So, extra big thank you for responding so quickly and Happy Holidays!

  • Does nano 6g work with the remote (apple in-ear headphones)?

    Does nano 6g work with the remote (apple in-ear headphones)?
    Is it possible to change volume and skip tracks?

    Hello Homer,
    According to this page from Apple they are.
    http://www.apple.com/ipod/in-ear-headphones/
    B-rock

  • I just received a new macbook pro. I am looking for a usb3 external storage 500 GB drive.  Some manufacturers of drives aren't for sure their drive will work with the new lion system. Does anybody have any suggestions for drives that will workw

    I just received a new macbook pro. I am looking for a usb3 external storage 500 GB drive.  Some manufacturers of drives aren't for sure their drive will work with the new  system. Does anybody have any suggestions for drives that will workw

    There seems to be a problem, just now, with the USB 3 ports on the new MBP's supporting eternal USB 3 drives. Some people have no luck at all - can't even recognize the drive - and some are reporting USB 2 speeds (those who drives are recognized). I'd call a dealer such as LaCie or OWC to see if they have USB 3 drives that actually work with MBP's with USB 3 ports. You may have to wait for a software/firmware update.
    Clinton

  • Does anyone have SSL working with the Sun Java System App Server PE?

    We have been having problems (to say the least) getting SSL to work with the Sun Java Application Server 8.1 Platform Edition.
    We have a signed certificate from VeriSign and have it imported correctly, but when you test it by going to https://localhost:8182/ (note that 8182 is the port set up for SSL) you get a warning mesage saying that the certificate cannot be verified. When you view the certificate you see that it is the one that got automatically generated for you by the app server and not the one we purchased from VeriSign.
    So, I was just wondering if anyone out there has gotten this to work and if so, what document did you follow to tell yoiu how it was done!
    THANK YOU!

    once apon a time i had a real problem with the same issue.. best of luck.. i forget now how to fix.. sorry.

  • How to work with the Migration tool in SAP BPC from MS to NW

    Hi,
    I am working in a Migration project from SAP BPC MS to NW.
    we are having a migration tool purchaged from SAP.
    I don't know how to  work with,Could you please help me in this.
    Is there any way to do it by Manually?
    Thanks and Regards
    Krishna

    Hi Krishna,
    As you are not upgrading your version but you are migrating from one BPC platform to the other, you need to follow all the rules of installing fresh SAP BPC version. As you have not specified from which version you are migrating and to which version, you can refer to the following link for installations and upgrades (You need to login using your S-user ID):
    https://websmp203.sap-ag.de/support
    Hope this helps.
    Rgds,
    Poonam

  • 2 computers at home working with the same files i keep on an external hard drive to free up space the internal drives. I have an airport extreme time capsule to back up both computers. how can i get it to back up the hard drive plugged into time capsual?

    I want to run both my macbook pro and imac from a single external hard drive.
    i bought a time capsual and set it us as my network and plugged my external hard drive into it. so now both my computers can access it and work on the same image and film files. the time capsual does a lovely job of backing up both my computers and my wifes. but i cant get it to back up the external hard drive that is conected to it. ive looked on the forum and it seems to me that its not possible, which seems odd to me that mac would enable you to plug a hard drive into the time capsual but not let you back it up, what is the point in that!?
    so my question is can i back up the external hard drive with time machine, and if not how do i set up my home network so that all my computers can access the same files and time machine will back everything up?
    I did the upgrade to maverics on my imac which has caused me a major headache as now all my apature albums have been updated to 3.5.1 but my macbook pro can no longer open them because im unable to upgade it to maverics, but thats another story.
    If anyone can help me with my time machine issue i would be very greatful.
    many thanks

    i cant get it to back up the external hard drive that is conected to it. ive looked on the forum and it seems to me that its not possible, which seems odd to me that mac would enable you to plug a hard drive into the time capsual but not let you back it up, what is the point in that!?
    so my question is can i back up the external hard drive with time machine, and if not how do i set up my home network so that all my computers can access the same files and time machine will back everything up?
    The TC for whatever it is promoted as,, is still a simple hard disk in a router. It was designed for laptops to use as a backup. A desktop can use a USB drive, faster cheaper and more reliable than a network drive but the laptops need a network wireless storage. Hence the TC. It is NOT nor was it ever designed to do the job you are trying to use it for.. it is not a NAS.. it has no internal backup.
    What is more Time Machine has no ability to backup network drives no matter what their format.
    So the solution is to either use a real backup software.. eg Carbon Copy Cloner which can do far more than TM can or ever will. It is around $40 so hardly expensive. But since the TC was never designed for it, this will be slow.. and the next question is where are you going to back to. Using the TC as backup location for your files is less than great. Primarily because all your files are still on the same device albeit on different disk. It is also because mixing data and TM backups is not so great. The TC cannot be partitioned although you can alleviate some of the issues..
    See this info.
    Q3 here http://pondini.org/TM/Time_Capsule.html
    Let me go back to the question.
    so my question is can i back up the external hard drive with time machine, and if not how do i set up my home network so that all my computers can access the same files and time machine will back everything up?
    Fundamentally the TC is the wrong place to do this.
    The right place is to plug the USB drive into the iMac.. since it is a desktop machine and you are probably not lugging it around. Simply share the USB drive to the network.
    The MBP can then access the USB drive, and it will be around twice the speed of networking to the same drive on the TC. TM on the iMac can then also backup the USB drive to the TC as part of the normal TM backups.
    The only thing is the iMac needs to be turned on to allow MBP access.

  • Have just been told by BT that I need a new/different version of Thunderbird to work with the new BTMail system (used to be BTYahooMail) - do I?

    I have had btinternet email for years, and Thunderbird for a long time too and have been happy with both. Unfortunately, I am not technical enough to understand most of the help or instructions on the Thunderbird support/info pages, but did manage to get TB set up in the first place (ages ago) and it seems to have worked well since. However, on Friday both of my BT accounts (two numbers, therefore two sets of BT email addresses) were moved over to the new BT Mail from the old BT Yahoo mail. I was unable to log in to one of them, but the other one was fine - I had some 'screen sharing' help from a BT technical chap to sort it out. However, Thunderbird was unable to conect with the email servers. I told BT and the tech chap tried to sort it out on the screen share, but was unable to (and I was unable to follow what he was doing). Some months ago, I made some changes, as requested by BT, to enable the transfer to go smoothly (!) but the man changed some things on Friday, I think, as well. He was unable to fix the TB problem and I can't figure it out at all, and the lady from BT Tech help who I spoke to this morning (and who had managed to sort out my BTID log-in problem, thankfully) had a look and suggested that maybe I needed an updated/new/different version of TB or 'another email'. Well, I'd really like to stay with Thunderbird and was hoping someone here could explain it in plain english for me, please? I was wondering what would happen, supposing I need to download an updated/different version, if I did that and then sort of re-installed my existing BT email addresses (just as if I was starting again with Thunderbird)? I do hope there is someone here who can help - please - I'm rather fond of that little blue bird. Thank you.

    Just add the account again.
    File|New|Existing Mail Account&hellip;
    There should be no need to delete or reinstall anything. Re-installing Thunderbird itself is rarely useful, since doing this doesn't delete account data. Don't delete the old yahoo-based account until you're sure that everything you need to keep is in the new criticalpath-based account.
    CriticalPath is the name of the business providing email services to bt.com.
    Some not very reassuring reading [http://www.theregister.co.uk/2014/03/13/bt_likely_to_have_breached_data_protection_act_after_email_accounts_were_allegedly_compromised_over_http_and_details_kept_in_log_files/ here].
    You'd think bt could run their own email service, wouldn't you? Yahoo was generally seen as a poor choice. I'm not sure that criticalpath is any better.

  • AVCHD: how to deal with the .MTS files in FCP 5 or iMovie 08

    I just bought a Canon HF10 AVCHD camcorder and stumbles into the difficult editing process with FCP 5. Here are my steps:
    - Conversion of the camcorder .MTS files with iMovie 8; they are then transformed into a .MOV sequence. A 14secondes sequence recorded in the highest quality (FXP, 17Mbps) is captured as a 28MB .MTS file by the camcorder, rendered as a 231MB .MOV file by iMovie 8, and it took 53 sec to process it !
    - I export the sequence as: Share >Export Final Cut XML…
    - In FCP 5: import XML…then I tried different modes: AIC 1080i60 (image is overstreched), AIC 720p30 (proportion is OK, but I captured in 1080…), AIC DV NTSC 48kHz (not HD…) BUT none of the resulting sequence is rendered, I still have the red bar above the timeline.
    For financial reason, I’d like to avoid to go to FCP 6, which seems to work natively with the AVCHD format.
    My questions are:
    - is there a way to reduce the size of the iMovie converted files: 900MB per minute ?
    - is there a way not to have to render the imported files in FCP ?
    Can anyone help me ?

    I have the same camera and the reality is you're going to go through that translation from AVCHD to some sort of Quicktime file format no matter which tool you use. I do it with FCP6 and it needs to do the same translation from the .mts files to (they recommend) ProRes files. AVCHD is a highly compressed format and when you move it to an editable form, the file(s) is going to get much larger. It is HiDef content after all which can be quite large.
    In my case, once I do the transfer to ProRes format nothing needs to be rendered in the FCP timeline unless I add some sort of filter or effect to it.
    The rendering problem you are describing is often caused by the Sequence setting not matching the content settings. This is automated in FCP6 where it detects the content format of the video you're trying to add and changes the sequence settings to match the content. Take a look at the sequence settings and see if they match the structure of the content and that should resolve the 'everything needs to be rendered' situation.

  • What wireless speakers will work with the "remote speaker" feature?

    I want to use the remote app on my iphone to control my itunes library and was considering purchasing some speakers to put out by my pool. My question is what kind of speakers will itunes detect? what technology are we talking about? RF, Bluetooth?

    iTunes itself, that is it's built-in remote speaker function, will work only with an Airport Express. There may be other wireless speakers that have their own drivers or transmitter; someone else here may be able to make a recommendation.
    Message was edited by: Dave Sawyer

  • How to work with the same Object in different computers?

    I'm working with Players, and I have to pass them to the server from the client..how can I meke that?
    Thanks

    Just to clarify, the OP is talking about "javax.media.Player".
    (He previously discussed the question on a different forum).

Maybe you are looking for

  • Cannot view pdf in safari

    Since I installed Adobe Reader X, I cannot view pdf files in safari. If I click on a .pdf file on my hard drive, it will open up with Preview and I can view it. But before I used to be able to see pdf files in the safari browser. But now the browser

  • Reminder upon receiving call

    I would like to recieve a reminder when I receive a call. For example, when a friend calls me to remind me to talk to this person about something important. Currently, I only see the reminders for dates/time and/or location. I am NOT looking for an a

  • Problem Syncing apps

    I have an iPhone, iPad and PC with ITunes. I sync via iCloud and wirelessly. Only some of my apps seem to sync, others, such as cars.com and audible.com only appear on the device to which I downloaded the app. What is interfering with them appearing

  • Unhelpful text selection

    I'm not certain if the problem I'm referring to is caused by Mac OS or individual applications, but here goes, anyway. I do a lot of editing of text, in Word, NeoOffice InDesign and a range of other programmes, for a magazine that I edit. Quite often

  • Importing mov files into iMovie events

    Hi This is my first post ever on this site. Here goes! I am new to iMovie, but have had someone more experienced trying to help but to no avail! I am trying to import mov files into iMovie Events. However in the file menu there is no "events' option,