From owner-freebsd-questions Sat Apr 10 3:44: 6 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dart.sr.se (dart.SR.SE [193.12.91.98]) by hub.freebsd.org (Postfix) with ESMTP id 4CDC914F02 for ; Sat, 10 Apr 1999 03:44:03 -0700 (PDT) (envelope-from gunnar@pluto.sr.se) Received: from honken.sr.se ([134.25.128.27]) by dart.sr.se (8.9.3/8.9.3) with ESMTP id MAA15557 for ; Sat, 10 Apr 1999 12:41:49 +0200 (MET DST) Received: from pluto.sr.se (pluto.SR.SE [134.25.193.91]) by honken.sr.se (8.7.5/8.7.3) with ESMTP id MAA07699 for ; Sat, 10 Apr 1999 12:41:49 +0200 (MET DST) Received: (from gunnar@localhost) by pluto.sr.se (8.9.2/8.9.1) id MAA93163 for freebsd-questions@FreeBSD.org; Sat, 10 Apr 1999 12:41:48 +0200 (CEST) (envelope-from gunnar) Message-ID: <19990410124148.B93126@sr.se> Date: Sat, 10 Apr 1999 12:41:48 +0200 From: Gunnar Flygt To: FreeBSD Questions Subject: Checking if a file transfer is complete Reply-To: flygt@sr.se Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm writing a script that is taking care of files ftp'd to a server. It is moving the files to the right directory, and then putting data concerning the file into an Oracle data base. I have a small problem though. I'm planning to let cron do a lookup once every minute to see if there are any new files. But the file transfers can take several minutes to finish, since the files are pretty big, and the transfer speed is at max 2Mbit/s with an average of maybe 400kbit/s So the question is, How do I check that the file transfer has completed? -- __o regards, Gunnar ---_ \<,_ email: flygt@sr.se ---- (_)/ (_) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message