Koozali.org: home of the SME Server

Remote software downloads

Sean Stratton

Remote software downloads
« on: February 18, 2002, 02:48:00 AM »
I am looking to set up the SME server to download a file from the net when I mail it the URL. The basic idea is to do remote downloads on using my mates broadband that I can go round a pick up later.

Sean

robert

Re: Remote software downloads
« Reply #1 on: February 18, 2002, 07:01:39 PM »
Sean Stratton wrote:
>
> I am looking to set up the SME server to download a file from
> the net when I mail it the URL. The basic idea is to do
> remote downloads on using my mates broadband that I can go
> round a pick up later.
>
Well, that would be a nice setup, but not very easy to accomplish, I suppose. Especially since you would need to script some kind of verification that the email was sent by someone authorized to trigger the downloads. An alternative way of doing what you want to do is to request a user account on the remote sme server, have the administrator of that remote system change your shell to bash, ssh into the remote machine with your user account (preferably using public key and SSH2 protocol) to get to your user shell, then start up lynx and surf to your url and download the file(s). You may need to put lynx in the background before closing the ssh connection. Also look in the lynx helpfile to see if there's anything helpful in there for your situation.

Hope this helps

Lee

Re: Remote software downloads
« Reply #2 on: February 18, 2002, 10:16:12 PM »
Does the shell have to be bash?

Is there a way use Netscape browser instead of Lynx?

Thanks for your help,

Lee

Boris

Re: Remote software downloads
« Reply #3 on: February 18, 2002, 11:46:35 PM »
Netscape needs X-windows to be installed and it (X-windows) doesn't come with SME server.

Sean Stratton

Re: Remote software downloads
« Reply #4 on: February 19, 2002, 02:06:11 AM »
OK have done some searching and found this

http://www.demon.net/helpdesk/products/ftp/batchftp.shtml

Any Ideas how they do it?

robert

Re: Remote software downloads
« Reply #5 on: February 19, 2002, 02:56:16 AM »
Sean Stratton wrote:
>
> OK have done some searching and found this
>
> http://www.demon.net/helpdesk/products/ftp/batchftp.shtml
>
> Any Ideas how they do it?

Dunno. You could ask them if they've developed this in-house or if it's an open source utility that they use. It does not look trivial.