Sponsored Content
Top Forums Shell Programming and Scripting SFTP files from one server to another Post 302544118 by chetancrsp18 on Wednesday 3rd of August 2011 03:00:06 AM
Old 08-03-2011
I did this but it gives and error :-
"Couldn't read packet: Connection reset by peer" Smilie
 

10 More Discussions You Might Find Interesting

1. Solaris

how to get multiple files using sftp from a windows server

I need to get multiple files from a windows server to a solaris server using sftp, I tried it but only can get one file at a time ( I'm unable to use a wild card character using sftp) hoe do i do this. any light on this is appreciated. Ram. (3 Replies)
Discussion started by: ramky79
3 Replies

2. Shell Programming and Scripting

SFTP to transfer files from one server to another

Hello, i have to write a script to perform sftp from the remote server to another server. the files which are at the remote location are huge data log files which should be transfered to my server in a particular folder. could you please provide me the general code (simple )... (1 Reply)
Discussion started by: urfrnddpk
1 Replies

3. UNIX for Dummies Questions & Answers

SFTP files from Unix to Window Server

I have a requirement, where in we need to SFTP files from the Unix box to the Windows server. Since we are putting files...Where would we place the public/private keys from the Unix servers?? Any default path as such??? How would the sftp happen from Unix to Windows...Please help... ... (1 Reply)
Discussion started by: saggiboy10
1 Replies

4. Shell Programming and Scripting

Sftp some files from windows server to UNIX server

hi i need to transfer some files from windows server to unix server using SFTP. but before transferring the files, i need to check the existence of a particular file in the remote directory (say r_dir1). if the file is present, then SFTP all the files. after SFTPing the files from the remote... (1 Reply)
Discussion started by: vinit raj
1 Replies

5. Solaris

Script to get files from remote server to local server through sftp without prompting for password

Hi, I am trying to automate the process of fetching files from remote server to local server through sftp. I have the username and password for the remote solaris server. But I need to give password manually everytime i run the script. Can anyone help me in automating the script such that it... (3 Replies)
Discussion started by: ssk250
3 Replies

6. Shell Programming and Scripting

Copy Directories with Files from One Server to Other using sftp

Hi, I have a requirement where I have to connect to another server and copy directories from one server to another Directories on the Source server look like below (YYYY-MM-DD- 1 to 23) drwxr-xr-x 2 test_user dmfmart 422 Sep 1 23:45 2014-09-01-18drwxr-xr-x 2 test_user dmfmart ... (1 Reply)
Discussion started by: arunkesi
1 Replies

7. Shell Programming and Scripting

Renaming multiple files in sftp server in a get files script

Hi, In sftp script to get files, I have to rename all the files which I am picking. Rename command does not work here. Is there any way to do this? I am using #!/bin/ksh For eg: sftp user@host <<EOF cd /path get *.txt rename *.txt *.txt.done ... (7 Replies)
Discussion started by: jhilmil
7 Replies

8. Linux

SFTP files to a server from Linux.

Hi, I am looking for a shell script to sftp to a file server and copy all the files from a directory after the script is run. The server name should be a user input parameter and of-course the username/password as well. Rest all should be handled by the script. I tried with below snippet:- ... (1 Reply)
Discussion started by: happysingh
1 Replies

9. Shell Programming and Scripting

SFTP files to a file server.

Hi, I am looking for a shell script to sftp to a file server and copy all the files from a directory after the script is run. The server name should be a user input parameter and of-course the username/password as well. Rest all should be handled by the script. I tried with below... (3 Replies)
Discussion started by: happysingh
3 Replies

10. Shell Programming and Scripting

Help with moving files on remote server using sftp

I need to sftp a file ABC_sysdate.csv (File name with system date and timestamp) to a temporary directory on the remote server and once the file is copied I've to move the file from temporary directory to the main directory with the same name. I have to generate a new file every hour and repeat... (6 Replies)
Discussion started by: srinup
6 Replies
hx509 certificate selecting functions(3)			Heimdalx509library			  hx509 certificate selecting functions(3)

NAME
hx509 certificate selecting functions - Functions int hx509_peer_info_alloc (hx509_context context, hx509_peer_info *peer) void hx509_peer_info_free (hx509_peer_info peer) int hx509_peer_info_set_cert (hx509_peer_info peer, hx509_cert cert) int hx509_peer_info_add_cms_alg (hx509_context context, hx509_peer_info peer, const AlgorithmIdentifier *val) int hx509_peer_info_set_cms_algs (hx509_context context, hx509_peer_info peer, const AlgorithmIdentifier *val, size_t len) Detailed Description Function Documentation int hx509_peer_info_add_cms_alg (hx509_context context, hx509_peer_info peer, const AlgorithmIdentifier * val) Add an additional algorithm that the peer supports. Parameters: context A hx509 context. peer the peer to set the new algorithms for val an AlgorithmsIdentier to add Returns: An hx509 error code, see hx509_get_error_string(). int hx509_peer_info_alloc (hx509_context context, hx509_peer_info * peer) Allocate a new peer info structure an init it to default values. Parameters: context A hx509 context. peer return an allocated peer, free with hx509_peer_info_free(). Returns: An hx509 error code, see hx509_get_error_string(). void hx509_peer_info_free (hx509_peer_info peer) Free a peer info structure. Parameters: peer peer info to be freed. int hx509_peer_info_set_cert (hx509_peer_info peer, hx509_cert cert) Set the certificate that remote peer is using. Parameters: peer peer info to update cert cerificate of the remote peer. Returns: An hx509 error code, see hx509_get_error_string(). int hx509_peer_info_set_cms_algs (hx509_context context, hx509_peer_info peer, const AlgorithmIdentifier * val, size_t len) Set the algorithms that the peer supports. Parameters: context A hx509 context. peer the peer to set the new algorithms for val array of supported AlgorithmsIdentiers len length of array val. Returns: An hx509 error code, see hx509_get_error_string(). Version 1.5.2 11 Jan 2012 hx509 certificate selecting functions(3)
All times are GMT -4. The time now is 07:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy