03-19-2019
send SMS via curl
I need from aix to send an SMS, you know if the command curl serves me
7 More Discussions You Might Find Interesting
1. Programming
actually i need this sms application ,to gain some knowledge in linux
platform. (1 Reply)
Discussion started by: parvathy
1 Replies
2. UNIX for Advanced & Expert Users
hi , can anyone help with a script to send SMS to some mobile numbers on some conditions. (1 Reply)
Discussion started by: sdcoms
1 Replies
3. IP Networking
Hi All,
Can any expert provide me a guide on how i can send SMS from pc to mobile phone using VBA or some other language ?
I am a newbie in networking. (1 Reply)
Discussion started by: Raynon
1 Replies
4. UNIX for Dummies Questions & Answers
Hi All,
I am working in telecom sector.
I want to send a fault alarm SMS in every 30 min.
Ex..
If one alarm come at say 12:00 and its up say upto 18:00.in this case i want to send a SMS to concern person for every half an hour...can you plz suggest me script which will do the same
Awaiting for... (0 Replies)
Discussion started by: sususa
0 Replies
5. AIX
Any script / program / command can be run directly to send SMS directly on AIX ? Thanks (2 Replies)
Discussion started by: look1
2 Replies
6. Shell Programming and Scripting
Hey guys I was wondering how to go about creating a bash script to send SMS..any ideas are appreciated.. (2 Replies)
Discussion started by: blackzeus
2 Replies
7. UNIX for Advanced & Expert Users
Hello Folks,
I need to send the output from shell script to range of mobile phones based on their msisdn . Is there any open source solution could help me to do so from CentOS or redhat ?? (11 Replies)
Discussion started by: arm
11 Replies
LEARN ABOUT MOJAVE
curlopt_tftp_no_options
CURLOPT_TFTP_NO_OPTIONS(3) curl_easy_setopt options CURLOPT_TFTP_NO_OPTIONS(3)
NAME
CURLOPT_TFTP_NO_OPTIONS - Do not send TFTP options requests.
SYNOPSIS
#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_TFTP_NO_OPTIONS, long onoff);
DESCRIPTION
Set onoff to 1L to exclude all TFTP options defined in RFC2347, RFC2348 and RFC2349 from read and write requests (RRQs/WRQs).
This option improves interop with some legacy servers that do not acknowledge or properly implement TFTP options. When this option is used
CURLOPT_TFTP_BLKSIZE(3) is ignored.
DEFAULT
0
PROTOCOLS
TFTP
EXAMPLE
size_t write_callback(char *ptr, size_t size, size_t nmemb, void *fp)
{
return fwrite(ptr, size, nmemb, (FILE *)fp);
}
CURL *curl = curl_easy_init();
if(curl) {
FILE *fp = fopen("foo.bin", "wb");
if(fp) {
curl_easy_setopt(curl, CURLOPT_WRITEDATA, (void *)fp);
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, write_callback);
curl_easy_setopt(curl, CURLOPT_URL, "tftp://example.com/foo.bin");
/* do not send TFTP options requests */
curl_easy_setopt(curl, CURLOPT_TFTP_NO_OPTIONS, 1L);
/* Perform the request */
curl_easy_perform(curl);
fclose(fp);
}
curl_easy_cleanup(curl);
}
AVAILABILITY
Added in 7.48.0
RETURN VALUE
Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
libcurl 7.54.0 April 06, 2016 CURLOPT_TFTP_NO_OPTIONS(3)