Sponsored Content
Top Forums Shell Programming and Scripting Shell Scripting for creating ftp and transfer file Post 302843051 by Preeti Saini on Monday 12th of August 2013 06:50:50 AM
Old 08-12-2013
Hi,
Server is not windows server. It is a Backup system VMAX (EMC).

Also from command line I login throug uninet/cacti.ftp instead of cacti.ftp

---------- Post updated at 05:50 AM ---------- Previous update was at 12:49 AM ----------

Code:
Login incorrect.
Login failed.
Passive mode off.
Please login with USER and PASS.
ftp: bind: Address already in use

Now, I am getting this error

Last edited by Scott; 08-12-2013 at 09:26 AM.. Reason: Code tags
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

FTP fail during file transfer

Please help me out. it is very urgent. when transfering the files from one server to other server if it is failed how to trace the status. i am using two commands: cd $SOURCE_FILE_PATH ftp -niv $SRVR_NAME >> $LOG_PATH/$LOG_FILE << END_FTP user $USER_ID $PASSWORD bin cd $REMOTE_FILE_PATH ! ... (0 Replies)
Discussion started by: ramana
0 Replies

2. HP-UX

Error FTP transfer file

Hi all Pls help me this problem in FTP transfer file. I found in var/adm/syslog/syslog.log have some error when transfer file via FTP as below : Jan 10 12:35:32 ABC ftpd: FTP LOGIN FROM ABCA (Sucessfully Open session ) Jan 10 12:40:48 ABC ftpd: FTP LOGIN FROM ABCA (Sucessfully Open session... (3 Replies)
Discussion started by: cuongpc
3 Replies

3. Shell Programming and Scripting

file transfer using Ftp

Hi All, I am very new to shell scripting,I have some doubts how we can do a file transfer using ftp I wanted to transfer files using non_secure ftp and secure ftp(sftp) mode, for secure ftp i am using following code verbose="verbose" ftp="/usr/bin/ftp" user="ABC" pass="123"... (1 Reply)
Discussion started by: sudhi
1 Replies

4. Shell Programming and Scripting

File Transfer through FTP

Hi Guys, I wanted to transfer files from FTP machine to Linux Machine. In this, I need to create a batch file that will connect to the Linux Machine and Transfer the files specified as the parameter to the files. Ex : transferfiles Product Time Geography Here transferfiles shld contain... (4 Replies)
Discussion started by: Swapna173
4 Replies

5. Shell Programming and Scripting

FTP (File Transfer)

I am going to transfer file from UNIX directory to remote windows location and i wrote the script but i am getting the error as 'FTP: not found' or i am getting this error 'The file path is not found'. Please help me to resolve this problem as early as possible.(urgent). my script is, ... (6 Replies)
Discussion started by: praka
6 Replies

6. Shell Programming and Scripting

FTP run from shell script gives slow transfer rates

Hey everybody, this is my first post so be gentle. I have two Sun 5220's running Solaris 10 that are directly connected with a cross-over cable at Gig. One of these boxes is my production Oracle server which generates a 50GB dump file every evening at 10:50. The other Solaris is a devolopment... (8 Replies)
Discussion started by: Countificus
8 Replies

7. Windows & DOS: Issues & Discussions

FTP: Can not listing and can not transfer file

Hi All, My PC with Windows XP SP2 has some problem with ftp service. FTP Server is : Windows Server 2003 Standard R2 The condition is I can log in and also can change ftp server directory, But I can not listing the file and can not get or put any file. It will hang and nothing happen until... (4 Replies)
Discussion started by: wilsonSurya
4 Replies

8. AIX

FTP huge file transfer

Hi, I need to transfer 2000 files from one host to another.. I modified /etc/security/limits to -1 and ulimit -f, ulimit -s, ulimit -a.. Even then only 700 files are transferred. Could You please help me to sort out this issue.. I think some configuration related to memory is... (3 Replies)
Discussion started by: Priya Amaresh
3 Replies

9. Shell Programming and Scripting

Shell scripting to transfer files from one to another server through ftps

Hi Guyz ,, I'm an ERP functional guy , I really need to automate a script which required a shell script but have a little knowledge in shell scripting. I need my generated files to be zipped first in one directory lets say (xyz) and then it needs to transfer another ftp server in... (3 Replies)
Discussion started by: Shogundion
3 Replies

10. Shell Programming and Scripting

FTP a file using Shell Scripting (Help needed)

the requirements is to have a linux script which connects to a windows machine using ftp command and check for a flag file if found copy a .csv file into current machine. (3 Replies)
Discussion started by: tradingspecial
3 Replies
NETRC(5)                                                      BSD File Formats Manual                                                     NETRC(5)

NAME
netrc -- user configuration for ftp SYNOPSIS
~/.netrc DESCRIPTION
This file contains configuration and autologin information for the File Transfer Protocol client ftp(1). The .netrc file contains login and initialization information used by the auto-login process. It resides in the user's home directory. The following tokens are recognized; they may be separated by spaces, tabs, or new-lines: machine name Identify a remote machine name. The auto-login process searches the .netrc file for a machine token that matches the remote machine specified on the ftp command line or as an open command argument. Once a match is made, the subsequent .netrc tokens are processed, stopping when the end of file is reached or another machine or a default token is encountered. default This is the same as machine name except that default matches any name. There can be only one default token, and it must be after all machine tokens. This is normally used as: default login anonymous password user@site thereby giving the user automatic anonymous ftp login to machines not specified in .netrc. This can be overridden by using the -n flag to disable auto-login. login name Identify a user on the remote machine. If this token is present, the auto-login process will initiate a login using the specified name. password string Supply a password. If this token is present, the auto-login process will supply the specified string if the remote server requires a password as part of the login process. Note that if this token is present in the .netrc file for any user other than anonymous, ftp will abort the auto-login process if the .netrc is readable by anyone besides the user. account string Supply an additional account password. If this token is present, the auto-login process will supply the specified string if the remote server requires an additional account password, or the auto-login process will initiate an ACCT command if it does not. macdef name Define a macro. This token functions like the ftp macdef command functions. A macro is defined with the specified name; its con- tents begin with the next .netrc line and continue until a null line (consecutive new-line characters) is encountered. If a macro named init is defined, it is automatically executed as the last step in the auto-login process. SEE ALSO
ftp(1), ftpd(8) Linux NetKit (0.17) September 23, 1997 Linux NetKit (0.17)
All times are GMT -4. The time now is 11:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy