02-08-2011
Copying files from different server
Is there any option to copy files from a different server other than using an SCP command???
thanks,
Arun manas
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Is there a simple way to copy data from one server to a different server?
Seems that if 2 servers are on the same network, there should be a simple way to copy between the two.
Not just one file. I need to copy a whole directory with subdirectories from one server to a different one.
I... (9 Replies)
Discussion started by: Docboyeee
9 Replies
2. Shell Programming and Scripting
Hi,
I want to transfer files from one linux server to another linux server using shell script using sftp.
But I dont won't that while connecting one server to another server it will ask for password , it should be part of script.
I wont to know how password should be included in the... (4 Replies)
Discussion started by: manoj.solaris
4 Replies
3. UNIX for Dummies Questions & Answers
I have two servers. I would like to copy some files from one directory on server A into the same directory on server B.
Its not all the files in in the directory, just some of them.
Is there a way to make a file list in a txt file and then somehow copy all the files in that list in one go to... (6 Replies)
Discussion started by: Sepia
6 Replies
4. Shell Programming and Scripting
Hi Scripting experts,
I am new to the unix scripting. Please help me out for solving the condition given below
I am trying to develop a script for Copying files which are getting generated in server A to server B using scp. In serverA files are generating as for eg abc1.txt, abc2.txt,... (5 Replies)
Discussion started by: rohithji
5 Replies
5. Shell Programming and Scripting
Any one advice here-
need to copy some files from one server to other server thru shell programming. (8 Replies)
Discussion started by: samkhu
8 Replies
6. UNIX for Dummies Questions & Answers
How do i copy files from Unix Server to my Local Desktop..
ANy ideas..please suggest....V Urgent. (1 Reply)
Discussion started by: win4luv
1 Replies
7. UNIX for Dummies Questions & Answers
I need to copy huge set of data(files & floder) from one server to other.
Can any one guide me.I have tried throught ftp mget but it is vain...floder are not moving......
Do suggest me any good method (12 Replies)
Discussion started by: kkalyan
12 Replies
8. Shell Programming and Scripting
Hi all,
In Server1, one directory contains files now. In this directory, based on some operations, daily some files will generate and store regularly.
Now i want to copy the files to Server2 through SFTP/FTP command on daily based on the previous day present data(i.e based on the latest file... (1 Reply)
Discussion started by: venkat6134
1 Replies
9. Shell Programming and Scripting
Hi Team,
I had a requirement to write a shell script which automatically transfer the files from unix server to windows server. I can able to unix to unix using Scp command. I am not sure how to do unix to windows.
I am very new on this concept.
Could you please help me or guide in... (4 Replies)
Discussion started by: gvkumar25
4 Replies
10. Shell Programming and Scripting
I am trying to copy code to remote server, doing something like this
However it is copying one file and than the script exits
i=0; j=0
while read fn; do
dir=${fn%/*} # Gets directory path
fnm=${fn##*/} # Gets filename excl. path
rgx_nwk="s/${nwk}/${nwk}.sac/g"
... (2 Replies)
Discussion started by: kristinu
2 Replies
LEARN ABOUT MOJAVE
curlopt_ssh_auth_types
CURLOPT_SSH_AUTH_TYPES(3) curl_easy_setopt options CURLOPT_SSH_AUTH_TYPES(3)
NAME
CURLOPT_SSH_AUTH_TYPES - set desired auth types for SFTP and SCP
SYNOPSIS
#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_SSH_AUTH_TYPES, long bitmask);
DESCRIPTION
Pass a long set to a bitmask consisting of one or more of CURLSSH_AUTH_PUBLICKEY, CURLSSH_AUTH_PASSWORD, CURLSSH_AUTH_HOST,
CURLSSH_AUTH_KEYBOARD and CURLSSH_AUTH_AGENT.
Set CURLSSH_AUTH_ANY to let libcurl pick a suitable one. Currently CURLSSH_AUTH_HOST has no effect. If CURLSSH_AUTH_AGENT is used, libcurl
attempts to connect to ssh-agent or pageant and let the agent attempt the authentication.
DEFAULT
None
PROTOCOLS
SFTP and SCP
EXAMPLE
TODO
AVAILABILITY
CURLSSH_AUTH_HOST was added in 7.16.1, CURLSSH_AUTH_AGENT was added in 7.28.0
RETURN VALUE
Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
SEE ALSO
CURLOPT_SSH_HOST_PUBLIC_KEY_MD5(3), CURLOPT_SSH_PUBLIC_KEYFILE(3),
libcurl 7.54.0 February 03, 2016 CURLOPT_SSH_AUTH_TYPES(3)