HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how do I automate kermit file transfer
Operating System - HP-UX
1826402
Members
4082
Online
109692
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
04-09-2002 04:32 PM
04-09-2002 04:32 PM
how do I automate kermit file transfer
Dear friends,
I am able to do interactive file tranfer between two HP-UX systems using modem dialup.
The way I do is
1. kermit -l /dev/ttyd1p0 -m motorola-fastalk
2. kermit>set speed 9600
kermit>set modem flow-controls xon/xoff
kermit>dial
3. press enter and I get login prompt of remote system.. login with user id and password
4. Ctrl+\ and c to get back to kermit prompt
5. send filename
once file transfer is finished, it comes back to kermit prompt
6. exit
How can I put these in a script.
Thanks in advance
Manju
I am able to do interactive file tranfer between two HP-UX systems using modem dialup.
The way I do is
1. kermit -l /dev/ttyd1p0 -m motorola-fastalk
2. kermit>set speed 9600
kermit>set modem flow-controls xon/xoff
kermit>dial
3. press enter and I get login prompt of remote system.. login with user id and password
4. Ctrl+\ and c to get back to kermit prompt
5. send filename
once file transfer is finished, it comes back to kermit prompt
6. exit
How can I put these in a script.
Thanks in advance
Manju
Never stop "LEARNING"
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2002 05:50 PM
04-09-2002 05:50 PM
Re: how do I automate kermit file transfer
I think it would go something like this:
(sleep 5
echo "\r"
sleep 1
echo "set speed 9600\r"
sleep 1
echo "set modem flow-controls xon/xoff\r"
sleep 3
echo "dial sleep 20
echo "\r"
sleep 5
echo "userid\r"
sleep 2
echo "password\r"
sleep 1
echo "\r"
echo "\r") |kermit -l /dev/ttyd1p0 -m motorola-fastalk
You may not need the \r's and you will have to figure out how to send the ctrl +\ c. Seems like there is a way to send any character by calling its ascii number but I don't remember it.
Ron
(sleep 5
echo "\r"
sleep 1
echo "set speed 9600\r"
sleep 1
echo "set modem flow-controls xon/xoff\r"
sleep 3
echo "dial
echo "\r"
sleep 5
echo "userid\r"
sleep 2
echo "password\r"
sleep 1
echo "\r"
echo "\r") |kermit -l /dev/ttyd1p0 -m motorola-fastalk
You may not need the \r's and you will have to figure out how to send the ctrl +\ c. Seems like there is a way to send any character by calling its ascii number but I don't remember it.
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2002 06:09 PM
04-09-2002 06:09 PM
Re: how do I automate kermit file transfer
Have you tried using the command-file option of kermit? Put the commands into a command-file and then invoke
kermit -l /dev/ttyd1p0 -m motorola-fastalk
From the man page of kermit:
kermit [ filename ] [- x arg [- x arg ]...[- yyy ]...]]
where:
filename is the name of a command file to execute...
kermit
From the man page of kermit:
kermit [ filename ] [- x arg [- x arg ]...[- yyy ]...]]
where:
filename is the name of a command file to execute...

The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP