Access Linux shared folder from Windows OS
From wy web based Java application I need to copy a XML file from Windows OS to Linux OS in a shared folder.
For that we had used sambha and had mounted the shared directory in Linux OS and now we can access the folder by a user id guest with password guest.
Now from JSP web application how do I pass by default the user id and password so that when linux shared folder is acccessed it does not prompt for user id and password?
I have done a similar thing but have not tried to access it from a web app. Have you put an entry in /etc/fstab so that the windows partitions can be mounted automatically? If not, you can add something like this to your /etc/fstab file:
after that, you shouldn't need password anymore.
|All times are GMT -5. The time now is 08:37 AM.|