Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jun 1999 16:00:44 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        Gunnar Flygt <flygt@sr.se>
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: sh script
Message-ID:  <Pine.BSF.4.03.9906111600070.21365-100000@resnet.uoregon.edu>
In-Reply-To: <19990611153019.A59005@sr.se>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 11 Jun 1999, Gunnar Flygt wrote:

> 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.

Use ncftp as the actual transfer agent.  It can download & upload files
from the command line.  Watch the network timeout parameter however!

Doug White                               
Internet:  dwhite@resnet.uoregon.edu    | FreeBSD: The Power to Serve
http://gladstone.uoregon.edu/~dwhite    | www.freebsd.org



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.03.9906111600070.21365-100000>