Re: [foxboro] FTP
- From: "Stear, Bo" <stear@xxxxxxx>
- To: "'foxboro@xxxxxxxxxxxxx'" <foxboro@xxxxxxxxxxxxx>
- Date: Mon, 14 Jan 2002 13:21:20 -0500
If both systems are on the same node, there is no need for ftp. You can
'rmount' and 'cp' files using cron.
If it is on another system and you need to use ftp via 2nd Ethernet port, you
can set up a file in root called .netrc to handle automatic login and
passwording for ftp. It should look something like this:
machine <199.199.199.199> login <login name> <password> <password account>
(those 199's should be the IP of the machine you want to ftp to)
learn more by doing man netrc
If the machine name is in your hosts file you can then cause cron to run a
script that might look something like this:
cd <where my files are>
ftp <machine name> < (path to my ftp commands file)
otherwise, put the IP address in for the machine name.
your ftp commands file might look something like:
bin
prompt
put <whatever file you want or you can use mput instead>
bye
That's not very specific or elegant but it should give you something to do for
an afternoon.
-----Original Message-----
From: pharizna@xxxxxxxxxxxxx [mailto:pharizna@xxxxxxxxxxxxx]
Sent: Monday, January 14, 2002 11:59 AM
To: Foxboro@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx; foxboro@xxxxxxxxxxxxx
Subject: [foxboro] FTP
Hi:
I'd like to send a file from our IA to another one every day at noon, for
example.
I know that I can to use "cron" in order to automate the process but I don't
know how to make an FTP in "auto mode" (without human intervention).
Could you help me?
Regards
Pedro Hernandez
REPSOL YPF Quimica
pharizna@xxxxxxxxxxxxx
___________________________________________________________________
This list is neither sponsored nor endorsed by The Foxboro Company.
Use the information obtained here at your own risk. For disclaimer,
see http://www.thecassandraproject.org/disclaimer.html#maillist
list info: http://www.freelists.org/list/foxboro
subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
___________________________________________________________________
This list is neither sponsored nor endorsed by The Foxboro Company.
Use the information obtained here at your own risk. For disclaimer,
see http://www.thecassandraproject.org/disclaimer.html#maillist
list info: http://www.freelists.org/list/foxboro
subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
Other related posts: