automated file transfer with ftp

From: Christopher L. Barnard (cbar44@tsg.cbot.com)
Date: Fri Jun 20 2003 - 11:01:00 EDT


I realize this is a Bad Thing To Do -- it is only temporary until we can
convince the powers-that-be that this can and should be done with scp.

I need to fully automate an ftp transfer. I have created the .netrc file
to specify the hostname, the username, the (gasp) password, but I have not
been successful in specifying the file. I do not find the keyword to
specify what file in the netrc man page. I know I did this years ago, but
I have long since stopped using ftp in favor of scp. Is anyone still using
ftp as a protocol for automatic file transfer? If so, how do you specify
the filename to be transferred?

TIA, and I will summarize.

+-----------------------------------------------------------------------+
| Christopher L. Barnard O When I was a boy I was told that |
| cbarnard@tsg.cbot.com / \ anybody could become president. |
| (312) 347-4901 O---O Now I'm beginning to believe it. |
| http://www.cs.uchicago.edu/~cbarnard --Clarence Darrow |
+----------PGP public key available via finger or PGP keyserver---------+
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:37 EDT