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
Authen::Simple::FTP(3pm) User Contributed Perl Documentation Authen::Simple::FTP(3pm)
NAME
Authen::Simple::FTP - Simple FTP authentication
SYNOPSIS
use Authen::Simple::FTP;
my $ftp = Authen::Simple::FTP->new(
host => 'ftp.company.com'
);
if ( $ftp->authenticate( $username, $password ) ) {
# successfull authentication
}
# or as a mod_perl Authen handler
PerlModule Authen::Simple::Apache
PerlModule Authen::Simple::FTP
PerlSetVar AuthenSimpleFTP_host "ftp.company.com"
<Location /protected>
PerlAuthenHandler Authen::Simple::FTP
AuthType Basic
AuthName "Protected Area"
Require valid-user
</Location>
DESCRIPTION
Authenticate against a FTP service.
METHODS
* new
This method takes a hash of parameters. The following options are valid:
* host Connection host, can be a hostname or IP number. Defaults to "localhost".
host => 'ftp.company.com'
host => '10.0.0.1'
* port Connection port, default to 21.
port => 21
* timeout
Connection timeout, defaults to 60.
timeout => 60
* log Any object that supports "debug", "info", "error" and "warn".
log => Log::Log4perl->get_logger('Authen::Simple::FTP')
* authenticate( $username, $password )
Returns true on success and false on failure.
SEE ALSO
Authen::Simple.
Net::FTP.
AUTHOR
Christian Hansen "ch@ngmedia.com"
COPYRIGHT
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.8.8 2008-03-01 Authen::Simple::FTP(3pm)