![]() |
|
|
|
|
|||||||
| Chat with iBot - Our RSS Robot Girl The Home of iBot, Our RSS Robot iBot. You can complain about RSS here :-) |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Automating Autosys | LilyClaro | UNIX for Advanced & Expert Users | 0 | 03-23-2007 09:15 AM |
| Need help for automating a task. How to proceed ?. | aarora_98 | Shell Programming and Scripting | 1 | 01-25-2007 02:04 AM |
| Automating telnet and ftp | sendhilmani123 | Shell Programming and Scripting | 2 | 04-25-2006 02:37 AM |
| Automating sendmail | JimJim | Shell Programming and Scripting | 3 | 11-30-2004 02:31 AM |
| automating password ? | Liamo | Shell Programming and Scripting | 3 | 05-24-2004 03:01 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Automating ftp
Hi I am looking for some help on writing a script. it will ftp files from one server to another once a day.
|
| Forum Sponsor | ||
|
|
|
|||
|
Here is one for you:
Code:
#! /usr/bin/ksh HOST=dest_server_ip USER=your_login PASSWD=your_password exec 4>&1 ftp -nv >&4 2>&4 |& print -p open $HOST print -p user $USER $PASSWD print -p cd /your_dir print -p binary print -p put your_file print -p bye wait exit 0 |
|
||||
|
Quote:
|
||||
| Google UNIX.COM |
| Thread Tools | |
| Display Modes | |
|
|
|
The 50 most popular UNIX and Linux searches.
Google Search Cloud for The UNIX and Linux Forums
|
| 421 service not available, remote server has closed connection ^m ascii eof autosys awk trim bash eval bash exec bash for loop close_wait command copy/move folder in unix couldn't set locale correctly curses.h cut command in unix find grep find null character in a unix file grep multiple lines grep or grep recursive hp-ux ifconfig inaddr_any inappropriate ioctl for device lynx javascript mailx attachment mget mtime ping port remove first character from string in k shell replace space by comma , perl script rsync ftp scp recursive segmentation fault(coredump) sftp script snoop unix stale nfs file handle syn_sent tar exclude tar extract to folder test: argument expected unix unix .profile unix forum unix forums unix internals unix interview questions unix mtime unix simulator unix.com vi substitute vi+substitute+end+of+line+character while loop within while loop shell script |