10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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
2. UNIX for Advanced & Expert Users
Hi All,While sftp from remote server an error (/) is coming before the file in a script.Please find the below log. The file is on home directory on remote server. (6 Replies)
Discussion started by: kiranparsha
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
4. UNIX for Dummies Questions & Answers
Hi everyone, so I have a script create a login file to log into the sftp remote server, go to a certain directory and get the list of files in that direction into a text file in another folder (local folder). Here is the piece of code
echo "#!/usr/local/bin/expect -f" >>... (5 Replies)
Discussion started by: warmboy610
5. Shell Programming and Scripting
ssh -q "server_name sudo echo 'dbagroup::1234' >> sudo /etc/group"if i execute the above code its not getting appended.
my requirement is to login to remote server and append dbagroup::1234 in /etc/group i am able to achieve this with tee -a command
want to know why its not working with >>... (5 Replies)
Discussion started by: chidori
6. Shell Programming and Scripting
I have a requirement where I need to do SFTP connection to remote server, get the size of the file on remote server and depending on the size, i need to get the file onto local server.
Is there any command in SFTP to get the size of the file. I found one in FTP but not in SFTP (2 Replies)
Discussion started by: forums123456
I have 1. lappy
2. server A
3. server B
Now, what i need is to run a command from lappy that will sftp a file from server A to server B.
Please guide me to achieve this.
-akash (1 Reply)
Discussion started by: akash.mahakode
8. Shell Programming and Scripting
Hello, I would appreciate if any one can help me on this.
The below script start running at 12:30AM. Every 5 min, i go and check the remote site. If i see filewatch.txt over there, then i need to call another shell script and load the data into database. If i don't see that file, then i have to... (2 Replies)
Discussion started by: govindts
9. Shell Programming and Scripting
i want to setup a STPF setting to a remote server.
Could you please help on this. The setting i have done but its still asking for password.
Could anyone throw some light on the same?
Thanks in advance.
Pankaj (1 Reply)
Discussion started by: panknil
10. Shell Programming and Scripting
I have been trying to implement the following shell script --
sftp to remote server
get list of files in the directory
sftp get the most recent listed file
This script will be scheduled to be executed everyday using CRON or CONTROL-M and the need is to have absolutely no human... (7 Replies)
Discussion started by: toobrown1