07-25-2012
I agree with you Ranga...that CP command can be used...
But am executing my script( having scp command) through a program (ABAP code), also same script is used for transferring file to other server.
Also one thing when i manually execute SCP command, am able to transfer file within the server....
Before SCP, we were using RCP command which was working fine...i.e
transferring within server and transferring to other server successfully
Hence thought SCP should work in same fashion
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need to transfer multiple files using SCP between two solaris machines. Can somebody explain how to achieve that ? (3 Replies)
Discussion started by: parthum
3 Replies
2. UNIX for Advanced & Expert Users
Hi,
How do i know if the files are transferred succesfully when i use SCP to transfer files between 2 servers.
One more is i am trying to send all the files in a single shot by using * to save the connection time. So can i know when the scp breakes in the middle
scp $sourcepath/*... (9 Replies)
Discussion started by: vijaykrc
9 Replies
3. Shell Programming and Scripting
Hi Frdz
I have a problem like.
I need to transfer a file from source to destination (different systems with different IPs) using "scp" command and before transfer the file i have to check the file is available in destination or not, if it is there no need to transfer, otherwise we have to... (5 Replies)
Discussion started by: KiranKumarKarre
5 Replies
4. UNIX for Dummies Questions & Answers
I have a shell script which uses SCP command to transfer the files from one server to another server. The files are getting transferred successfully, but the problem is the files transferred to the destination server didnot have the permissions as that of the files on the source server.
Command... (5 Replies)
Discussion started by: kumarm
5 Replies
5. Shell Programming and Scripting
FILE_LIST="{a.txt,b.txt,cal*}"
scp -r $..$REMOTE_PATH$FILE_LIST $LOCAL_PATH
This script passes only when all the three files are transfere, wat if only two file are transfered, but still I was to make the return code as pass.
is it possible. (2 Replies)
Discussion started by: sangea
2 Replies
6. UNIX for Advanced & Expert Users
I am not able to throw a file from server173 to server067
i.e.
wlsuser@server173> scp /tmp/harsha.txt wlsuser@server067:/tmp
fails
However, I am able to pull a file from server173 onto server067's /tmp dir
wlsuser@server067> scp wlsuser@server173:/tmp/harsha.txt /tmp... (2 Replies)
Discussion started by: shifahim
2 Replies
7. UNIX for Advanced & Expert Users
Whenever I transfer file through SCP between two server it gives below given message.....Is there a way to avoid it....
Target server : newyork
$ scp ABC27801.iue newyork:./iABC/x0017801.iue
Message
=====
This system is for the use of authorized users only. Individuals using this... (1 Reply)
Discussion started by: Pash
1 Replies
8. UNIX for Advanced & Expert Users
I have 3 AIX server namely - Server 1 , Server 2 and Server 3.
And have done SCP setup between Server 1 and Server 2 so that i dont have to give password when i transfer file from Server 1 to Server 2 by setting public key between the server.
Q1. If the unix password of the target server... (3 Replies)
Discussion started by: Pash
3 Replies
9. AIX
I am testing the following command to transfer a file from my server (AIX 5.2) to another server. I was able to generate the keys and sent them the public key.
scp -v -P 4030 /home/lawson/.ssh/jimtest.txt someuser@some.ftpsite.net:/Inbound/jimtest.txt > jimtest_out.txt 2>&1
Based on... (3 Replies)
Discussion started by: jyoung
3 Replies
10. Shell Programming and Scripting
I am trying to transfer a zip file of around 30 MB in my automation script using scp from system A to B.
When I manually do scp, file is complete transferred but when automation shell script runs it, zip file is not completely transferred.
Stack Trace while doing manual :
Executing:... (1 Reply)
Discussion started by: Shaishav Shah
1 Replies
ftpd(8c) ftpd(8c)
Name
ftpd - DARPA Internet File Transfer Protocol server
Syntax
/usr/etc/ftpd [ -d ] [ -l ] [ -ttimeout ]
Description
The server is the DARPA Internet File Transfer Protocol server process. The server uses the TCP protocol and is invoked by when it
receives a connection on the port specified in the service specification. For further information, see
The server currently supports the following requests. Case is not distinguished.
Request Description
ABOR Abort previous command
ACCT Specify account
ALLO Allocate storage
APPE Append to a file
CDUP Change to parent of current working directory
CWD Change working directory
DELE Delete a file
HELP Give help information
LIST Give list of files in a directory (ls -lg)
MKD Make a directory
MODE Specify data transfer mode
NLST Give name list of files in directory (ls)
NOOP Do nothing
PASS Specify password
PASV Prepare for server-to-server transfer
PORT Specify data connection port
PWD Print the current working directory
QUIT Terminate session
RETR Retrieve a file
RMD Remove a directory
RNFR Specify rename-from file name
RNTO Specify rename-to file name
STOR Store a file
STOU Store a file with a unique name
STRU Specify data transfer structure
TYPE Specify data transfer type
USER Specify user name
XCUP Change to parent of current working directory
XCWD Change working directory
XMKD Make a directory
XPWD Print the current working directory
XRMD Remove a directory
The remaining requests specified in Internet RFC 959 are recognized, but not implemented.
The server interprets file names according to the globbing conventions used by This allows users to utilize the metacharacters *?[]{}~.
The server authenticates users according to three rules:
1. The user name must be in the password database, and not have a null password. In this case a password must be provided by the client
before any file operations may be performed.
2. The user name must not appear in the file
3. If the user name is anonymous or an anonymous account must be present in the password file (user ftp). In this case the user is
allowed to log in by specifying any password (by convention this is given as the client host's name).
In the last case, takes special measures to restrict the client's access privileges. The server performs a command to the home directory
of the user. To prevent system security from being breached, it is recommended that the subtree be constructed with care. Thus the follow-
ing rules are recommended:
~ftp) Make the home directory owned by and unwritable by anyone.
~ftp/bin) Make this directory owned by the superuser and unwritable by anyone. The program must be present to support the list commands.
This program should have mode 111.
~ftp/etc) Make this directory owned by the superuser and unwritable by anyone. The files and must be present for the command to work prop-
erly. These files should be mode 444.
~ftp/pub) Make this directory mode 777 and owned by Place the files, which are to be accessible by the anonymous account, in this direc-
tory.
Options
-d Enables certain debugging messages that are printed by ftpd.
-l Logs each ftp session to the
-t Sends the inactivity timeout period to timeout; otherwise, the server will timeout an inactive session after 15 minutes.
Restrictions
Support does not exist for aborting commands.
The use of an anonymous account is inherently dangerous and should be avoided when possible.
The server must run as the superuser to create sockets with privileged port numbers. The server maintains an effective user id of the
logged in user, reverting to the superuser only when binding addresses to sockets. The possible security holes have been extensively scru-
tinized, but are possibly incomplete.
Files
Contains the list of unauthorized users
See Also
ftp(1c), services(5), inetd(8c), syslog(8)
ftpd(8c)