From: Murat SULUHAN (msuluhan@softhome.net)
Date: Wed 22 Jan 2003 - 16:31:03 EET
Merhabalar
zamaninda ugu.com dan indirmistim, simdiye kadar ihtiyacim olmadi, calisir
umarim
Saygilar
Murat
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
FTY AUTOMATED TRANSFERS
Automatic file transfer through a script
between machines using FTP.
If one wants to transfer files between
UNIX machines, here are the steps to follow.
1. The .netrc file
a. create .netrc in the home directory.
b. add this line
machine <target machine> login <login name> password <password>
e.g.
machine abc.mydomain.com login deepak password deep123
c. chmod 600 .netrc
2. The Script:
ftp abc.mydomain.com << endl
prompt
put test1.c
quit
endl
This should do it.
# -----Original Message-----
# From: bsd-bounce@linux.org.tr [mailto:bsd-bounce@linux.org.tr]On
# Behalf Of yusuf uzunay
# Sent: Wednesday, January 22, 2003 3:33 PM
# To: bsd@linux.org.tr
# Subject: [BSD] tek komutla ftp upload
#
#
#
# Merhabalar!
# FreeBsd'de tek bir komut yazarak bir ftp adresine
# upload yapabilir miyim? Veya istedipim dosyay} ftp ile
# bir yere upload edebilecek kabuk program} vrnepi var
# m}?
#
# Te~ekk|r Ederim!
#
# =====
# Selamlar Yusuf Uzunay
#
# __________________________________________________
# Do you Yahoo!?
# Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
# http://mailplus.yahoo.com
#