- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Using tftp/ftp in a shell script
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2003 07:06 AM
02-11-2003 07:06 AM
Using tftp/ftp in a shell script
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2003 07:08 AM
02-11-2003 07:08 AM
Re: Using tftp/ftp in a shell script
There are dozens upon dozens of posts in this Forum dealing with this. Do a search on 'ftp and script'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2003 07:12 AM
02-11-2003 07:12 AM
Re: Using tftp/ftp in a shell script
Here's a couple of threads that my help:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xcde591ccb36bd611abdb0090277a778c,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xadc85a3e6e0bd6118ff40090279cd0f9,00.html
Good luck,
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2003 07:13 AM
02-11-2003 07:13 AM
Re: Using tftp/ftp in a shell script
"may" help not "my" help
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2003 07:17 AM
02-11-2003 07:17 AM
Re: Using tftp/ftp in a shell script
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x74e49200caded5118ff40090279cd0f9,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x2dafa2db8513d6118ff40090279cd0f9,00.html
These 2 urls should suffice
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2003 07:27 AM
02-11-2003 07:27 AM
Re: Using tftp/ftp in a shell script
This example do a multiple get (mget) in ascii mode and not asking from 192.4.12.5 You can put the host alias instead IP address
echo "open 192.4.12.5\n user
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2003 07:30 AM
02-11-2003 07:30 AM
Re: Using tftp/ftp in a shell script
remote command:
ssh -c "command"
scp ./
you just have to have the keyes in place, developers hate it in the beginning, but they will come to love it :-).
/Jannik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2003 07:31 AM
02-11-2003 07:31 AM
Re: Using tftp/ftp in a shell script
I recommend using rcp (remote copy) for unsecure systems, and scp (secure copy) for for more secure systems. These are much more easily scripted, easier to use and debug. There are also lots of threads on these two utilities here in ITRC, just look 'em up.
Good Luck
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2003 07:35 AM
02-11-2003 07:35 AM
Re: Using tftp/ftp in a shell script
1.Create file like this
arg.ftp:
user
cd /
lcd /
binary
put
bye
2.Use:
ftp -n
By.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2003 08:38 AM
02-11-2003 08:38 AM