I'm assuming you're asking this because you want to get a bunch of files using a single command line.
For most ftp programs developed for your flavor of unix the ftp command accepts
a maximum of _POSIX_ARG_MAX characters.
This is in the /usr/include/limits.h file - the value is nornmally 4096.
However, this is not useful for a filename -- the limit there is _POSIX_PATH_MAX = 255 per file name.
Normally when you need to issue a get/put command for several files you can do
mget/mput instead. mget/mput allows a wild card file specification. Normally when you want to use mget/mput you call ftp like this
Hi All,
I didn't find any thread that match this question so I hope it's not redundant. I am totally new to Unix. I want to know what is the maximum length of the os-commandline in Unix. Will it cause any problem if I run any application whose total path length is much longer than 256... (2 Replies)
hi,
I am using solaris10. I have to write a bourne shell script, which copies files for the said destination path which is passed as an argument to the script.
it looks like this
myscript.sh /var/test -->destination path
now i would like to know what is the maximum length i can... (3 Replies)
Hi,
I wanted to know what is the maximum length of command which can be run on a bourne (sh) shell? Where can I find that information? Is it different for different OS flavors?
Please help.
Thanks,
Vineet (10 Replies)
I have a text file with several key words that I am trying to isolate. I have grepped for the unknowns in the text file, but each unknown has a corresponding location. I have created an array that holds all the unknowns and another array that holds all of the locations and compares them based on... (12 Replies)
Is there a maximum length for a shell script command? How can I detect that in my OS?
For example, if I have something like:
command A | command B | command C | awk '{print $1 $2 $3 $4 $5}'
then can we break the commands and also the arguments inside awk ?
Thanks (11 Replies)
How can I change the maximum length of a programming line in fortran and C (specifically in fortran 77)?
Seems the default maximum length is 72 in fortran 77.
Thanks. (4 Replies)
good friends days
I would love to know if I can help you know the length of a string
example:
cadena= "cual es mi largo"
echo "cadena : $cadena#
cadena :16 (7 Replies)
Discussion started by: tricampeon81
7 Replies
LEARN ABOUT DEBIAN
ecaccess-file-mget
ECACCESS-FILE-MGET(1p) User Contributed Perl Documentation ECACCESS-FILE-MGET(1p)NAME
ecaccess-file-mget - Download Multiple ECaccess Files at once
SYNOPSIS
ecaccess-file-mget -version|-help|-manual
ecaccess-file-mget [-debug] [-progress] [-force] [-bufsize length] source-ecaccess-file [...] target-local-directory
DESCRIPTION
Allow downloading Multiple ECaccess Files at once in the specified target-local-directory.
Each source-ecaccess-file is in the form [domain:][/user-id/]path. Please read the "Shell commands -> File Management" section of the
"ecaccess" guide for more information on the ECaccess File System.
Please note this command is not recursive and will only download the plain-files in the source-ecaccess-file directory (sub-directories are
ignored).
ARGUMENTS
source-ecaccess-file [...]
The name(s) of the source ECaccess File(s).
target-local-directory
The name of the target Local Directory.
OPTIONS -progress
Provide a progress meter on the standard terminal, allowing to monitor the file transmission in real-time. The progress bar is
removed from the terminal when the transmission is done. This option is not supported and ignored on Windows platforms.
-force Overrides the interactive mode and download each file without prompting.
-bufsize length
Specify the length of the buffer (in bytes) which is used to download the files. The larger the buffer the smaller the number of
http/s requests. By default a buffer of 1048576 bytes(1MB) is used.
-version
Display version number and exits.
-help Print a brief help message and exits.
-manual Prints the manual page and exits.
-debug Display the SOAP messages exchanged.
EXAMPLES
ecaccess-file-mget 'home:/xyz/bin/*.bin' $HOME/bin
Download the *.bin Files in the $HOME/bin directory of the user xyz. The Files are downloaded in the local $HOME/bin directory.
SEE ALSO
ecaccess-file-delete, ecaccess-file-get, ecaccess-file-chmod, ecaccess-file-modtime, ecaccess-file-mput, ecaccess-file-rmdir, ecaccess-
file-copy, ecaccess-file-dir, ecaccess-file-mdelete, ecaccess-file-mkdir, ecaccess-file-move, ecaccess-file-put, ecaccess-file-size and
ecaccess.
perl v5.14.2 2012-04-16 ECACCESS-FILE-MGET(1p)