01-23-2012
alternate way thru netstat
try :
$ netstat -a | grep ftp
hth
Last edited by DukeNuke2; 01-23-2012 at 07:40 PM..
9 More Discussions You Might Find Interesting
1. BSD
just as the title says.
thanks.
#General Rule Sets
/sbin/ipfw add 0300 check-state
/sbin/ipfw add 0301 deny tcp from any to any in established
/sbin/ipfw add 0302 pass tcp from any to any out setup keep-state
/sbin/ipfw add 0303 pass udp from any to any out
#SSH FTP
/sbin/ipfw add 0400... (11 Replies)
Discussion started by: dwildgoose
11 Replies
2. UNIX for Advanced & Expert Users
An application running on HP-UX constantly generates new text log files ( I think using logpipe ). Any new file created requires to be ftp'ed to an offline server, however I want to make sure that the current file being written should not be transferred.
For examples consider the following files... (3 Replies)
Discussion started by: indianya
3 Replies
3. AIX
Hello, we recently configured syslog on one of our machines with the following line in /etc/syslog.conf
*.info /audit/syslog.log rotate time 1d compress
However it does not seem to be logging incoming ftp connections, only outgoing ftp connections? Is there a way to log incoming ftp... (2 Replies)
Discussion started by: zuessh
2 Replies
4. Programming
Hi there,
This may be a stupid question, but...
Is it possible to use one data connection channel initiated on a FTP server for sending multiple commands (LIST, NLST, MLSD)?
Thanks in advance! (1 Reply)
Discussion started by: Yezu
1 Replies
5. UNIX for Dummies Questions & Answers
Hello,
I need to know if there are ftp connections in my machine.
How can I find out that?any commands to use?
PS: i know how to find which users are on my machine now by using #who -r
regards (2 Replies)
Discussion started by: ahmedamer12
2 Replies
6. UNIX for Dummies Questions & Answers
Hi All,
I have to work on a korn shell script to pick up only the current day files dropped on the remote server (using ftp).
The file do not have daytimestamp on it. It has to be based on server time (AIX)
The file naming convention is "test_file.txt"
When I log in into the ftp account... (15 Replies)
Discussion started by: pavan_test
15 Replies
7. UNIX for Advanced & Expert Users
Hi all,
I have F5 load balancer on my system and checking service status by opening an ftp session in every 30 seconds. These ftp sessions are being logged in /var/adm/wtmpx and filling up the file. when i run the last command most of the output is this ftp session. I was wondering if there is a... (1 Reply)
Discussion started by: cepxat
1 Replies
8. UNIX for Advanced & Expert Users
Dear Friends,
I need help to write a shell / perl script to download the files from FTP location, having different file names (date inside the file name).
Example:
Mar 5 09:24 cfx_03052013_return_file.txt
Mar 6 02:13 cfx_03062013_return_file.txt
Mar 7 06:40... (3 Replies)
Discussion started by: Praveen Pandit
3 Replies
9. UNIX for Dummies Questions & Answers
give the syntax (3 Replies)
Discussion started by: sonu pandey
3 Replies
LEARN ABOUT DEBIAN
ftpshut
ftpshut(8) System Manager's Manual ftpshut(8)
NAME
ftpshut - shut down all proftpd servers at a given time
SYNOPSIS
ftpshut [ -R ] [ -l min ] [ -d min ] time [ warning-message ]
DESCRIPTION
The ftpshut command provides an automated shutdown procedure that a superuser can use to automagically disconnect current proftpd connec-
tions, and deny new connections. The command creates a control file as /etc/shutmsg to inform proftpd processes about an impending shut-
down.
OPTIONS
time The time at which the ftp servers will be brought down. It may be the word `now', indicating an immediate shutdown, or a future
time in one of two formats: +number or HHMM. The first form brings the servers down in number minutes, while the second form
indicates an exact time of day, using a 24-hour clock format.
-R Instructs ftpshut to remove the /etc/shutmsg file, restoring proftpd to its normal service. If this option is used, this will be
the only operation performed by ftpshut
-l min Specifies the number of minutes before shutdown that new ftp access will be disabled. If the -l option is not specified, a
default of 10 minutes (or immediately, if less than 10 minutes remains until shutdown) is used.
-d min Specifies the number of minutes before shutdown that existing ftp connections will be disconnected. If the -d option is not
specified, a default of 5 minutes (or immediately, if less than 5 minutes remains until shutdown) is used.
warning-message
Optionally provide a message which will be sent to new connections (if denied) and existing connections (when disconnected). The
message can contain the following magic cookies, which will be replaced as follows before being sent to new or existing connec-
tions:
%s time proftpd is being shut down
%r time new connections will be denied
%d time current connections will be dropped
%C current working directory (where applicable)
%L local host name (or virtualhost name)
%R remote host name
%T local time (format Thu Nov 15 17:12:42 1990)
%U username given at login time
CAVEATS
Proftpd servers can only be shutdown via ftpshut if a master daemon is running in standalone mode. Servers running in inetd mode will
honor the shutdown message file created by ftpshut, however currently running servers may be chroot(2)ed, and unable to read the shutdown
message control file.
It is possible to set an absolute shutdown time which is earlier than the current time. If this is the case, proftpd will not shutdown
until the indicated time on the following day.
FILES
/usr/sbin/ftpshut
/etc/shutmsg
AUTHORS
ProFTPD is written and maintained by a number of people, full credits can be found on http://www.proftpd.org/credits.html
SEE ALSO
inetd(8),ftp(1),proftpd(8),ftpwho(1),ftpcount(1)
Full documentation on ProFTPD, including configuration and FAQs, is available at http://www.proftpd.org/
For help/support, try the ProFTPD mailing lists, detailed on http://www.proftpd.org/lists.html
Report bugs at http://bugs.proftpd.org/
March 2003 ftpshut(8)