Sponsored Content
Full Discussion: Ftp gettting disconnected
Operating Systems Linux Red Hat Ftp gettting disconnected Post 302760473 by Tommyk on Thursday 24th of January 2013 05:11:28 AM
Old 01-24-2013
Ftp gettting disconnected

All,

Trying to ftp to a remote ftp server.

See following output:

Code:
ftp -dv xx.xx.xx.xx
Connected to xx.xx.xx.xx (xx.xx.xx.xx).
220 Microsoft FTP Service
Name (xx.xx.xx.xx:username): ftpuser
---> USER ftpuser
331 Password required for ftpuser.
Password:
---> PASS XXXX
230 User logged in.
---> SYST
215 Windows_NT
Remote system type is Windows_NT.
ftp> passive
Passive mode off.
ftp> ls
---> PORT xx,xx,xx,xx,xx,xx
200 PORT command successful.
---> LIST
125 Data connection already open; Transfer starting.
02-20-12  09:55AM       <DIR>          113129
08-28-12  10:03AM       <DIR>          115058
09-10-12  12:53PM       <DIR>          115143
09-13-12  02:43PM       <DIR>          115265
09-24-12  06:51PM       <DIR>          115334

226 Transfer complete.
ftp> ls
---> PORT xx,xx,xx,xx,xx,xx
421 Service not available, remote server has closed connection

This is from RHEL5.8 using ftp 0.17-37.el5

Every connection is successful, there is a timeout set but does not seem to be affecting this. As soon as we connect we run an ls command which is successful and less than a second later you run the ls command again and getting the message that you have been disconnected from the server.

This happens after any/every data transfer whether it is ls/dir/put/get, you only get a single data transfer and then you are disconnected.

Using HP-UX previously there was no issue, there has been no change to the ftp server, windows desktops can connect and do not get disconnected, i am also getting the same issue with OEL5.5 servers.

This is not a network/firewall issue as all the network settings are the same for every client we use. It is not an issue with active or passive mode as both modes show the exact same symptoms. However testing ftp from the linux client we can connect to every other ftp site without issue both within and external to the firewall and do not get the same error.

Can anyone suggest why this may be happening? Could it be due to the version of ftp we are using?
 

10 More Discussions You Might Find Interesting

1. Cybersecurity

Gettting multiple logwatch mails

Hi Guys... I have a problem of getting multiple LogWatch mails from my box. I have a cron setup to send me (and some other users) Logwatch report mail form our server. I end up getting multiple mails from all the boxes (other users have not complained of this). I cannot figure out why. I... (0 Replies)
Discussion started by: skotapal
0 Replies

2. UNIX for Dummies Questions & Answers

gettting disk info from console

Hi all, can someone tell me the easiest was to get disk info from a console. I manage headless servers, and would like to collect the specs on hard drives installed without looking it up through Sun. The boot messages only tell me the size/name e.g. 'Sun36G' I want to know the rotation... (1 Reply)
Discussion started by: mintzy
1 Replies

3. UNIX for Dummies Questions & Answers

Gettting unix.

Where should I go(the site) to get unix? Please tell me! (1 Reply)
Discussion started by: Katan
1 Replies

4. Programming

Gettting statistics/profile of c program in linux

HI, In unix we can get profile on a c program like this :: cc -g -p -o cpp_sw_gsmconverter_shailesh5 cpp_sw_gsmconverter_shailesh5.c prof cpp_sw_gsmconverter_shailesh5 In the same manner how can I collect statistics in linux using gcc command. Thanks in advance. (1 Reply)
Discussion started by: chprvkmr
1 Replies

5. Solaris

Monitor displays Cable disconnected

Hi all This is my first post in this forums. I hope some one can help me with this my Sun Ultra 60 worked fine couple of months back when i used a dell (1280x1024). i move to a MN last month n bought a new sony monitor with (1280x1024) but when i connect it to the box it monitor displays... (1 Reply)
Discussion started by: venuavula
1 Replies

6. HP-UX

[HP-UX] Established ports although LAN is disconnected.

Hi, I have a few questions. There is a CORBA connection between 2 HP-UX 11.11i hosts. Then the LAN of the 2nd host is pulled. On the 1st host all connections disappear, as expected. But on the 2nd host all connections still are present, as established. With lsof one can see that the... (2 Replies)
Discussion started by: ejdv
2 Replies

7. Shell Programming and Scripting

Not gettting target output using this

i=1 out="_" while do j=0 IN="" while do IN="|"$IN j=`expr $j + 1` done print -n $IN$out i=`expr $i + 1` done Actual O/P: |_||_|||_||||_|||||_Expected O/P: |_ | |_ | | |_ | | | |_ (3 Replies)
Discussion started by: targetshell
3 Replies

8. Solaris

Gnome shows defaultfixed as disconnected

Hello, I have enabled defaultfixed and added the net0 per the solaris 11 documentation. I'm able to ping outside like google and internally but I'm just not sure why the gnome network utility shows wired(net0) as disconnected. Any ideas? Thank you ---------- Post updated 04-08-15 at 08:47 AM... (0 Replies)
Discussion started by: solaris128
0 Replies

9. Shell Programming and Scripting

Gettting error while executing script

getting error as below while executing script in linux. OS version: Linux VGP-3GPSDB-LX 3.10.0-514.el7.x86_64 #1 SMP Wed Oct 19 11:24:13 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux ./imxtract.sh: line 395: unexpected EOF while looking for matching ``' ./imxtract.sh: line 402: syntax error:... (1 Reply)
Discussion started by: Riverstone
1 Replies

10. UNIX for Beginners Questions & Answers

Ssh gets disconnected after idle.

My SSH to server got frozen after idle for a couple of hours. My related configuration are: In my /etc/ssh/sshd_config: ------------------------------------------ ClientAliveInterval 30 ClientAliveCountMax 4 TCPKeepAlive yes ------------------------------------------ and my ~/.ssh/config:... (6 Replies)
Discussion started by: yifangt
6 Replies
ftp::geturl(n)							    ftp client							    ftp::geturl(n)

__________________________________________________________________________________________________________________________________________________

NAME
ftp::geturl - Uri handler for ftp urls SYNOPSIS
package require Tcl 8.2 package require ftp::geturl ?0.2.1? ::ftp::geturl url _________________________________________________________________ DESCRIPTION
This package provides a command which wraps around the client side of the ftp protocol provided by package ftp to allow the retrieval of urls using the ftp schema. API
::ftp::geturl url This command can be used by the generic command ::uri::geturl (See package uri) to retrieve the contents of ftp urls. Internally it uses the commands of the package ftp to fulfill the request. The contents of a ftp url are defined as follows: file The contents of the specified file itself. directory A listing of the contents of the directory in key value notation where the file name is the key and its attributes the asso- ciated value. link The attributes of the link, including the path it refers to. BUGS, IDEAS, FEEDBACK This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category ftp of the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have for either package and/or documentation. SEE ALSO
ftpd, mime, pop3, smtp KEYWORDS
ftp, internet, net, rfc 959 ftp 0.2.1 ftp::geturl(n)
All times are GMT -4. The time now is 10:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy