Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!bcm!dimacs.rutgers.edu!seismo!uunet!maverick.ksu.ksu.edu!ux1.cso.uiuc.edu!sparc1!rolf From: rolf@sparc1.isgs.uiuc.edu (Rolf Wilson) Newsgroups: comp.unix.shell Subject: status code from ftp Message-ID: <1991Jan31.222142.12395@ux1.cso.uiuc.edu> Date: 31 Jan 91 22:21:42 GMT Sender: news@ux1.cso.uiuc.edu (News) Organization: University of Illinois at Urbana Lines: 27 I have a routine to transfer a file to another machine by ftp. That part works fine. I want to delete the file that I sent if the transfer worked. That part does not. #!/bin/sh ftp -n othermachine <