Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Workstation to autoftp

Status
Not open for further replies.

tchaser

IS-IT--Management
Dec 17, 2001
15
Does anyone know of any available autoftp software for linux? If not can anyone tell me if there is a way to script an autoftp connection?

I need to have a client automatically ftp in throughout the day. They are coming in on a dialup connection. I want to schedule them to dialin every hour or two from about 8 a.m. to 6 p.m. Any help would be greatly appreciated.
 
What I have done in the past is write a short script that forces the computer to connect to the Internet (i.e. ping tek-tips.com) and then run a second script for the ftp transfer.

For the file transfer script I use something like the following

ftp -n -i IP_ADDRESS <<SCRIPT
user user_name password
commands to execute
.
.
SCRIPT

I hope this helps and Happy Holidays!



Jay


 
you can also make a crontab entry and using ncftp

*/10 * * * * ncftpput -u USERNAME -p PASSWORD 1.1.1.1 /remote/directory/file.txt /local/directory/file.txt


this is what I currently do to update irc chat stats
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top