From owner-freebsd-questions Fri Jun 11 6:30:24 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 77837151E3 for ; Fri, 11 Jun 1999 06:30:21 -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 PAA08101 for ; Fri, 11 Jun 1999 15:30:20 +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 PAA24653 for ; Fri, 11 Jun 1999 15:30:19 +0200 (MET DST) Received: (from gunnar@localhost) by pluto.sr.se (8.9.2/8.9.1) id PAA59184 for freebsd-questions@FreeBSD.org; Fri, 11 Jun 1999 15:30:19 +0200 (CEST) (envelope-from gunnar) Date: Fri, 11 Jun 1999 15:30:19 +0200 From: Gunnar Flygt To: FreeBSD Questions Subject: sh script Message-ID: <19990611153019.A59005@sr.se> Reply-To: Gunnar Flygt Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This has nothing special to do with FreeBSD, other than it is my OS of choice. :) But since the knowledge is huge in the list, I have a sh script question. I want to ftp large files to a site on our internal WAN to test if we get any corrupt files when using ftp. (There are M$ people at work who thinks the routers are destroying ftp's) So I would `put big.file` and then `get big.file` perform a test to see if it is exactly what it was before I sent it. Put the result in a file together with a counter and then repeat th e whole thing for 100 times or so. And also it should stop immediately if an error occurs! The files will be in sizes from 3 - 300 MB, just to test if the size is important. Any help will be appreciated. -- __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