HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ftp and end_data_ftp
Operating System - HP-UX
1829571
Members
3334
Online
109992
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
Go to solution
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
02-15-2010 01:38 AM
02-15-2010 01:38 AM
HP-UX 11.11
I see one of the script used for automation of ths ftp has the below statement and I dont see any where end_data_ftp is defined.
"ftp -i -n <
I dont see any such details in the man page of ftp with -n option. Any one know better about this variable which goes with "-n"
I see one of the script used for automation of ths ftp has the below statement and I dont see any where end_data_ftp is defined.
"ftp -i -n <
I dont see any such details in the man page of ftp with -n option. Any one know better about this variable which goes with "-n"
Solved! Go to Solution.
- Tags:
- sftp
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2010 02:14 AM - edited 08-21-2011 08:20 PM
- Tags:
- here doc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2010 03:02 AM
02-15-2010 03:02 AM
Re: ftp and end_data_ftp
hi,
check this bolog, i think there are several examples how to do it.
http://www.unix.com/shell-programming-scripting/12034-ftp-script.html
mikap
check this bolog, i think there are several examples how to do it.
http://www.unix.com/shell-programming-scripting/12034-ftp-script.html
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2010 06:18 AM
02-15-2010 06:18 AM
Re: ftp and end_data_ftp
Hi:
A common problem when using "here-documents" in shell scripts is to indent the lines of the document to maintain some consistency with the indentation of the code. That's fine, but beware how you place the end-of-file marker. It must be flush-left on its own line without any leading space characters. Tabs are allowed to precede the end-of-file if the hyphen is added to the redirection like:
cat <<- EOF
this line is indented with spaces
and that's ok.
It's only the end-of-file marker
that must use TAB(S) for its
indentation if that's desired.
EOF
See the 'sh-posix' manpages for more information, as noted.
Regards!
...JRF...
A common problem when using "here-documents" in shell scripts is to indent the lines of the document to maintain some consistency with the indentation of the code. That's fine, but beware how you place the end-of-file marker. It must be flush-left on its own line without any leading space characters. Tabs are allowed to precede the end-of-file if the hyphen is added to the redirection like:
cat <<- EOF
this line is indented with spaces
and that's ok.
It's only the end-of-file marker
that must use TAB(S) for its
indentation if that's desired.
EOF
See the 'sh-posix' manpages for more information, as noted.
Regards!
...JRF...
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP