Sponsored Content
Full Discussion: FTP issue
Special Forums IP Networking FTP issue Post 302417815 by luft on Friday 30th of April 2010 10:09:16 PM
Old 04-30-2010
FTP issue

Hello all,

FTP times out when I transfer large files. Small files get transffered fine.

small files
--------

-bash-3.1$ ftp -i cldevoradb01
Connected to cldevoradb01.enterprisenet.org.
220 (vsFTPd 2.0.5)
530 Please login with USER and PASS.
530 Please login with USER and PASS.
KERBEROS_V4 rejected as an authentication type
Name (cldevoradb01Smilieracle): oracle
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> cd /d1/oradata/INTPL
250 Directory successfully changed.

ftp> mget *.DMP
local: BIZFACTS200909.DMP remote: BIZFACTS200909.DMP
227 Entering Passive Mode (10,9,10,38,130,128)
150 Opening BINARY mode data connection for BIZFACTS200909.DMP (675840 bytes).
226 File send OK.
675840 bytes received in 0.73 seconds (9e+02 Kbytes/s)
local: CP200909.DMP remote: CP200909.DMP
227 Entering Passive Mode (10,9,10,38,166,74)
150 Opening BINARY mode data connection for CP200909.DMP (196608 bytes).
226 File send OK.
196608 bytes received in 0.43 seconds (4.4e+02 Kbytes/s)
local: SUPP200900.DMP remote: SUPP200900.DMP
227 Entering Passive Mode (10,9,10,38,29,225)
150 Opening BINARY mode data connection for SUPP200900.DMP (6082560 bytes).
226 File send OK.
6082560 bytes received in 3.1 seconds (1.9e+03 Kbytes/s)

large files - time out
--------------------

ftp> mget B*.DBF
local: BANKBR200912.DBF remote: BANKBR200912.DBF
227 Entering Passive Mode (10,9,10,38,71,106)
421 Timeout.
local: BIZFACTS200912.DBF remote: BIZFACTS200912.DBF
No control connection for command: No such file or directory
Passive mode refused. Turning off passive mode.
No control connection for command: No such file or directory
local: BLOCK200900.DBF remote: BLOCK200900.DBF
No control connection for command: No such file or directory
ftp> bye
-bash-3.1$


Both source & target hosts are RHEL5 64 Bit...

Am I missing something here? Should I configure FTP to increase the time out? I'm new to system administration. Any pointers would be helpful.

Thanks for your time.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

FTP Issue, Help please

folks; when i manually run this script below, it works fine, but when i run it using a scheduler like "autosys" it doesn't work & i get this error: ftp: connect: A remote host refused an attempted connect operation The script: ftp -n XXX.XXX.XXX.XXX <<- eof User Pswd cd xxx/xxxx/xxx... (0 Replies)
Discussion started by: moe2266
0 Replies

2. Shell Programming and Scripting

FTP issue

I have tried to ftp from unix to local window machine. I have taken this piece of code from forum and tried ... #!/bin/ksh #Usage example: ftpscript sanjit.txt C:/citi/readme.txt localFile=$1 remoteFile=$2 ftplog=loglog.log echo "$(date "+%H:%M:%S") - Attempt to FTP $1 to $2" > $ftplog #... (1 Reply)
Discussion started by: u263066
1 Replies

3. Shell Programming and Scripting

ftp issue

I was changing a bit of the existing script and didnt comment the ftp part in it. So, the ftp step executed, but there was no input file. I got the message like this netout: write returned 0? 250 Transfer completed successfully. What does this mean?. Has the ftp replaced the existing... (1 Reply)
Discussion started by: dnat
1 Replies

4. Shell Programming and Scripting

ftp issue

Hi again, I'm using the following shell script via cron to upload the daily log files from my shell to the web server so we can view them online. But somehow logs get corrupted and i don't know what's issue. I would really appreciate for your help please. Shell Script: ftp.sh #!/bin/sh... (3 Replies)
Discussion started by: user`
3 Replies

5. Red Hat

FTP issue

Hi, I have installed RHEL 5 on Vmware. I have configured a simple FTP. I am able to transfer and receive files from the vmware-RHEL to my desktop on which vmware is installed and vice-versa. But when i try from other machine in the network it fails. (2 Replies)
Discussion started by: chetansingh23
2 Replies

6. UNIX for Advanced & Expert Users

Ftp issue

Hi we are facing an issue on our server our job connects to a target server and pulls the file from a location .But it is taking too much time to do this . Hwne i manully do the ftp it finished in few seconds .but when the jobs is pulling it is taking 30 to 40 min . please see the log... (1 Reply)
Discussion started by: ptappeta
1 Replies

7. Red Hat

FTP issue

Hi everybody, I would like to findout a directory or a file which is located at ftp server by connecting with ftp <ip> by using any other linux utility. I tried with find and locate commands in this manner but didnt work. Please help me. Regards, Mastan (1 Reply)
Discussion started by: mastansaheb
1 Replies

8. IP Networking

Issue with FTP?

HI Guys, Issue:: While doing bye command on ftp, it just hings as below untill you try Ctrl+C 891 bytes received in 0.0017 seconds (526.16 Kbytes/s) ftp> bye 221-You have transferred 0 bytes in 0 files. I too have tried with other commands like, close, disconnect etc but no luck. ... (1 Reply)
Discussion started by: Atp3530
1 Replies

9. Shell Programming and Scripting

Ftp issue

I have logged into ftp and unable to enter into the below directory. can anyone help me out to enter into the below directory. ftp> dir 200 Command PORT okay. 150 File status okay; about to open data connection. drwx------ 0 0 Dec 15 06:39 BANK ISI-Bas ftp> cd BANK... (5 Replies)
Discussion started by: ramkumar15
5 Replies

10. Shell Programming and Scripting

Ftp issue

In the automated process. due to space in between banking and critical, the below command is not working in the automated process. Can anyone help it out. If I am putting cd banking critical-Bas" and file get ftp'ed. but not through the below line ftp -m "ftp.com" -d "banking critical-Bas" (4 Replies)
Discussion started by: ramkumar15
4 Replies
ftpconfig(1M)						  System Administration Commands					     ftpconfig(1M)

NAME
ftpconfig - set up anonymous FTP SYNOPSIS
ftpconfig [ftpdir] ftpconfig -d ftpdir DESCRIPTION
The ftpconfig script is executed by the super user to set up anonymous FTP. Anonymous FTP allows users to remotely log on to the FTP server by specifying the user name ftp or anonymous and the user's email address as password. The anonymous users are logged on to the FTP Server and given access to a restricted file area with its own file system root. See chroot(2). The FTP area has its own minimal system files. This command will copy and set up all the components needed to operate an anonymous FTP server, including creating the ftp user account, creating device nodes, copying /usr/lib files, and copying timezone data. The passwd and group files set up have been stripped down to prevent malicious users from finding login names on the server. The anonymous file area will be placed under ftpdir. If the ftp user account already exists, then the current FTP area is used, and the system files in it are updated. All other files are left untouched. This command should be run to update the anonymous FTP area's configuration whenever a system patch is installed, or the system is upgraded. OPTIONS
-d Create a new or update an existing ftpdir without creating or updating the ftp user account. Use this option when creating guest FTP user accounts. OPERANDS
The following operands are supported: ftpdir The absolute pathname of the directory under which the anonymous FTP area is set up. EXIT STATUS
The following exit values are returned: 0 Successful completion 1 Improper usage of the command 2 Command failed ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWftpu | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
ftpaddhost(1M), in.ftpd(1M), useradd(1M), chroot(2), attributes(5) SunOS 5.10 1 May 2003 ftpconfig(1M)
All times are GMT -4. The time now is 07:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy