Koozali.org: home of the SME Server

FTP Automatically

BYte

FTP Automatically
« on: April 05, 2002, 05:54:42 PM »
Hi

Does Anyone know how to open up ftp access to public automatically via a cron job, instead of having to open it up manually from the web browser.


Is this possible?

Thanks for any help!

Charles

Re: FTP Automatically
« Reply #1 on: April 06, 2002, 01:08:06 AM »
What I use is wget -b ftp://url.to.file

This will fork a download session in the background...

I hope you can use this

Greetz,

Charles

Tom Carroll

Re: FTP Automatically
« Reply #2 on: April 11, 2002, 09:47:18 AM »
Are you using both private and public ftp access, or just public ftp access at various times?

BYte

Re: FTP Automatically
« Reply #3 on: April 12, 2002, 01:42:34 PM »
Just public ftp access at various times is this possible then??

Tom Carroll

Re: FTP Automatically
« Reply #4 on: April 12, 2002, 07:36:46 PM »
You bet.  This would be farely simple by configuring proftpd the way you want it for your public access and then create a cron job to load the proftpd daemon and another to unload it at the scheduled times.

I don't know what the commands are to bring that service up or to take it down, but you can probably find it here in the forums by searching on proftpd.

Good luck!

Tom Carroll