0

I am trying to run a servlet on the Linux server which connects to the windows server and gets the files present on it.

Is there any library to get files from windows as we have just in Linux and Unix. As I know that using javascript only FTP is not possible.

Please let me know if you have some info to share.

Thanks in advance

isuru
  • 535
  • 1
  • 9
  • 25

1 Answers1

1

Share your file on windows.

use jcifs library to access that. http://jcifs.samba.org/

refer to access to file using Java with Samba JCIFS for example.

Community
  • 1
  • 1
Chamil
  • 805
  • 5
  • 12
  • The file will be dynamic and will be present in download folder of current logged in user. i will try these method and will post if it works for me – Praveen Patel Mar 26 '14 at 09:07