Linux.com

Unix File Access through URL

Link to this post 22 Nov 10

Hi guys, I wanted to access Unix file from Internet Browsers by using URL. I was able to make in Windows by sharing a Directory. Now my question is how can make it work in UNIX. The Unix server that i'll access is a seperate server and it is not a web server. Please inform me on what configuration should I do in Unix or what software should be installed to make it work. Thanks

Link to this post 22 Nov 10

I think you are stating you needs incorrectly. Using directory sharing in windows does not allow you to review files in a web browser, it requires a file manager to view the files.

Now to view files on a Unix or Unix-like server you can implement the directory sharing via NFS or samba, or you can implement an rsync server or ftp server to be able to share directories. Now if you want to be able to access and modify the files on the remote computer via command line you can setup an ssh server and use ssh or putty to access the server.

If you want to view the files in a web browser your only options are setting up an ftp or http server.

Link to this post 04 Mar 11

Just came across this solution...

If you have python go to the directory and run,

python -m SimpleHTTPServer 8080

You can access the dir contents using,

http://<ipaddress_of_system>:8080

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board