10-26-2012
Perhaps one client is passive y default and there is a firewall, one ftp is really sftp (putty), or some similar impediment, that the two ftp clients do not have equal access from the same host. Try the browser
ftp://userassword@host/ URL. Maybe there is only sftp (sshd) not ftp. Can you ftp on aix to itself?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need your help please.
In order to run a script after a ftp connection, ive got initially this problem:
from unix pc machine to a Unix server i could ftp succesfully but in reverse (i mean from unix to pc machine i cant ftp. The error message is this
ftp 192.168.29.90
ftp: connect: Connection... (1 Reply)
Discussion started by: alexcol
1 Replies
2. HP-UX
Hello Friends,
When i trying to transfer a huge amount of files via FTP to a HP-Unx server, I am getting an error "Connection Refused"...!
How can i avoid this error.
Regards,
Prakash K:b: (4 Replies)
Discussion started by: bullz26
4 Replies
3. Solaris
Hi guys i am facing this issue while opening new xterm window.please help me out.
Xlib: connection to "delop125ld:0.0" refused by server
Xlib: Maximum number of clients reached
xterm Xt error: Can't open display: delop125ld:0.0
thanks (1 Reply)
Discussion started by: daya.pandit
1 Replies
4. Solaris
Hi everyone,
I am hoping anyone of you could help me in this weird problem we have in 1 of our Solaris 10 servers. Lately, we have been having some ftp problems in this server. Though it can ping any server within the network, it seems that it can only ftp to a select few. For most servers, the... (4 Replies)
Discussion started by: labdakos
4 Replies
5. UNIX for Advanced & Expert Users
Hi- While trying ftp from AIX to Windows im getting below error. Can anyone share ur views on this topic.
root@AB101# ftp -n 10.192.168.68
ftp: connect: A remote host refused an attempted connect operation.
ftp>
Thanks. (3 Replies)
Discussion started by: yanis
3 Replies
6. Solaris
hi,
I am using solaris 11 , facing problem in ftp while using ftp to connect it from other os. SCP and ssh are working fine. sftp also working from other solaris machine but i want to ftp from windows os which show me the below message.
ftp connect connection refused
I use below command... (3 Replies)
Discussion started by: zeeshan047
3 Replies
7. Debian
I have two computers running Debian 6.0 and one running Solaris 2.6 on a private network. The Debian computers can ftp to the Solaris computer but if a Debian computer is the destination the ftp connection is refused. I assume this is some security feature of Debian. What can I do to allow... (2 Replies)
Discussion started by: snorkack59
2 Replies
8. Shell Programming and Scripting
Hi I am trying to execute a shell script which is in unix server gs1. The script is below which basically connects to another unix server q15 and tries to get a file using FTP .
But i get error as "ftp: connect: Connection refused
Not connected.
Not connected."
Please help with if the below... (8 Replies)
Discussion started by: samrat dutta
8 Replies
9. Shell Programming and Scripting
Hi All,
I am using the below script to get some files from the remote location
HOST='Test03'
USER='root'
PASSWD='*****'
FILE='/home/user/d.txt'
ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
get $FILE
quit
END_SCRIPT
exit 0
But ist is giving me the... (3 Replies)
Discussion started by: sharsour
3 Replies
10. Solaris
I installed a fresh copy of Solaris 7 and present up my ip and domain for my web services but when I try to connect to it I get the following error;
TCPActiveOpen: connect failed tcp/192.168.1.148/7900: 146 (Connection refused).
the port is open in my router but I don't no were to add it in... (5 Replies)
Discussion started by: Wpgn
5 Replies
LEARN ABOUT PHP
ftp_get_option
FTP_GET_OPTION(3) 1 FTP_GET_OPTION(3)
ftp_get_option - Retrieves various runtime behaviours of the current FTP stream
SYNOPSIS
mixed ftp_get_option (resource $ftp_stream, int $option)
DESCRIPTION
This function returns the value for the requested $option from the specified FTP connection.
PARAMETERS
o $ftp_stream
- The link identifier of the FTP connection.
o $option
- Currently, the following options are supported:
Supported runtime FTP options
+----------------+---------------------------------------------------+
| | |
|FTP_TIMEOUT_SEC | |
| | |
| | Returns the current timeout used for network |
| | related operations. |
| | |
| | |
| FTP_AUTOSEEK | |
| | |
| | Returns TRUE if this option is on, FALSE other- |
| | wise. |
| | |
+----------------+---------------------------------------------------+
RETURN VALUES
Returns the value on success or FALSE if the given $option is not supported. In the latter case, a warning message is also thrown.
EXAMPLES
Example #1
ftp_get_option(3) example
<?php
// Get the timeout of the given FTP stream
$timeout = ftp_get_option($conn_id, FTP_TIMEOUT_SEC);
?>
SEE ALSO
ftp_set_option(3).
PHP Documentation Group FTP_GET_OPTION(3)