02-13-2008
error in ftp
Hi,
I am having a file in an ftp server.When i ftp it to my aix machine( either by in binary or ascii ) i am get the follwoing content.
≡±╓┘┴╙@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@Γ@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@≡≥╔╒╤┼├π╔╓╒@@@@@@@@@ @@@@@@@@@@@@@@@
@@@@@@@Γ@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@≡≤┘┼├π┴╙@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@Γ@@@@@@@@@@@@ @@@@@@@@@@@@@@@
@@@@@@@@@@≡⌠╘Σ├╓ΣΓ@╘┼╘┬┘┴╒┼@@@@@@@@@@@@@@@@@@@@@@@@@Γ@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@≡⌡π╓╫╔├┴╙@ @@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@╒@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@≡÷╓╫╚π╚┴╙╘╔├@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@╒@@ @@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@≡≈╒┴Γ┴╙@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@Γ@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ ≡°╓π╔├@@@@@@@@@
Please advice .
regards,
sam
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
All,
I am getting the following error while I am trying to ftp a file. I am able to log into the destination server. But, when I try to put the file, I get the following error: 426 Connection closed; transfer aborted.
Any ideas are appreciated.
ThankYou,
Radhika. (1 Reply)
Discussion started by: radhika
1 Replies
2. UNIX for Dummies Questions & Answers
Ok, currently we ftp a file from our Unix server to windows and then to a secureftp.'something'.com site. I am trying to bypass the windows server piece. But when I try to ftp directly from Unix to secure.'something'.com site, I see this error:
220 Check Point FireWall-1 Secure FTP server running... (7 Replies)
Discussion started by: NycUnxer
7 Replies
3. Shell Programming and Scripting
This used to work , but know I am getting errors:
331 Enter password
230 User logged in
250 Command CWD succeed
200 Transfer mode set to BINARY
local: arc-090715.tar.gz remote: arc-090715.tar.gz
local: arc-090715.tar.gz: No such file or directory
Any idea what is wrong? Thank you in... (2 Replies)
Discussion started by: Lenora2009
2 Replies
4. Shell Programming and Scripting
Hi
I have like this
----------------------------------
echo "Enter ip "
read ans_ip
echo "Enter environment"
read ans_env
echo "Enter Datacenter "
read ans_dc
loop()
{
ftp -v -n hostname << EOF
user user pwd
bin
prompt (4 Replies)
Discussion started by: coolkid
4 Replies
5. Shell Programming and Scripting
While log in to ftp server with valid username & password I receive the following error. Please advice.
ftp: Login failed.
ftp: bind: Address already in use
cat .netric
machine hostnameofmachine login username password passwordstring
.netric file set to chmod 0600 $HOME/.netrc (1 Reply)
Discussion started by: zooby
1 Replies
6. Shell Programming and Scripting
Hi All,
I have a problem when uploading txt file from windows to Unix server.
I got 533 I/O error. I am using .bat file and it works for other batches but with this particular batch it doesn't work.
thanks guys for helping in advance. (2 Replies)
Discussion started by: sfaqih
2 Replies
7. AIX
While doing ftp I am getting below error. Plz help how to resolve this?
OOPS: close
OOPS: child died
No control connection for command: Error 0
No control connection for command: Error 0
No control connection for command: Error 0
No control connection for command: Error 0
No control... (2 Replies)
Discussion started by: suresh3566
2 Replies
8. Shell Programming and Scripting
i try to put files to ftp server.
but i got "550 Command STOR failed" error.
can u help me about this error?
my codes:
-bash-3.00$ ftp xxx.com
Connected to xxx.com
220 xxx.com X2 WS_FTP Server 7.5(39687500)
Name (xxx.com:oracle): user
331 Enter password
Password:
230 User logged in... (2 Replies)
Discussion started by: imtheone
2 Replies
9. IP Networking
Hi,
While doing FTP am getting an error like
Connected to xxxx (xxxx).
220 (vsFTPd 2.0.5)
Name (xxxx:nn): yy
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> dir */*/*/*.zip
227 Entering Passive... (6 Replies)
Discussion started by: weknowd
6 Replies
10. Shell Programming and Scripting
Hi All,
Please hav a look at the below peice of script and let me know if there are any syntax errors.
i found that the below peice of Script is causing issue. when i use SFTP its working fine, but there is a demand to use FTP only. please find below code and explain if anything is wrong... (1 Reply)
Discussion started by: mahi_mayu069
1 Replies
netrc(4) File Formats netrc(4)
NAME
netrc - file for ftp remote login data
DESCRIPTION
The .netrc file contains data for logging in to a remote host over the network for file transfers by ftp(1). This file resides in the
user's home directory on the machine initiating the file transfer. Its permissions should be set to disallow read access by group and oth-
ers (see chmod(1)).
The following tokens are recognized; they may be separated by SPACE, TAB, or NEWLINE characters:
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 EOF is reached or another machine token is encountered.
default 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. The default token is normally used as follows:
default login anonymous password user@site
Such an entry gives the user automatic anonymous ftp login to machines not specified in .netrc.
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: if this token is present in the .netrc file, 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 supplies the specified string if
the remote server requires an additional account password. If the remote server does not require an additional account
password, the auto-login process will initiate an ACCT command.
macdef name Define a macro. This token functions the same as ftp macdef. A macro is defined with the specified name; its contents
begin with the next .netrc line and continue until a null line (consecutive NEWLINE characters) is encountered. If a macro
named init is defined, it is automatically executed as the last step in the auto-login process.
EXAMPLES
Example 1: A Sample .netrc File
A .netrc file containing the following line:
machine ray login demo password mypassword
allows an autologin to the machine ray using the login name demo with password mypassword.
FILES
~/.netrc
SEE ALSO
chmod(1), ftp(1), in.ftpd(1M)
SunOS 5.10 3 Jul 1990 netrc(4)