Thanks to the following for their prompt responses:
Steve.Copeland_at_enersis.co.nz at Internet-USA
sudhir-rao_at_worldnet.att.net at Internet-USA
lucio_at_ifctr.mi.cnr.it at Internet-USA
digiunix_at_bellatlantic.net at Internet-USA
****************************************************************
Solution that worked for me was sent by lucio_at_ifctr.mi.cnr.it at
Internet-USA. It was:
in another case (machines local or remote, but you are not managing
all of them, or do not want to share disks ... for instance here we
have various "interest groups" and decided not to share disks among
machines of different groups.
Here ftp is fine.
What you want to do is have a script calling ftp.
On machine A do :
ftp -n machineB <<END
user XXXXXXX YYYYYYY
cd /b/dir/dir
put filename
close
quit
END
where I'm using a csh here-document. XXXX and YYY are username and
password on machine B. You can dispense putting them in your .netrc
(see man page about it). You can also place commands in a file and
just do
ftp -n machineB <commandfile
Of course you must have a valid account on machine B.
**********************************************************************
ORIGINAL QUESTION:
----------
From: Mike Metelski [SMTP:mmetelski_at_dttus.com] Sent: Wednesday,
October 28, 1998 10:38 AM
To: alpha-osf-managers_at_ornl.gov
Subject: FTP problems
I am trying to automatically send one file from each of my servers to
a LAN system for data storage.
I am using ftp, but it isn't working. Can anyone suggest a method, or
document that will walk you through a complete cycle?
I read the man pages, but it is confusing.
Is ftp the proper sending agent?
I can mannually send the file to the Network drive and vise/versa. I
do not want to setup each system for ftp if I can help it.
Are you doing something similar? I'd like to hear how you are
accomplishing this task!
All responses greatly appreciated.
Mike Metelski mmetelski_at_dttus.com Deloitte & Touche, ICS
(610) 558-7256
Received on Thu Oct 29 1998 - 19:30:54 NZDT