Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Sean Stratton 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
-
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
-
Does the shell have to be bash?
Is there a way use Netscape browser instead of Lynx?
Thanks for your help,
Lee
-
Netscape needs X-windows to be installed and it (X-windows) doesn't come with SME server.
-
OK have done some searching and found this
http://www.demon.net/helpdesk/products/ftp/batchftp.shtml
Any Ideas how they do it?
-
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.