![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| exit status of command in a pipe line | topcat8 | UNIX for Dummies Questions & Answers | 10 | 10-19-2007 05:39 AM |
| Getting the exit status of a remote command | zoonalex | Shell Programming and Scripting | 1 | 08-23-2006 05:58 PM |
| how to find the exit status for the last executed command | vijay.amirthraj | UNIX for Dummies Questions & Answers | 1 | 07-04-2006 11:14 PM |
| Exec of 'dbupgrade' returned non-zero status of '0x1' error | jderocco | AIX | 0 | 10-27-2005 08:51 PM |
| How to find the exit status of last command in Unix? | rajugp1 | High Level Programming | 1 | 09-10-2002 12:52 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
I am trying to perform some error handing within a Korn sheel script whilst FTPing a file from one server to another..
The exit status is correctly set to zero, if my script connects to the other server and sends the file.. However, if for whatever reason other than a timeout the script cannot connect to the other server, the exist status is still set to zero.. which is incorrect. Are there are better ways to check to see if FTP was sucessful or not?? |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|