2

My need is to copy some of the zipped files from remote location to my machine and then unzip it in specific location. By which way it can be achieved in fastest way? Are there any open source tool already available for that? I know about Robocopy, but is there any other tool also, better than Robocopy?

I'm using windows xp operating system. I have to do this inside my eclipse application, so I need the tool or any plugin which I can easily incorporate in my eclipse application.

Thanks a lot in advance!!!

Anand
  • 2,239
  • 4
  • 32
  • 48
  • Are you looking to do this in Java? Cause the file I/O libraries and the java.util.zip classes can work with downloading and unzipping things? – Chris Aldrich Aug 16 '11 at 17:54
  • Yes, I have to do this in Java but I'm not sure whether file I/O libraries would be the fastest way for doing this. – Anand Aug 16 '11 at 18:02

2 Answers2

1

Related to adarshr's answer, you could use the Apache Commons IO or NET projects (see http://commons.apache.org/). Or if you want something with paid support you could use JScape. These are Java API's that allow you to do IO and FTP'ing. Then you could use either the java.util.zip classes for zipping/unzipping, or the Apache Compress project. Any of these options gives you flexibility at the Java programming level.

Chris Aldrich
  • 1,904
  • 1
  • 22
  • 37
  • Is Apache IO faster than file IO? – Anand Aug 17 '11 at 13:29
  • I actually haven't used it yet. Just suggesting it as an alternative. I'm not sure if it could be or not, because in Java file I/O is technically done through native calls (meaning letting essentially the OS level). – Chris Aldrich Aug 17 '11 at 17:51
0

You probably need an FTP client such as Filezilla.

For working with remote files from within eclipse, take a look at the RSE (Remote System Explorer) Plugin

Community
  • 1
  • 1
adarshr
  • 61,315
  • 23
  • 138
  • 167
  • Are there any api available which I can use in my code to do the copy in batch? And is it the fastest way? – Anand Aug 16 '11 at 17:10