09-19-2001
SSH
How about using SCP: secure copy?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
(0 Replies)
Discussion started by: spoonman
0 Replies
2. UNIX for Dummies Questions & Answers
please help me to transfer files from one server to another one i am having problem in it thanks (1 Reply)
Discussion started by: pankaj001np
1 Replies
3. Shell Programming and Scripting
How to transfer the files in windows server to the unix server by using the unix or ftp commands? (1 Reply)
Discussion started by: vinay123
1 Replies
4. HP-UX
I need to transfer files from Windows to Hp-UX box with out any software(Filezilla ...., Fsecure file transfer)
Is it possible to transfer using command prompt ? (6 Replies)
Discussion started by: girija
6 Replies
5. Shell Programming and Scripting
Hi,
I am new to scripting, I need to write a script to transfer .TXT files from Server A (ftp) to Server B. Once the files in server B i need to transfer it to server C (sftp). (not transfer of files directly from server A to Server C )
Thanks!
Regards
Sendhil
---------- Post updated at... (3 Replies)
Discussion started by: Sendhil.Kumaran
3 Replies
6. UNIX for Dummies Questions & Answers
Hello -
I am wondering what would be a command to copy files from one machine to another unix machine?
For example:
I am currently logged into: beta-machine01
my current directory is: /home/router
I want to copy file from machine: beta-machine02
the file is located inside:... (1 Reply)
Discussion started by: DallasT
1 Replies
7. Linux
Hi guys, ok so, how do you go about networking between Windows and Linux so that I can transfer files between each other? (5 Replies)
Discussion started by: billcrosby
5 Replies
8. UNIX for Dummies Questions & Answers
Hallo guys,
I am new to Linux, I like to transfer multiple files from server A to server B. Source files URLs (from server A) are in a file called "list.txt"
Eg. in list.txt (these links are selective URLs, not all the files in a directory)
user@host/var/www/files/file1.txt... (5 Replies)
Discussion started by: bjsh_04
5 Replies
9. UNIX for Beginners Questions & Answers
Hi All,
I have generated public and private pair to avoid to enter password manually while sending files through sftp.
But still I am facing issues and every-time prompt asking enter password.
Below are steps I fallowed to make ssh connection between two servers.
1. Generated public and... (5 Replies)
Discussion started by: renukeswar
5 Replies
LEARN ABOUT CENTOS
libssh2_scp_send64
libssh2_scp_send64(3) libssh2 manual libssh2_scp_send64(3)
NAME
libssh2_scp_send64 - Send a file via SCP
SYNOPSIS
#include <libssh2.h>
LIBSSH2_CHANNEL *
libssh2_scp_send64(LIBSSH2_SESSION *session, const char *path, int mode,
libssh2_uint64_t size, time_t mtime, time_t atime);
DESCRIPTION
session - Session instance as returned by libssh2_session_init_ex(3)
path - Full path and filename of file to transfer to. That is the remote file name.
mode - File access mode to create file with
size - Size of file being transmitted (Must be known ahead of time). Note that this needs to be passed on as variable type lib-
ssh2_uint64_t. This type is 64 bit on modern operating systems and compilers.
mtime - mtime to assign to file being created
atime - atime to assign to file being created (Set this and mtime to zero to instruct remote host to use current time).
Send a file to the remote host via SCP.
RETURN VALUE
Pointer to a newly allocated LIBSSH2_CHANNEL instance, or NULL on errors.
ERRORS
LIBSSH2_ERROR_ALLOC - An internal memory allocation call failed.
LIBSSH2_ERROR_SOCKET_SEND - Unable to send data on socket.
LIBSSH2_ERROR_SCP_PROTOCOL -
LIBSSH2_ERROR_EAGAIN - Marked for non-blocking I/O but the call would block.
AVAILABILITY
This function was added in libssh2 1.2.6 and is meant to replace the former libssh2_scp_send_ex(3) function.
SEE ALSO
libssh2_channel_open_ex(3)
libssh2 1.2.6 17 Apr 2010 libssh2_scp_send64(3)