06-03-2005
ftp port listener
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
10 More Discussions You Might Find Interesting
1. 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
2. UNIX for Advanced & Expert Users
On HP-UX 11 how do I get the port number of an active ftp connection? (2 Replies)
Discussion started by: mbb
2 Replies
3. Shell Programming and Scripting
Hi folks,
I'm trying to get the listener port from its configuration file (tnsnames.ora) using sed ,and I encounter difficulties.
tnsnames.ora :
DB10g =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = buffy)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
... (3 Replies)
Discussion started by: nir_s
3 Replies
4. SCO
Hi there,
I have a client who wants to FTP to his server (UW7.1.4). He don't wants to use the standard 21 port but a differtent port like 8210.
I added an extra ftp1line in the /etc/services and /etc/inetd.conf as same as the original ftp line. Restarted TCP/IP but when I connect with an... (0 Replies)
Discussion started by: p.vvugt
0 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. UNIX for Dummies Questions & Answers
Hi All,
I'm installation a server
we have client -server architecture
I need to configure a port for client to communicate with the server
and server to communicate with the clients
Pls let me know how to configure in linux (2 Replies)
Discussion started by: gwrm
2 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. IP Networking
Hi,
I'm trying to connect ftp over ssh port forwarding to a sever(UnixC) behind FireWall(F/W). here's my env and question.
UnixA(SSH Client) ----F/W ---- UnixB(SSH Svr) ---- UnixC (FTP, 21)
UnixA wants to connect ftp service of UnixC via SSH port forwarding on UnixB.
Unix A,... (3 Replies)
Discussion started by: hanyunq
3 Replies
9. 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
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 REDHAT
monitor
MONITOR(1) General Commands Manual MONITOR(1)
NAME
monitor - receive logging information from LPD
SYNOPSIS
monitor [ -u ] [ -t ] [ port ]
DESCRIPTION
The monitor program is a template for a printer status monitoring program. It will open the specified TCP and/or UDP port, and then wait
for accounting or other information to be sent. It prints this information on it standard output.
OPTIONS
-u wait for connections on the UDP port.
-t wait for connections on the TCP port.
port Use the specified port number.
EXIT STATUS
The following exit values are returned:
zero (0) Successful completion.
non-zero (!=0) An error occurred.
SEE ALSO
lpd.conf(5), lpc(8), lpd(8), checkpc(8), lpr(1), lpq(1), lprm(1), printcap(5), lpd.conf(5), pr(1), lprng_certs(1), lprng_index_certs(1).
HISTORY
LPRng is a enhanced printer spooler system with functionality similar to the Berkeley LPR software. The LPRng mailing list is
lprng@lprng.com; subscribe by sending mail to lprng-request@lprng.com with the word subscribe in the body. The software is available from
ftp://ftp.lprng.com/pub/LPRng.
AUTHOR
Patrick Powell <papowell@lprng.com>.
LPRng LPRng-3.9.0 MONITOR(1)