For Programmers: Free Programming Magazines  


Home > Archive > Unix Programming > January 2008 > Re: Help with a little pet project









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Help with a little pet project
Ben Bacarisse

2008-01-20, 7:16 pm

Vogon <srivatsav.prasanna@gmail.com> writes:

> thank you for the quick response.
>
> I apologize for the poorly framed question but you were able to
> decipher the post.
>
> Yes, I am 'on a LAN' and behind a firewall.
> The disk quota of my mail server account is small (<20MB).
>
> What I would like to do is the following.
>
> 1. The client outside views the page using a browser.(say
> http://mail.server/~vogon/filesystem)
> 2. On this page she can view the listing of my ftp server (or WebDAV)
> which runs on my local machine
> 3. When she clicks to download a file, I need to transfer that file
> first onto the mail-server and then transfer it to her machine.
> 4. In order to make it appear as if downloads begin immediately, I
> wish to use a simple buffer in between to read (from the ftp server)
> and write (to the client)


You'd be better off finding direct route to make a link from the
listing page operate as a plain ftp or http transfer. The thing you
probably want is ssh tunneling, but the details will depend on what
systems are running of the various components.

--
Ben.
Mark Hobley

2008-01-20, 7:16 pm

Ben Bacarisse <ben.usenet@bsb.me.uk> wrote:

> You'd be better off finding direct route to make a link from the
> listing page operate as a plain ftp or http transfer.


I agree with Ben here. You could share the files using a web server
(such as thttpd), or install an ftp server (such as vsftpd).

You can install an authenticating web server if necessary.

Regards,

Mark.

--
Mark Hobley,
393 Quinton Road West,
Quinton, BIRMINGHAM.
B32 1QE.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com