11-03-2010
When I have a similar requirement with URLs and PHP, I use curl() and not fopen().
curl() has many options, including adding authentication, timeouts, etc.
Cheers.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I inhereted a project server that has UNIX installed with a SCO OS. I am trying to learn UNIX but I cannot go beyond the password and login. The original engineers have left the company and nothing was ever written down. How can access our server? (1 Reply)
Discussion started by: fxsaint
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I am trying to print from HP unix machine to a Toshiba printer which is password protected. How can I print?
Thanks.
Anuj (1 Reply)
Discussion started by: Anuj
1 Replies
3. Shell Programming and Scripting
Hi All,
I want to make my script password protected.
i e: if somebody runs my script it should prompt for password.
Can somebody help me in to execute the same??
Thanks in Advance :b: (11 Replies)
Discussion started by: achararun
11 Replies
4. Web Development
Dear all,
I'm a newbie for PHP and TCPDF ,I have to change the URL to PDF, so I used FPDF , But it cannot convert most of the advanced HTML tags. So explored again and found TCPDF , it can do most of the tag but I cannot found to change URL to PDF. So Does anyone can point the example... (0 Replies)
Discussion started by: athae
0 Replies
5. Shell Programming and Scripting
Any idea how to make files/folders password protected...
I dont want to change the permissions of the files/folders... (1 Reply)
Discussion started by: know d unknown
1 Replies
6. Shell Programming and Scripting
Hie Friends,
I need your help once again.
I have 77 “password protected” winzip files in linux/unix server. I want to decrypt it through an automated script. Password of every file is same and it is mhd*tt.
Please help me.
Usually I unzip it as follows, manually one by one.
unzip <file name> ... (6 Replies)
Discussion started by: anushree.a
6 Replies
7. UNIX for Dummies Questions & Answers
I am trying to unzip ~150 files on a SUN server in Unix via a telnet program (PuTTy), so I am restricted (I believe) to single-line command functions. All of the files are password protected, and each one contains three files. Is there a way to automate the process? I have tried 7z, but that only... (0 Replies)
Discussion started by: Davman
0 Replies
8. UNIX for Dummies Questions & Answers
I dug myself a hole yesterday that I can't seem to get myself out of.
In a very futile attempt to create a new FTP user with limited access via SSH, I inadvertently changed permissions for who knows what and now I am having a problem accessing password protected directories. When I enter the... (1 Reply)
Discussion started by: HiddenColors
1 Replies
9. Shell Programming and Scripting
I want to give my long scripts to customer. The customer must not be able to read the scripts even if he has the password. The following command locks and unlocks the script but the set +x is simply ignored.
The code:
read -p 'Script: ' S && C=$S.crypt H='eval "$((dd if=$0 bs=1 skip=//|gpg... (7 Replies)
Discussion started by: frad
7 Replies
10. Shell Programming and Scripting
All,
I have requirement to send password protected excel file in an email from unix/linux box without zipping it. Any help would be appreciated.
Thanks.. (8 Replies)
Discussion started by: Durgesh Gupta
8 Replies
LEARN ABOUT MOJAVE
curlopt_noprogress
CURLOPT_NOPROGRESS(3) curl_easy_setopt options CURLOPT_NOPROGRESS(3)
NAME
CURLOPT_NOPROGRESS - switch off the progress meter
SYNOPSIS
#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_NOPROGRESS, long onoff);
DESCRIPTION
If onoff is to 1, it tells the library to shut off the progress meter completely for requests done with this handle. It will also prevent
the CURLOPT_PROGRESSFUNCTION(3) from getting called.
Future versions of libcurl are likely to not have any built-in progress meter at all.
DEFAULT
1, meaning it normally runs without a progress meter.
PROTOCOLS
All
EXAMPLE
CURL *curl = curl_easy_init();
if(curl) {
curl_easy_setopt(curl, CURLOPT_URL, "http://example.com");
/* enable progress meter */
curl_easy_setopt(curl, CURLOPT_NOPROGRESS, 0L);
/* Perform the request */
curl_easy_perform(curl);
}
AVAILABILITY
Always
RETURN VALUE
Returns CURLE_OK.
SEE ALSO
CURLOPT_PROGRESSFUNCTION(3),
libcurl 7.54.0 March 06, 2016 CURLOPT_NOPROGRESS(3)