- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Need ftp 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
Discussions
Discussions
Forums
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
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
тАО06-05-2014 10:57 PM
тАО06-05-2014 10:57 PM
Re: Need ftp script
Please suggest...
Thanks & have a great day ahead.
Regards,
Vishal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2014 02:36 AM
тАО06-06-2014 02:36 AM
Re: Need ftp script
>i want to cut paste the files.
(Files don't get cut & pasted, they get copied and then removed. :-)
After the mput you can simply do:
!rm -f $src
But since there is no checking for any errors, this may be dangerous.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2014 02:46 AM
тАО06-06-2014 02:46 AM
Re: Need ftp script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2014 04:16 AM
тАО06-06-2014 04:16 AM
Re: Need ftp script
Thanks in advance .....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2014 04:43 AM
тАО06-06-2014 04:43 AM
Re: Need ftp script
*/15,*,*,* * * * * /usr/sap/RDV/SYS/global/ftp/RMPA/ftpcptest.sh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2014 02:58 AM - edited тАО06-07-2014 03:18 AM
тАО06-07-2014 02:58 AM - edited тАО06-07-2014 03:18 AM
Re: Need ftp script
>So how could we do the error checking?
Take a look at these topics. There are suggestions of using perl in several:
http://h30499.www3.hp.com/t5/Languages-and-Scripting/Help-with-perl-NET-ftp-script/m-p/6491006
http://h30499.www3.hp.com/t5/System-Administration/Check-return-code-via-FTP/td-p/3190761
http://h30499.www3.hp.com/t5/System-Administration/FTP-and-error-codes/td-p/3998227
http://h30499.www3.hp.com/t5/General/ftp-error-trapping/td-p/2775401
http://h30499.www3.hp.com/t5/General/FTP-Errors/td-p/2782685
http://h30499.www3.hp.com/t5/System-Administration/ftp-checking/td-p/4230997
http://h30499.www3.hp.com/t5/General/FTP-Error-trapping/td-p/3572325
http://h30499.www3.hp.com/t5/System-Administration/FTP-Transfer-Checking/td-p/3113974
>for every 15 min in a day, for the week & year
>*/15,*,*,* * * * * /usr/sap/RDV/SYS/global/ftp/RMPA/ftpcptest.sh
This is the linux way of doing things. For HP-UX, you need:
0,15,30,45 * * * * /usr/sap/RDV/SYS/global/ftp/RMPA/ftpcptest.sh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2014 03:28 AM
тАО06-07-2014 03:28 AM
Re: Need ftp script
>for every 15 min in a day, for the week & year
>*/15,*,*,* * * * * /usr/sap/RDV/SYS/global/ftp/RMPA/ftpcptest.sh
This is the linux way of doing things. For HP-UX, you need:
0,15,30,45 * * * * /usr/sap/RDV/SYS/global/ftp/RMPA/ftpcptest.sh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2014 09:02 PM
тАО06-09-2014 09:02 PM
Re: Need ftp script
I am getting the mail as below.Also there is nothing found in the cron log.
Date: Tue, 10 Jun 2014 09:30:00 +0530 (IST)
From: root@eccdevvg.infodartsap.com
Message-Id: <201406100400.s5A400n3005435@eccdevvg.infodartsap.com>
Subject: cron
sh: /usr/sap/RDV/SYS/global/ftp/RMPA/ftpcptest.sh: not found.
*************************************************
Cron: The previous message is the standard output
and standard error of one of your crontab commands:
/usr/sap/RDV/SYS/global/ftp/RMPA/ftpcptest.sh
Please suggest me on this.
Thanks & regards,
Vishal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2014 10:24 PM
тАО06-09-2014 10:24 PM
Re: Need ftp script
>sh: /usr/sap/RDV/SYS/global/ftp/RMPA/ftpcptest.sh: not found.
Well, is that the path to your script?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2014 10:30 PM
тАО06-09-2014 10:30 PM
Re: Need ftp script
Thanks ,
VIshal