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