unix ftp error msg help

Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users unix ftp error msg help
# 1  
Old 10-30-2002
unix ftp error msg help

we have two alpha stations which are connected on two sides on the same wan (64k leased line), here is one problem described as follow.

when i do a ftp to copy a file form one to another, an error mesg shown and the file lenth is 0 at last.

diamond> ftp
Connected to
220 opal FTP server (Digital UNIX Version 5.60) ready.
Name ( XXXX
331 Password required for XXXX
230 User fmxiao logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> put smdb-AAAaavoqa
200 PORT command successful.
150 Opening BINARY mode data connection for smdb-AAAaavoqa (,2026).
426 Data connection: Connection reset by peer.
10027 bytes sent in 0.034 seconds (2.9e+02 Kbytes/s)

ftp> ls -al
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls (,2029).
total 32
drwxr-x--x 3 roy staff 8192 Oct 30 09:26 .
drwxr-xr-x 11 root staff 8192 Aug 1 2001 ..
-rw------- 1 roy staff 4 Feb 12 2002 .Xauthority
-rwxr-xr-x 1 roy staff 1500 Jun 19 2001 .cshrc
-rwxr-xr-x 1 roy staff 1689 Jun 19 2001 .login
-rwxr-xr-x 1 roy staff 1621 Jun 19 2001 .profile
-rw------- 1 roy staff 65 Feb 12 2002 .xsession-errors
-rw-r--r-- 1 roy staff 0 Oct 28 15:50 1.txt
-rw-r--r-- 1 roy staff 0 Oct 28 15:43 NIST-SRV.LST
drwxr-xr-x 2 roy staff 8192 Dec 30 1997 bin
-rw-r--r-- 1 roy staff 0 Oct 31 09:39 smdb-AAAaavoqa
226 Transfer complete.

Who can help me...........

thx a lot
# 2  
Old 10-31-2002
I would try a traceroute to the remote host and see if a firewall is between your system and the remote system. If so, you need to talk to firewall admin about this. Some ftp clients support passive mode transfers. Recent version of HP-UX have such a client. You simply type the "passive" command before the "get". (Solaris does not have this feature. I'm not sure about other systems.) Passive transfers are much more firewall friendly. If you have the ability to try a passive transfer, do so. As a last resort, you will need to use a sniffer at various points in the path to see who is sending that reset packet.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Error msg

When i run errpt -a, the output was below: --------------------------------------------------------------------------- LABEL: DMPCHK_NOSPACE IDENTIFIER: F89FB899 Date/Time: Tue Jan 17 15:00:02 BEIS Sequence Number: 28998 Machine Id: 0058C0CE4C00 Node Id: ... (2 Replies)
Discussion started by: Ivanku
2 Replies

2. Solaris

Where/What/Howto solve warning/error msg about Kernel patch level?

required Solaris 5.10 Kernel patch 137111-03 required Solaris 5.10 Fibre Channel Device Driver patch 125184-08 I want to know about the descriptions and what the patches will do. I searched www.sun.com (patches/updates) but don't see I am looking for. (1 Reply)
Discussion started by: Y4Net
1 Replies

3. Shell Programming and Scripting

How to display an error msg?

Hi friends, Please suggest a solution for this. A script has following things. echo "Enter P for PML" echo "Enter V for VVL" echo "Enter L for LNL" echo "Enter G for GDL" read choice echo ${choice} >> LOG_Daily.txt if operator enters anything other that P/V/L/G it should show an... (8 Replies)
Discussion started by: anushree.a
8 Replies

4. UNIX for Dummies Questions & Answers

connecting to a database through a script...if not give an error msg

Hello , i have a problem in writing the shell script.. i have a script already written n just need to make a change in which when the script is not able to connect to the database ..it should print an error msg on the screen. I have already seen previous posts on how to connect to the... (3 Replies)
Discussion started by: sommer_queen
3 Replies

5. HP-UX

Sending msg From Unix Server to an E-mail Address

Dear Brothers in Unix I would like to change some HP-UX settings in order that the system send a message to root it should be copied to my e-mail address in Microsoft Exchange Server. Please can you help me. Best Regards and thanks in advance Gege (2 Replies)
Discussion started by: cgege
2 Replies

6. Shell Programming and Scripting

Re-direct the error msg to log file

Hi All, I have an expression as follows:- a=`expr ${i} + ${j}` >> $log_file 2>&1 Here, if any of the values i or j or both happens to be empty then the "expr" returns error as "expr: 0402-050 Syntax error." My problem is I am not able to re-direct this error to the log file. Its is getting... (4 Replies)
Discussion started by: rony_daniel
4 Replies

7. Shell Programming and Scripting

Need to capture ERROR msg and stack trace

Hi all, I was hoping someone can point me in the right direction. I'm trying to filter out errors from a web log- any lines with ERROR in it. I know I could simply use the grep command to do this. However, there are times when a stack trace follows the error line. I would like to capture these... (2 Replies)
Discussion started by: gswhoops
2 Replies

8. Linux

Pop error msg

mit@mydomain.com here is the latest error message: There was a problem logging onto your mail server. Your Password was rejected. Account: 'mit@mydomain.com', Server: 'mail.mit.com', Protocol: POP3, Server Response: '-ERR Logon failure: unknown user name or bad password.', Port: 110,... (2 Replies)
Discussion started by: naik_mit
2 Replies

9. HP-UX

Sending Error msg from HP-UX to E-mail address

Sometimes, for any reason, the UX System sends messages to /var/mail/root and/or to Error Log of the guardian. I'll appreciating if you help me to configure so that those messages are also sent to the System Administrator's e-mail address. Regards Gege (1 Reply)
Discussion started by: cgege
1 Replies

10. UNIX for Dummies Questions & Answers

Error msg displayed in SCO server

hi all The following error msg was displayed in the sco server 5.0.5. can anybody explain what it is? "WATCHDOG REINITMEMORY 6 FOR BOARD" replies appreciated. raguram R (3 Replies)
Discussion started by: raguramtgr
3 Replies
Login or Register to Ask a Question