![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Automated script to delete the OLD Files | laknar | Shell Programming and Scripting | 1 | 05-10-2007 03:34 AM |
| automated ftp script from unix -date range of files | koduri0475 | UNIX for Advanced & Expert Users | 1 | 11-17-2005 02:59 PM |
| automated ftp script from unix -date range of files | koduri0475 | High Level Programming | 1 | 11-10-2005 10:51 AM |
| automated ftp script from unix -date range of files | koduri0475 | Shell Programming and Scripting | 1 | 11-10-2005 10:50 AM |
| Searching multiple files with multiple expressions | Anahka | Shell Programming and Scripting | 6 | 01-07-2004 06:24 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Automated ftp for Multiple files
I have seen the script posted yesterday for automated ftp
Can we do some thing like ftp ing multiple files in one script Example input.txt has all files names to be ftped input.txt ------ a.tar b.ccp c.perl i need to ftp all the files present in input.txt i tried something like this #! /usr/bin/ksh HOST=remote.host.name USER=whoever PASSWD=whatever cat input.txt | while ln=`line` do exec 4>&1 ftp -nv >&4 2>&4 |& print -p open $HOST print -p user $USER $PASSWD print -p cd directory print -p binary print -p put $ln wait exit 0 done but this gets hanged after ftping the first file then i have to give a Ctrl C to come out of it |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|