10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I am using below code to ftp file and it errors out saying Servname not supported for ai_socktype ... if I do not use port number 2020 then it is not connected
#!/bin/sh
USER=$1
PASSWD=$2
server=$3
remoteFile=$4
localDir=$5
ftp -n -v << EOF
open $server 2020
user $USER $PASSWD
ascii
cd... (4 Replies)
Discussion started by: eskay
4 Replies
2. Shell Programming and Scripting
portsuf=25
port=20925
I need to replace 09 with 25
It should be like 22525.
Can some please help with command or script. (4 Replies)
Discussion started by: bhas85
4 Replies
3. HP-UX
Hi Experts,
Need your help in enabling the ftp port in HP-UX box.
Is there any command/config file that needs to be changed?
Also is it possible to open it only for few selected IPs only? (9 Replies)
Discussion started by: sai_2507
9 Replies
4. Solaris
Hello i'm newbie in solaris, anybody know how to change five port solaris 10?
exmpe: bge0, bge1, bge2, etc.
anybody can help me with the script implementasi... and logical how solaris work.
thank so much:b: (2 Replies)
Discussion started by: yanto85
2 Replies
5. IP Networking
Hi all,
Simple question.
What is the command to ftp to other port, says 55555
Astelnet we can use: telnet IPaddress portNumber right?
What about ftp? Thanks a lot (4 Replies)
Discussion started by: wilsonSurya
4 Replies
6. Red Hat
Hi,
Is it possible to change the nmap port name: For eg:
21/tcp open ftp
53/tcp open domain
80/tcp open http
111/tcp open rpcbind
836/tcp open unknown
843/tcp open unknown
953/tcp open rndc
I need to change the port number 836 unknown to the name of the... (4 Replies)
Discussion started by: gsiva
4 Replies
7. SCO
Hello,
I am having performance problem when , i ported a c code from Unixware 2.1 to Unixware 7.0.0.
My program establishes a synchornous connection with the client in a windows OS and then sends and receives messsages using the recv and send calls.
What i hyave noticed is that after a... (0 Replies)
Discussion started by: Amith
0 Replies
8. Shell Programming and Scripting
Hi Engg. ! :cool:
When I am trafering a file through ftp from windows to UNIX having size about 1.24 GB then at the end of file transfer I got a error message "Extended file size limit (coredump)" and finnally ftp stop, whenever on other UNIX server the same file from windows... (1 Reply)
Discussion started by: Niraj Gopal Sha
1 Replies
9. IP Networking
Hi,
Anyone have any pointers on how I would go about creating some sort of listener (preferably, but not exclusively in Java) that would monitor an ftp port and react to arrival of a new file?
Thanks in advance.
Selma (2 Replies)
Discussion started by: Selma
2 Replies
10. IP Networking
I changed the IP whit Ifconfig and I used ping to test the conetions the conection is rigth on my LAN (NetA)
But, I have two networks for example:
NetA route to NetB and vicevers
On NetB ping to any machine on NetA, it is respons successfully. but I ping to UNIX server no respons.
I... (1 Reply)
Discussion started by: lmena
1 Replies
CURLOPT_FTPPORT(3) curl_easy_setopt options CURLOPT_FTPPORT(3)
NAME
CURLOPT_FTPPORT - make FTP transfer active
SYNOPSIS
#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_FTPPORT, char *spec);
DESCRIPTION
Pass a pointer to a zero terminated string as parameter. It specifies that the FTP transfer will be made actively and the given string will
be used to get the IP address to use for the FTP PORT instruction.
The PORT instruction tells the remote server to connect to our specified IP address. The string may be a plain IP address, a host name, a
network interface name (under Unix) or just a '-' symbol to let the library use your system's default IP address. Default FTP operations
are passive, and thus won't use PORT.
The address can be followed by a ':' to specify a port, optionally followed by a '-' to specify a port range. If the port specified is 0,
the operating system will pick a free port. If a range is provided and all ports in the range are not available, libcurl will report
CURLE_FTP_PORT_FAILED for the handle. Invalid port/range settings are ignored. IPv6 addresses followed by a port or portrange have to be
in brackets. IPv6 addresses without port/range specifier can be in brackets.
Examples with specified ports:
eth0:0
192.168.1.2:32000-33000
curl.se:32123
[::1]:1234-4567
You disable PORT again and go back to using the passive version by setting this option to NULL.
The application does not have to keep the string around after setting this option.
DEFAULT
NULL
PROTOCOLS
FTP
EXAMPLE
TODO
AVAILABILITY
Port range support was added in 7.19.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_USE_EPRT(3), CURLOPT_FTP_USE_EPSV(3),
libcurl 7.54.0 December 21, 2016 CURLOPT_FTPPORT(3)