Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

curlopt_ftp_skip_pasv_ip(3) [mojave man page]

CURLOPT_FTP_SKIP_PASV_IP(3)				     curl_easy_setopt options				       CURLOPT_FTP_SKIP_PASV_IP(3)

NAME
CURLOPT_FTP_SKIP_PASV_IP - ignore the IP address in the PASV response SYNOPSIS
#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_FTP_SKIP_PASV_IP, long skip); DESCRIPTION
Pass a long. If skip is set to 1, it instructs libcurl to not use the IP address the server suggests in its 227-response to libcurl's PASV command when libcurl connects the data connection. Instead libcurl will re-use the same IP address it already uses for the control connec- tion. But it will use the port number from the 227-response. This option thus allows libcurl to work around broken server installations that due to NATs, firewalls or incompetence report the wrong IP address back. This option has no effect if PORT, EPRT or EPSV is used instead of PASV. DEFAULT
0 PROTOCOLS
FTP EXAMPLE
TODO AVAILABILITY
Added in 7.14.2 RETURN VALUE
Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. SEE ALSO
CURLOPT_FTPPORT(3), CURLOPT_FTP_USE_EPRT(3), libcurl 7.54.0 February 03, 2016 CURLOPT_FTP_SKIP_PASV_IP(3)

Check Out this Related Man Page

CURLOPT_FTP_ALTERNATIVE_TO_USER(3)			     curl_easy_setopt options				CURLOPT_FTP_ALTERNATIVE_TO_USER(3)

NAME
CURLOPT_FTP_ALTERNATIVE_TO_USER - command to use instead of USER with FTP SYNOPSIS
#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_FTP_ALTERNATIVE_TO_USER, char *cmd); DESCRIPTION
Pass a char * as parameter, pointing to a string which will be used to authenticate if the usual FTP "USER user" and "PASS password" nego- tiation fails. This is currently only known to be required when connecting to Tumbleweed's Secure Transport FTPS server using client cer- tificates for authentication. The application does not have to keep the string around after setting this option. DEFAULT
NULL PROTOCOLS
FTP EXAMPLE
TODO AVAILABILITY
Added in 7.15.5 RETURN VALUE
Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or CURLE_OUT_OF_MEMORY if there was insufficient heap space. SEE ALSO
CURLOPT_FTP_SKIP_PASV_IP(3), CURLOPT_FTP_RESPONSE_TIMEOUT(3), libcurl 7.54.0 December 21, 2016 CURLOPT_FTP_ALTERNATIVE_TO_USER(3)
Man Page

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Reading response from server

I am trying to write a korn shell script which posts commands to a server and read the response back from the server. Any idea how I can read the servers response? I have tried doing the following: ( LOGIN:xxxxx command to server read ANSWER echo $ANSWER >file1... (4 Replies)
Discussion started by: frustrated1
4 Replies

2. UNIX for Advanced & Expert Users

PASV mode FTP

Hello, We have a situation wherein the FTP connections from a Client over a secure connection like ANX, when using PASV mode file transfers, the server on our end is sending out an ip address as (0,0,0,0,0,0) for PASV mode. The first four numbers denote the ip address and the last two denote the... (5 Replies)
Discussion started by: jerardfjay
5 Replies

3. Programming

getoptlong

Hi..., I am using the getoptlong() function to handle the options. For some options I am having the long option and for some other I don't want the long option. So, what I have to specify in the place of long option field when declaring the longopt array. (1 Reply)
Discussion started by: nagalenoj
1 Replies

4. Shell Programming and Scripting

Arrange / format data using awk

Input 217:fngadi4osa:fngadi4osa:M 217:415744:N/A 227:fngadi4osa:fngadi4osa: M 227:51200:N/A 228:fngadi4osa:fngadi4osa: M 228:102400:N/A 65:sapgt04:sapgt04: M 65:104448:N/A 228:fngadi4osa:fngadi4oma: M 228:102400:N/A Output 217:fngadi4osa:fngadi4osa:M 217:415744:N/A... (3 Replies)
Discussion started by: greycells
3 Replies

5. Shell Programming and Scripting

I need to appears as different ip address when I send a form

Hi my problem is that I need to send a form to a web address using curl, from a unix shell, the web address on the receiving end will only accept incoming data from a specific ip address, and port, on another machine on our intranet, and I can not run curl on that machine. Is there any way I... (5 Replies)
Discussion started by: Paul Walker
5 Replies

6. AIX

C4040-227: Associate AIX 7 Administration - certification material

Hi I am planning to take up this exam - C4040-227: Associate AIX 7 Administration Can someone please help me with where i can find proper documentation for this (1 Reply)
Discussion started by: honey26
1 Replies

7. Shell Programming and Scripting

C4040-227 - Associate AIX 7 Administration

Hello Everyone, Could anyone please provide the Study Material / Dump for C4040-227 - Associate AIX 7 Administration? I'm planning to write the certification.Thank you in advance. Regards, Anjaneyulu Deeti (0 Replies)
Discussion started by: deeti
0 Replies