![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Searching and FTP error trapping | Bartman | Shell Programming and Scripting | 2 | 11-08-2007 03:40 PM |
| rcp error trapping in rsh | vvejendla | Shell Programming and Scripting | 2 | 11-21-2005 11:29 PM |
| Error Trapping | kev112 | Shell Programming and Scripting | 6 | 05-25-2005 02:37 AM |
| ftp error trapping | Bab00shka | UNIX for Dummies Questions & Answers | 1 | 04-02-2002 12:21 PM |
| sql error code trapping | xiamin | Shell Programming and Scripting | 3 | 11-26-2001 09:52 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
I have written a UNIX script that will automatically ftp a file to a server. The problem is when I missed enter information w/in the .txt file that contains the userid/password and what file to transfer, I had no way of capturing the failuer of the file transfer. I verified w/in the script that the file that I wanted to transfer existing, however, because if the error w/in the .txt file the transfer didn't occur. I did see where 0bytes transferred. I want to capture the error and then check for a successful file transfer. How can I script for that? Will ftperr or errno help? If so, how do I use them.
Thanks for your help. ![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|