curlopt_ftp_alternative_to_user(3) [mojave 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)
Check Out this Related Man Page
CURLOPT_SERVICE_NAME(3) curl_easy_setopt options CURLOPT_SERVICE_NAME(3)NAME
CURLOPT_SERVICE_NAME - authentication service name
SYNOPSIS
#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_SERVICE_NAME, char *name);
DESCRIPTION
Pass a char * as parameter to a string holding the name of the service for DIGEST-MD5, SPNEGO and Kerberos 5 authentication mechanisms. The
default service names are "ftp", "HTTP", "imap", "pop" and "smtp". This option allows you to change them.
The application does not have to keep the string around after setting this option.
DEFAULT
See above
PROTOCOLS
HTTP, FTP, IMAP, POP and SMTP
EXAMPLE
TODO
AVAILABILITY
Added in 7.43.0 for HTTP, 7.49.0 for FTP, IMAP, POP3 and SMTP.
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_PROXY(3), CURLOPT_PROXYTYPE(3),
libcurl 7.54.0 December 21, 2016 CURLOPT_SERVICE_NAME(3)
Hello
You know how to ask for the existence of one parameter and depending about it then do something, example:
Original script:
###################
USER=$1
PASS=$2
program1 $USER $PASS
###################
Desired shell
###################
USER=$1
PASS=$2
ARCH=$3
if
then
... (3 Replies)
Hi,
I've setup an FTP server on my linux box (RH 9.0). I've configured so the vsftpd daemon is running in runlevel 5, etc.
However, I have difficulty logging-on, as it will not authenticate any valid user (inlcuding anoymous). Everything seems ok in the /etc/vsftpd/vsftp.d.conf and... (4 Replies)
hi
i am unable to connect to FTP server.My FTP password contain one special charecter '#'.it might be the problem for connecting.please clarify regarding this special charecter in the password.i need some information about restricted charecters in the shell script.
thanks (5 Replies)
Hi,
I have this slightly modified FTP code (thanks to this forum)
function gather_FTPDate {
HOST=
USER=
PASSWD=
exec 4>${TEMP_LOG_FILE}
ftp -nv >&4 2>&4 |&
echo $?
if ] then
echo "Unable to connect to FTP server!!!" >> ${LOG_FILE}
return 0
fi
print -p open... (2 Replies)
Hi,
The Setup is like this. I'm connecting to Unix machine from my local machine. After connecting to Unix M/c, i need to connect FTP server. Am successful in connecting to FTP server, but am not able to download the file from the ftp server to my local machine. I have different user id's and... (1 Reply)
Does anyone know of any products that support FTPS (FTP with SSL).
Or does anyone out there run this now? any experiences?
This is particularly to support the Cuncur expense system, I don tknow if anyone works with them at all, but they dont support sftp, just ftps.
Thanks,!! (1 Reply)
Folks
I am on a quest....
I am looking for a lightweight FTP client capable of FTPS and or SFTP that has good audit and logging capabilities without requiring a central server component. My platforms are Linux, Solaris, AIX, and Windows Server.
The kicker is I have found things that meet the... (3 Replies)
Hi,
After connecting to the remote server by using FTP i need to know the file name residing on the remote path....So that that file name i can pass as a parameter to the main program...FTP program will get called from the main program....
Please let me know the solution. (4 Replies)
Hi All,
can some one please help me to solve this issue, its urgent:confused:
We need to FTP a file form our Unix server to an external client FTP location.
I am trying to connect to the proxy server first and then use the below USER comment to connect to the external FTP server, and its working... (3 Replies)
Here are the essentials:
un: myuser
pw: mypasswd
site: sftp.somesite.com
port: 990
type: FTPS
enc: FTP over implicit TLS
program used:
Curl 7.1.x on Hpux 11.31
I would like to "put" 1 file on there server.
Here is my syntax, what am I doing wrong?
curl -3 -v --cacert... (5 Replies)
Here are the essentials:
un: myuser
pw: mypasswd
site: sftp.somesite.com
port: 990
type: FTPS
enc: FTP over implicit TLS
program used:
Curl 7.1.x on Hpux 11.31
I would like to "put" 1 file on there server.
Here is my syntax, what am I doing wrong?
curl -3 -v --cacert... (4 Replies)
I have a requirement for which I had to connect to a server using FTPS. I have been provided with these,
connection method: FTPS
Server Name
Port for explicit and implicit
Login user
I would like to know the FTPS command/script in order to connect to there server and get a file.
... (5 Replies)
Hi,
I have to upload a file to a remote Citrix Sharefile server using implicit FTPS. But the problem I'm facing is that when the FTPS UNIX script is called through a GUI tool; it keeps on running and after forcibly killing that job, if I try to connect the same server directly from the UNIX box... (1 Reply)
Hi,
I am working on an application which runs on an Informatica Red-Hat 5.10 Linux Server.
The application involves several Informatica ETL workflows which generate 100s of Text files with lot of data. Many of the files will each be up to 5 GB in size.
Currently the Informatica server itself... (7 Replies)