![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ksh scripting help | praveenbvarrier | Shell Programming and Scripting | 1 | 04-15-2008 07:19 AM |
| sql scripting help | sam786 | Shell Programming and Scripting | 3 | 12-10-2007 08:31 AM |
| difference between AIX shell scripting and Unix shell scripting. | haroonec | Shell Programming and Scripting | 2 | 04-12-2006 05:12 AM |
| scripting guru's pls help me with scripting on AIX | thatiprashant | Shell Programming and Scripting | 1 | 01-20-2006 03:58 PM |
| Scripting? | woofie | What's on Your Mind? | 1 | 03-09-2005 03:03 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
FTP scripting
Hello,
I'm sure this is an easy one for you UNIX pros. I would like to create and and automated an FTP process. The script should do this: 1. Log into a remote system 2. change to a specified directory 3. copy local files to the remote system 4. quit ftp 5. wait until the next schedule How can I get FTP to do with without user interaction? Thanks. |
| Forum Sponsor | ||
|
|
|
|||
|
I think you can get hint from the following example
syntax ====== ftp -s:test.scr test.scr file conatins the following things =============================== open <servername> userid password cd /home/hypadm/ctl prompt mget * bye |
|
|||
|
Quote:
The -s option works in Windows, but not in UNIX. I tried that before I posted. |
|
|||
|
If you do a search of the forums on FTP Scripting you should find many useful examples. Also check out the FAQS section. To automate it you could use cron. Do a search on that and you should find the info you need.
|
|
|||
|
Quote:
I searched before I posted. "No results". Yeah, I couldn't believe it either. |
|||
| Google UNIX.COM |