04-21-2002
mget allows you to use wildcard characters in file names, then asks whether this file is the one you want. mget/mput is just a somewhat semi-automated way to transfer multiple files with one command. It's really no different than requesting one file at a time with get/put, no connections are disconnected/reconnected. -mk
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi, i want to mget a directory.
how to specify the flag that i dont want the system to prompt me?
thanks (2 Replies)
Discussion started by: yls177
2 Replies
2. UNIX for Dummies Questions & Answers
hello,
i was interested in knowing if you can mget or mput a sequence of files:
example- say i have a dir with 1000 files with the same extension e.g. *.sgi,
is there a way to mget only the last 200 files?
i would assume that there is a flag i would use, or something like:
mget... (14 Replies)
Discussion started by: yoyomamma
14 Replies
3. Shell Programming and Scripting
Hi All,
I am using mget (mget server.*) through ftp... ... i dont want to overwrite the files in my localmachine if it is already exists... is it possible through ftp ?? any other optios also mos t welcome
Thnks in advance (4 Replies)
Discussion started by: scorpio
4 Replies
4. UNIX for Dummies Questions & Answers
Hi all,
I am currently in the process of setting up an FTP server with limited knowledge :p.
I have run into an issue that i need some help with.
Basically i want to be able to download files off another remote server twice a day every day but i want to make sure it only downloads new... (1 Reply)
Discussion started by: mokachoka
1 Replies
5. Shell Programming and Scripting
For the below mentioned code..Files are getting transferred from first mget statement alone ie from /home/Arun/*EF01/...Could someone help me regarding this
ftp -vn <<EOD >$LOG
open
user
lcd
ascii
mget /home/Arun/*EF01/GLHEC*
mget /home/Arun/*EF03/GLHEC*
mget... (3 Replies)
Discussion started by: infernalhell
3 Replies
6. Shell Programming and Scripting
In the script I am doing a mget for multiple files. How can I exclude just one file which I do not need to ftp ? (3 Replies)
Discussion started by: jville
3 Replies
7. UNIX for Dummies Questions & Answers
Hello friends..
I'm new here ate the forum. I came across with it when trying to find a solution for a problem I have and I hope you can help me.
I'm an Abap programmer, and I have to make a program in ABAP to copy files from a server to the local computer defined path using FTP commands.
... (5 Replies)
Discussion started by: bleeding_me
5 Replies
8. UNIX for Dummies Questions & Answers
Hi Friends,
I need to use if then else logic with the mget command.I need to check if {JOURNAL_CODE}*_1_Audit*.txt exists then download it (using mget)and if not then leave it.Same for the {JOURNAL_CODE}*_2_Audit*.txt file.Can you please tell me how can i achive that?
sftp -b -... (3 Replies)
Discussion started by: Param0073
3 Replies
9. AIX
Hi,
below are the commands I use to get many gif files from /usr/local/images directory, the command just getting stuck at mget, nothing is moving
cd /usr/local/images
binary
mget *.gif:wall:
close
quit (3 Replies)
Discussion started by: dateez
3 Replies
10. UNIX for Dummies Questions & Answers
Hi I'm trying to get all files from a directory with a script. So i'm gone paste my script here:
cd /var/www/match_demos/speedgaming/
lftp -u Gudfaren,xxxxx ftp.speedgaming.pro -e cd 89.221.243.11_27500 -e mget *.dem
exit
when i run that i get:
"File name missed. Try `help mget' for more... (2 Replies)
Discussion started by: vYN
2 Replies
fifo2(n) fifo2(n)
__________________________________________________________________________________________________________________________________________________
NAME
fifo2 - Create and manipulate pipe fifo channels
SYNOPSIS
package require Tcl
package require memchan
fifo2
_________________________________________________________________
DESCRIPTION
The command described here is only available in a not-yet released version of the package. Use the CVS to get the sources.
fifo2 creates two stream-oriented in-memory channels and returns their handles as a two-element list. There is no restriction on the ulti-
mate size of the channels, they will always grow as much as is necessary to accomodate the data written into them.
In contrast to the channels generated by fifo a pair of channels created here is connected internally in such a way that data writ-
ten into one channel can be read from the other. All data written into them is read in the same order. This also means that the two
channels of the pair are not seekable.
The channels created here can be transfered between interpreters in the same thread and between threads. As both channels in the
pair can be transfered independently they can be used to create a bidirectional connection between two interpreters.
Memory channels created by fifo2 provide two read-only options which can be queried via the standard fconfigure command. These are
-rlength
The value of this option is the number of bytes currently available for reading from the channel.
-wlength
The value of this option is the number of bytes currently written into the channel.
Note that the two lengths are switched for the channels of a pair. In other words, the number of bytes written for one of the channels is
the number of bytes readable from the other end.
As the channels generated by fifo2 grow as necessary they are always writable. This means that a writable fileevent-handler will fire con-
tinuously.
The channels are also readable if they contain more than zero bytes. Under this conditions a readable fileevent-handler will fire continu-
ously.
SEE ALSO
fifo, memchan, null
KEYWORDS
channel, fifo, i/o, in-memory channel, memchan, stream
COPYRIGHT
Copyright (c) 1996-2003 Andreas Kupries <andreas_kupries@users.sourceforge.net>
Memory channels 2.2 fifo2(n)