Reply to Re: accessing files which are not in a public web area

Your name:

Reply:


Posted by Jerry Stuckle on 07/07/07 21:41

anne001 wrote:
> The university allocates 2 Gigs to students in non-public unix space.
> The space allocated for public web area is much smaller.
>
> So the idea is to have pictures, movies etc in the non-public unix
> space
> and to have a web script which will show the images or the movies.
>
> This web script needs to access the files which I assume means
> sftp or ssh connection. I have taken several recent php books
> out of the library but I don't see any reference to this.
>
> On this list I did find some references to ssh, for example
> http://www.phpclasses.org/browse/package/2477.html
>
> Is what I am trying to do so unusual? Why am I not finding books
> that explain this?
>

Probably because it's a terrible way to do something. For instance, ftp
means every time someone requests a page with a picture on it, you will
have to establish a connection to the server, fetch the file then close
the connection. And repeat this process if you have multiple images.
SSH is even worse - there's no good way to fetch files via SSH - it's a
command line facility.

Of course, you can cache some pictures - but that runs into it's own
problems.

And yes, what you're trying to do is unusual. And if the university
wanted you to server pictures, etc., they would have given you public
space for them.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация