LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-23-2013, 08:51 PM   #1
texwarhawk
LQ Newbie
 
Registered: Aug 2013
Posts: 5

Rep: Reputation: Disabled
Trouble Mounting Website Directory- Even Possible?


I have a program that displays weather data. This data, however, is very large and the program needs it to be local. What I am trying to do is mount an online directory that has all the data so that the program thinks its local, however the data will not be downloaded unless I'm trying to view it.

The directory is here:

http://136.145.85.36:8015/gempak/

Is mounting this directory even this even possible?
 
Old 08-24-2013, 02:25 AM   #2
rootboy
Member
 
Registered: Oct 2001
Distribution: Mint 15
Posts: 770

Rep: Reputation: 51
You should be able to do it using NFS or Samba. Here is a quick tutorial:

http://community.linuxmint.com/tutorial/view/77

If you still need help, please list the distro that you are using (for example, I use Mint).

Thanks!
 
Old 08-24-2013, 02:46 PM   #3
texwarhawk
LQ Newbie
 
Registered: Aug 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
I tried this yesterday. Maybe I was typing it wrong, but the connection would always time out. I am using xubuntu 13.04


Thanks!
 
Old 08-24-2013, 03:49 PM   #4
rootboy
Member
 
Registered: Oct 2001
Distribution: Mint 15
Posts: 770

Rep: Reputation: 51
I tried it last night too, and my connection timed out as well. I'll fool around with it and see if I can get it to work when I get home (I'm at work, and this is a Windows box that I am on).
 
Old 08-24-2013, 03:53 PM   #5
texwarhawk
LQ Newbie
 
Registered: Aug 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
Awesome! Thank you so much!
 
Old 08-24-2013, 04:01 PM   #6
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=14, FreeBSD_10{.0|.1|.2}
Posts: 3,876
Blog Entries: 1

Rep: Reputation: 1997Reputation: 1997Reputation: 1997Reputation: 1997Reputation: 1997Reputation: 1997Reputation: 1997Reputation: 1997Reputation: 1997Reputation: 1997Reputation: 1997
Quote:
Originally Posted by texwarhawk View Post
I have a program that displays weather data. This data, however, is very large and the program needs it to be local. What I am trying to do is mount an online directory that has all the data so that the program thinks its local, however the data will not be downloaded unless I'm trying to view it.

The directory is here:

http://136.145.85.36:8015/gempak/

Is mounting this directory even this even possible?
Unless you OWN the remote machine and have configured it to export those directories you will not be able to mount them locally.

From the whois they appear to belong to the University of Puerto Rico, I would guess that they do not export those via NFS or Samba (could be wrong).
 
Old 08-24-2013, 04:03 PM   #7
texwarhawk
LQ Newbie
 
Registered: Aug 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
So there is no way to "trick" my computer into thinking the directory is local? I can view the directory on a browser, but I don't have read access?

I can use wget to download the files, but the data is large and will just eat through my bandwidth if I am constantly downloading the files onto my home NAS.

Last edited by texwarhawk; 08-24-2013 at 04:04 PM.
 
Old 08-24-2013, 04:09 PM   #8
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=14, FreeBSD_10{.0|.1|.2}
Posts: 3,876
Blog Entries: 1

Rep: Reputation: 1997Reputation: 1997Reputation: 1997Reputation: 1997Reputation: 1997Reputation: 1997Reputation: 1997Reputation: 1997Reputation: 1997Reputation: 1997Reputation: 1997
It isn't really a matter of tricking your local computer, it is a matter of whether the remote machine allows it. If you know that they allow remote NFS or Samba mounts then point us to the page where they provide that info. As far as I can see they only make the data available via HTTP (i.e., web browser or other HTTP request.).

You could use something like wget to copy the remote directories to the local machine, but I don't think you could mount them and access them as if they were a local directory as per your original question.

Last edited by astrogeek; 08-24-2013 at 04:10 PM.
 
Old 08-24-2013, 10:16 PM   #9
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,600

Rep: Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241
You might look at a project over at http://httpfs.sourceforge.net/

This is a fuse implemented filesystem that uses http remote access to provide a file level view. It will NOT work for all cases, but something you can try.
 
Old 08-24-2013, 11:37 PM   #10
texwarhawk
LQ Newbie
 
Registered: Aug 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
Connection times out with httpfs2 also...
I'm starting to see that it isn't really possible.

Thanks for all the help though!
 
Old 08-25-2013, 05:43 AM   #11
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,600

Rep: Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241
Wasn't sure it would work. For instance, it can't work when the server uses CGI to respond to requests - without the request parameters, you never get any data back (other than a "no data" type message).

It could work with a site that is designed to provide files though. Something like the kernel archives.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
trouble connecting to a website, iptables firewall DutchGeek Linux - Networking 1 10-18-2012 04:13 AM
[SOLVED] Website Directory Viewing al_bye Linux - Server 2 08-28-2010 03:36 PM
How do I access my website as a directory? SimbaSpirit Linux - Software 16 07-06-2008 11:42 PM
Securing a website directory with ssl? Doctor Doom Linux - Software 1 10-10-2005 07:58 PM


All times are GMT -5. The time now is 04:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration