06-29-2015
Since the problem occurred after relocation I'd be inclined to suspect the network. I'd write a script to ping the target, say, every 10 seconds (to avoid too much artificial network traffic) and leave it running in front of me. When the ftp 'hangs' is the ping still fast????
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
I am trying to connect to ftp through the following shell script
ip='172.12.40.45'
user='oracele'
pw='oracle@7Hills'
ftp -n -i -v $ip<<EOF
user $user $pw
EOF
But i am getting the following message
$ /home/oracle/practice/ftptst
Connected to 172.12.40.45.
220 (vsFTPd... (5 Replies)
Discussion started by: ravi raj kumar
5 Replies
2. Shell Programming and Scripting
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
3. Shell Programming and Scripting
Hi all,
I am trying to transfer files from one server to another. Following is script i wrote for this purpose. It downloads the file to the server which the script is residing and uploads it to the remote server.
Main Script
#!/bin/bash -x
... (2 Replies)
Discussion started by: Tuxidow
2 Replies
4. Shell Programming and Scripting
Hi,
I have a script in which I am using ftp to transfer some files from remote -> local and vice versa, this scripts is invoked by cron. for your reference I am sharing the function also :
=============================================
fn_FileTransfer_LocalToRemote()
{
set -x... (1 Reply)
Discussion started by: anshuman0507
1 Replies
5. IP Networking
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.... (4 Replies)
Discussion started by: luft
4 Replies
6. UNIX for Dummies Questions & Answers
Hi all,
iam trying to connect to a ftp site in putty by using the follwing command .
ftp URLname.
I get the below error
ftp: usftp.ABC.com: unknown host.
Iam able to connect to the same site through windows commandline.
Can anyone put your thoughts on what might be the issue?.
... (2 Replies)
Discussion started by: swathich
2 Replies
7. Shell Programming and Scripting
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
8. UNIX for Advanced & Expert Users
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
9. Shell Programming and Scripting
Hi Friends
I have created a shell script to connect to a windows server. But the problem is while trying to run the script I am not getting any output. After running the script it is hanged and the prompt is not showing until if I press the ctrl+Z to break the script. I also tried using the FTP... (2 Replies)
Discussion started by: Kannannair
2 Replies
10. Shell Programming and Scripting
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
LEARN ABOUT OSF1
niffconfig
niffconfig(8) System Manager's Manual niffconfig(8)
NAME
niffconfig - Configuration program for the Network Interface Failure Finder (NIFF)
SYNOPSIS
/usr/sbin/niffconfig [-a] [-m] [-r] [-s] [-u] [-v] [-d num] [-o num] [-t num] [interface1 interface2...]
OPTIONS
Adds an interface or interfaces, specified by the interface parameter. You cannot specify the -a option with the -m, -s, -r, or -u options.
Specifies the time period, in seconds, that the traffic monitor thread uses between reads of the interface counters when it suspects there
is a connectivity problem. This number must be smaller than the number given for the -t option. The default time period is 5 seconds. If
num is not specified, niffconfig uses the default. Specifies the total number of traffic-free seconds that must elapse before the traffic
monitor thread determines that a network interface has failed. This number must be at least the sum of the -d option and two times the -t
option. That is, given the default time period for -d and -t, the -o option must be at least 20 seconds. The default time period for this
option is 60 seconds. If num is not specified, niffconfig uses the default. Modifies the timing parameters of an interface that is already
being monitored. Typically, this option is specified along with one or more of -t num, -d num, or -o num options. If none of these parame-
ters are specified, the default value is used. You cannot specify the -m option with the -a, -s, -r, or -u options. Stops monitoring the
specified interface. Obtains the status of the specified interface. Specifies the time period, in seconds, that the traffic monitor
thread delays between reads of the interface counters when the network is running normally. The default time period is 20 seconds. If num
is not specified, niffconfig uses the default. Displays the status of all interfaces currently being monitored to standard out (stdout).
Displays the status, timer values, and description (verbose mode) of all interfaces currently being monitored to standard out (stdout).
DESCRIPTION
The niffconfig command arranges for one or more network interfaces to be monitored for possible loss of connectivity. Timing parameters
that govern how quickly an interface can be declared suspect or dead may be manipulated with this command. You can specify multiple inter-
faces, separated by a space, on the command line. Note, you must be superuser to use the niffconfig command.
Except for the -u and -u options, all niffconfig options require one or more network interfaces to be specified.
EXAMPLES
To add the tu0 and tu1 interfaces to the list of monitored interfaces, enter: # niffconfig -a tu0 tu1 To change the time it takes to
declare failure on the tu1 interface to 90 seconds, enter: # niffconfig -o 90 tu1 To display the status of all interfaces that are being
monitored: # niffconfig -u To stop monitoring the tu0 interface: # niffconfig -r tu0
SEE ALSO
Daemons: niffd(8)
Information: EVM(5), nifftmt(7)
niffconfig(8)