ftp question

Georgina Joyce gena-j at bulldoghome.com
Mon Jun 25 08:22:27 EDT 2007


Hi

Don't know about the lftp commands but couldn't you put them in a bash script listing the sequence you want?  Would wget do the job?

HTH
Gena

Amateur Call: M 0 E B P

VOIP / IM: gena1959uk



-----Original Message-----
From: speakup-bounces at braille.uwo.ca [mailto:speakup-bounces at braille.uwo.ca] On Behalf Of Gregory Nowak
Sent: Monday, June 25, 2007 7:26 AM
To: speakup at braille.uwo.ca
Subject: ftp question


-----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 at EU.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGf2AO7s9z/XlyUyARAgA1AKDdu8Li7khgpV4H0rRh424xjude3ACdFnRw
Tg/Zd+5f0BiU2MmlslaaXWk=
=QDyq
-----END PGP SIGNATURE-----

_______________________________________________
Speakup mailing list
Speakup at braille.uwo.ca
http://speech.braille.uwo.ca/mailman/listinfo/speakup

__________ NOD32 2351 (20070625) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com






More information about the Speakup mailing list