04-22-2004
10 More Discussions You Might Find Interesting
1. Cybersecurity
Hello every one.
I work in a LAN with many application server.
Each one use a different port.
What command permit to obtain the number of these port.
thanks (2 Replies)
Discussion started by: hoang
2 Replies
2. UNIX for Dummies Questions & Answers
We are getting the following error while in the middle of an ftp with a remote server
transfer.07-25-02-124529:425 Can't build data connection: Operation already in progress.
This can happen in the middle of a successful connection... we might transfer several files successfully before and /... (3 Replies)
Discussion started by: MizzGail
3 Replies
3. 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
4. UNIX for Dummies Questions & Answers
Hi expert,
I wanted to know in which port my apache is running in solaris box
thanks
Shaan (1 Reply)
Discussion started by: shaan_dmp
1 Replies
5. UNIX for Dummies Questions & Answers
hi all
i want to connect a system,
how can i know the port number of a system. (2 Replies)
Discussion started by: tukuna82
2 Replies
6. 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
7. 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
8. Shell Programming and Scripting
Hi, does anybody know if it is possible to specify a particular port for an FTP address within a .netrc file ?
i have a script which opens the ftp to a machine and then instigates .netrc to login etc.. within .netrc i need it to go to a particular port to enable me to automate the dropping of... (2 Replies)
Discussion started by: forefather1977
2 Replies
9. Solaris
please find the below o/p for your reference
bash-3.00# fcinfo hba-port
HBA Port WWN: 21000024ff295a34
OS Device Name: /dev/cfg/c2
Manufacturer: QLogic Corp.
Model: 375-3356-02
Firmware Version: 05.03.02
FCode/BIOS Version: BIOS: 2.02; fcode: 2.01;... (3 Replies)
Discussion started by: sb200
3 Replies
10. 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
LEARN ABOUT MOJAVE
curlopt_ftpport
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)