From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ns1.sunset.net ([205.161.255.5] helo=onyx.sunset.net) by speech.braille.uwo.ca with esmtp (Exim 3.36 #1 (Debian)) id 1I2q3U-0003pM-00 for ; Mon, 25 Jun 2007 11:00:40 -0400 Received: from sunset.net (198-69-250-96.chico.ca.digitalpath.net [198.69.250.96]) by onyx.sunset.net (8.12.11.20060308/8.12.10) with ESMTP id l5PEwKjO002505 for ; Mon, 25 Jun 2007 07:58:20 -0700 Received: (from rreid@localhost) by sunset.net (8.14.1/8.14.1/Submit) id l5PF0dWW003411 for speakup@braille.uwo.ca; Mon, 25 Jun 2007 08:00:39 -0700 Date: Mon, 25 Jun 2007 08:00:39 -0700 From: "Ralph W. Reid" To: "Speakup is a screen review system for Linux." Subject: Re: ftp question Message-ID: <20070625150039.GB28416@sunset.net> References: <20070625062622.GA4515@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070625062622.GA4515@localhost.localdomain> User-Agent: Mutt/1.4.2.3i X-src-ip: 198.69.250.96 X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.9 Precedence: list Reply-To: "Speakup is a screen review system for Linux." List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jun 2007 15:00:41 -0000 How about using `wget' in a script: #!/bin/bash wget --quiet "ftp://file-archive.wherever/pub/file1.tar" wget --quiet "ftp://file-archive.wherever/pub/file2.tar" echo Done. HTH, and have a great day. On Sun, Jun 24, 2007 at 11:26:22PM -0700, Gregory Nowak wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi all. > > Say I want to get 2 files via ftp, but I want to do it in a specific > order, and I don't want file2 to start downloading until file1 is > finished downloading. For example, if I were to execute get file1.tar, > and get file2.tar, I want get file2.tar to be executed only after get > file1.tar is done. > > I see that lftp has a queue command. Does anyone know if this would > work the way I expect? What I mean is if I execute: > > queue get file1.tar > queue get file2.tar > > in lftp, would that in fact wait to download file2.tar until the > download of file1.tar was complete? > > If the queue command in lftp doesn't work this way, then is there > another command that would do what I want? If lftp can't do what I > want, then can ncftp do that? If so, then how? I have looked through > the ncftp man page as well, and this doesn't seem to be doable in > ncftp. If neither lftp or ncftp can do what I want, then is there > another ftp client for gnu/linux that can? > > Just to clarify, I don't want to time-schedule the downloads, I simply > want them to happen sequentially one after another, in a specific > order, (I.E. file2.tar can download right after file1.tar, but it > can't start downloading while file1.tar is still being downloaded). > > On another note, does anyone know for sure if put in lftp or ncftp > will retry an upload until it successfully completes, if the upload > keeps being interrupted, say due to network issues? I'm fairly sure the > answer here for both programs is yes, but I wanted to make > certain. Thanks in advance. > > Greg > > > - -- > web site: http://www.romuald.net.eu.org > gpg public key: http://www.romuald.net.eu.org/pubkey.asc > skype: gregn1 > (authorization required, add me to your contacts list first) > > - -- > Free domains: http://www.eu.org/ or mail dns-manager@EU.org > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > > iD8DBQFGf2AO7s9z/XlyUyARAgA1AKDdu8Li7khgpV4H0rRh424xjude3ACdFnRw > Tg/Zd+5f0BiU2MmlslaaXWk= > =QDyq > -----END PGP SIGNATURE----- -- Ralph. N6BNO. Wisdom comes from central processing, not from I/O. rreid@sunset.net http://personalweb.sunset.net/~rreid ...passing through The City of Internet at the speed of light... CIRCLE AREA = _pi * r ^ 2