FTP Connection


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers FTP Connection
# 1  
Old 06-19-2008
FTP Connection

Hi,

Anyone encounter whereby when you FTP from an Unix server (Solaris 8) to another server (Window Server 2003), you tend to wait a long while when you do a "ls" and you get a timeout after that. However, when you FTP again and do a "ls", the result of "ls" shown immediately. All connection are running on 100FD. Pls kindly advice if you encounter such problem as mine :P
# 2  
Old 06-19-2008
Could be some problem with DNS resolution or entries in the /etc/hosts. Had something like this when there were 2 entries for one server in DNS but one entry was simply pointing to a wrong IP-Address. So sometimes it worked, sometimes not.
Maybe check that and have a look into netstat -i on your adapters if there are any errors counting up.
And try the ftp from another box to the Win 2003 box to check if they have the same problem.
# 3  
Old 06-19-2008
There's no collision or error on netstat -i

No repeated entries on the /etc/hosts too.

Other Solaris server can ftp to the window server without any problem. However only servers in x.x.49 subnet encounter such problem. The switch has also hardcode 100FDX. Not sure where is the problem lies.
# 4  
Old 06-19-2008
what mode are u using in ftp? active or passive?

try passive mode , you wont get any error that you have mentioned.
# 5  
Old 06-20-2008
Quote:
Originally Posted by benitdhotekar
what mode are u using in ftp? active or passive?

try passive mode , you wont get any error that you have mentioned.
Hi,

How do i check if i am running passive or active mode for FTP?
# 6  
Old 06-20-2008
Quote:
How do i check if i am running passive or active mode for FTP?
Use the ftp command "status".
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

FTP connection refused

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

2. Debian

ftp connection refused

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

3. Solaris

Passwordless FTP connection

Hello, Can someone help me in getting a passwordless FTP conncetion ? It works if I do it as myself, but I need to be user1 when I do it, not myself. When I do it as user1, it asks for user1 password, which we don't have. All in all, ftp myserver.com works on all other servers when I'm... (5 Replies)
Discussion started by: aksijain
5 Replies

4. Shell Programming and Scripting

FTP Connection die out

Hi, I will ftp aroung 80 files after connecting to an FTP Server. But after 2 minutes of connection, it is timed out and connection is dying. Server had a 2 minute connection timeout if connection is idle. But my question, Isn't tranfering files not considered as an activity. Is the connection... (7 Replies)
Discussion started by: vasuarjula
7 Replies

5. Solaris

Solaris 10 ftp connection problem (connection refused, connection timed out)

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

6. Shell Programming and Scripting

FTP connection problem

I am getting the error in this command when i am pitting it in shell script ftp -nvi jcmpcor1.abc.com >/work/test98.dat << EOD error:- invalid command. but when i am writting it from outside it work fine. (7 Replies)
Discussion started by: ravi214u
7 Replies

7. UNIX for Dummies Questions & Answers

ftp - Connection close

Hi Can someone help me what is the problem, when i try to login via ftp, though i entered the correct password, i got an error message Connection refused. please help. thanks (3 Replies)
Discussion started by: kaibiganmi
3 Replies

8. SCO

ftp connection

I have problem with ftp connection on SCO UNIX 5.0.7, it is work slowly. How I can make accelerate. (6 Replies)
Discussion started by: draganmi
6 Replies

9. Cybersecurity

FTP Connection

I just started a new job and inherited a Fedora core 3 server. I wanted to open the ftp ports and I wanted to verify this code before I mess things up. From my reading the two lines below should allow ftp access can anyone confirm my attempt. iptables -A INPUT -p tcp - sport 21 -m state - state... (0 Replies)
Discussion started by: mungaz
0 Replies

10. IP Networking

FTP connection problem

We have moved our DNS and DHCP to Windows 2000 from BIND. Our FTP Server is running Solaris 2.6, users who receive an i.p. address from win2k DHCP receives a connection failed error when trying to FTP and users who have static i.p. address can FTP with no problems. Can anyone shed light as to... (11 Replies)
Discussion started by: cassy
11 Replies
Login or Register to Ask a Question