10-29-2013
perhaps you could try with args="$*"
In your previous post Im quite sure $1 would have returned "curl"...
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I am trying to install Perl 5.005 on solaris 2.5, following the perl
installation guide in INSTALL file that comes with Perl software
However, according to the installation procedure, it instruct me to to excute "make" command after running the Configure which I did but everytime I excute... (3 Replies)
Discussion started by: hassan2
3 Replies
2. UNIX for Advanced & Expert Users
I installed sun recommended cluster patches for solaris 2.5 on my
solaris 2.5 server and then issued a shutdown -i6 -y -g0 to reboot the server but server failed to come back up.
the server tries to boot up and goes through initialising memory then server freeze.
I try to bring the server up... (7 Replies)
Discussion started by: hassan2
7 Replies
3. UNIX for Advanced & Expert Users
I wanted to know what email app most Sun solaris / unix gurus use ? I have become quite NON microsoft in the last few months in my studying solaris..
thanks
simon2000 (6 Replies)
Discussion started by: simon2000
6 Replies
4. UNIX for Dummies Questions & Answers
Please forgive me if this is the wrong place for this post. I didn't see a good place to post this topic in. :D
I would like to know what's the most popular and reliable Java IDE out there nowadays? A FREE one would be awesome! :D
Thanks for your suggestion!
Cheers! (10 Replies)
Discussion started by: laila63
10 Replies
5. UNIX for Advanced & Expert Users
I'm trying to tar 3000 files into a single tar file to be extracted on another server. Command I'm using:
find . -name '*cost*' -print| xargs tar -cvf mylist.tar (Note tar is contained on filesystem not tape drive which is what I want)
Above command works fine and displays all 3000+ file... (3 Replies)
Discussion started by: budrito
3 Replies
6. Shell Programming and Scripting
Hi,
I have written the following UNIX for HP-UX 11i. The script basically checks for files older then 45mins in 2 repective directories and then sends and email to the administrator about them.
Problem with the script is that I can run it from the command line and crontabtab but 80% of the... (2 Replies)
Discussion started by: budrito
2 Replies
7. AIX
Hi alls
I don't see any solution and I need to have feedback from other people...
On a test machine (AIX 5.1) I've installed OpenSSH software on it (with openssl, prng, etc...) like is described on IBM AIX Docs. To control the installation I've rebooted the machine and all was ok (CDE was... (15 Replies)
Discussion started by: nymus7
15 Replies
8. Shell Programming and Scripting
I opened strict.pm and found some not understandable stuff, please let me know if you have any Idea on the same.
1) Line 23 => $bits |= (what is $= here how it affect the statement)
2) Line 36 => $^H (what is that I haven't found any statement on this in google)
3) Line 41 =>... (3 Replies)
Discussion started by: jatanig
3 Replies
9. What is on Your Mind?
A long time ago, my computer crashed, at that time, I was using Windows98, but
because I was a noob at computers, my friend recommended me apro to fix it for me.
He came, saw the computer, and asked if I had a backup/installation disk
for Windows 98. I said no.
He thought about it for a... (1 Reply)
Discussion started by: vistastar
1 Replies
10. Shell Programming and Scripting
hello,
i'm recompiling some c++ code for OSX and there are some bugs as the configure is not picking up some libs like atlas, pastix, etc, it should be finding either in standard path or with pkgconfig but it's not so i'm rewriting the Makefile. C++ territory is a bit of a stretch with all of... (0 Replies)
Discussion started by: f77hack
0 Replies
LEARN ABOUT MOJAVE
curlopt_postfieldsize_large
CURLOPT_POSTFIELDSIZE_LARGE(3) curl_easy_setopt options CURLOPT_POSTFIELDSIZE_LARGE(3)
NAME
CURLOPT_POSTFIELDSIZE_LARGE - size of POST data pointed to
SYNOPSIS
#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_POSTFIELDSIZE_LARGE,
curl_off_t size);
DESCRIPTION
If you want to post data to the server without having libcurl do a strlen() to measure the data size, this option must be used. When this
option is used you can post fully binary data, which otherwise is likely to fail. If this size is set to -1, the library will use strlen()
to get the size.
DEFAULT
-1
PROTOCOLS
HTTP(S)
EXAMPLE
CURL *curl = curl_easy_init();
if(curl) {
const char *data = large_chunk;
curl_off_t length_of_data; /* set somehow */
curl_easy_setopt(curl, CURLOPT_URL, "http://example.com");
/* size of the POST data */
curl_easy_setopt(curl, CURLOPT_POSTFIELDSIZE_LARGE, length_of_data);
curl_easy_setopt(curl, CURLOPT_POSTFIELDS, data);
curl_easy_perform(curl);
}
AVAILABILITY
Along with HTTP
RETURN VALUE
Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not.
SEE ALSO
CURLOPT_POSTFIELDS(3), CURLOPT_COPYPOSTFIELDS(3), CURLOPT_POSTFIELDSIZE(3),
libcurl 7.54.0 February 03, 2016 CURLOPT_POSTFIELDSIZE_LARGE(3)