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)
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)
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)
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)
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)
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)
On unix AIX server, when I am trying to transfer file from one directory to another directory on the same server through a program(where i call the script) it gives error "Lost Connection". (5 Replies)
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)
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
LEARN ABOUT SUSE
transmitter
transfer::transmitter(n) Data transfer facilities transfer::transmitter(n)
__________________________________________________________________________________________________________________________________________________NAME
transfer::transmitter - Data source
SYNOPSIS
package require Tcl 8.4
package require snit ?1.0?
package require transfer::copy ?0.1?
package require transfer::data::source ?0.1?
package require transfer::connect ?0.1?
package require transfer::transmitter ?0.1?
transfer::transmitter object ?options...?
object destroy
object start
object busy
_________________________________________________________________DESCRIPTION
This package pulls data sources and connection setup together into a combined object for the transmission of information over a socket.
These objects understand all the options from objects created by the packages transfer::data::source and transfer::connect.
API
transfer::transmitter object ?options...?
This command creates and configures a new transmitter object. The fully qualified name of the object command is returned as the
result of the command.
See the packages transfer::data::source and transfer::connect for the main options recognized. Here we describe only the options
which go beyond the referenced set.
-command cmdprefix
This option specifies the command to invoke when the transmission of the information in the data source has been completed.
The arguments given to this command are the same as given to the completion callback of command transfer::copy::do, see pack-
age transfer::copy.
-blocksize int
This option specifies the size of the chunk to be transmitted in one block. It is optional and defaults to 1024.
object destroy
This method destroys the object. Doing so while a transmission is on progress will cause errors later on, when the transmission com-
pletes and tries to access the now missing data structures of the destroyed object.
object start
This method initiates the data transmission, setting up the connection first and then copying the information. The method will
throw an error if a transmission is already/still in progress. I.e. it is not possible to run two transmissions in parallel, only in
sequence. Errors will also be thrown if the configuration of the data source is invalid, or if no completion callback was specified.
The result returned by the method the same as the result of method connect, see package transfer::connect.
object busy
This method returns a boolean value telling us whether a transmission is in progress (True), or not (False).
BUGS, IDEAS, FEEDBACK
This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category transfer
of the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have for
either package and/or documentation.
KEYWORDS
channel, copy, data source, transfer, transmitter
COPYRIGHT
Copyright (c) 2006 Andreas Kupries <andreas_kupries@users.sourceforge.net>
transfer 0.1 transfer::transmitter(n)