10 More Discussions You Might Find Interesting
1. HP-UX
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:-... (2 Replies)
Discussion started by: happysingh
2 Replies
2. Shell Programming and Scripting
hi guys,
i need a script to sftp the file from windows to unix server ....(before that i have to check whether the file exists in the windows server or not
and again i have to reverse sftp the files from unix to windows server.....
regards,
Vasa Saikumar. (13 Replies)
Discussion started by: hemanthsaikumar
13 Replies
3. Solaris
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
4. Shell Programming and Scripting
hi, i am new to unix,
cuold u send some sftp acripts to send files to dev server to clint server, (1 Reply)
Discussion started by: Koti.annam
1 Replies
5. Shell Programming and Scripting
Hi,
I want to execute shell script with in sftp session for remote server.
like i have a shell script test.sh that is on local server.i want to execute that script on remote server
sftp user@192.168.56.10
sftp> test.sh ---execute for remote server not for local server.
sftp... (3 Replies)
Discussion started by: SAUD PASHA
3 Replies
6. Shell Programming and Scripting
Hi,
I have situation where i need to automate transferring 10000+ files using sftp.
while read line
do
if ; then
echo "-mput /home/student/Desktop/folder/$line/* /cygdrive/e/folder/$line/">>sftpCommand.txt
fi
done< files.txt
sftp -b sftpCommand.txt stu@192.168.2.1
The above... (1 Reply)
Discussion started by: noobrobot
1 Replies
7. Shell Programming and Scripting
hi,
i have to type a script that connect to a server SFTP(password not required) and run some easy command (e.g. ls,rm,mv,etc...).
I wrote into the script the connection-string and the other commands.
When I run it, it connects perfectly to the server but it stops at the home.
Here is... (8 Replies)
Discussion started by: zangarules
8 Replies
8. 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
exit
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
7 Replies
9. Shell Programming and Scripting
I am facing a typical issue for transfering files through secured FTP (SFTP)
for example, i have three different servers a,b & c
server A - where data file resides
Server B - where Unix shell program resides here(source server)
server C - Destination server
I wanted to run the shell... (1 Reply)
Discussion started by: kumarm
1 Replies
10. Shell Programming and Scripting
Hi friend
I have a command: sftp -v dtxsttp90102@dtx.us.dell.com
I need to connect sftp server using above command and grep for some files
and need to back to script
can anyone tell me how to write script
connectingSFTP.sh
--------------------
sftpCmd=`sftp -v... (1 Reply)
Discussion started by: kittusri9
1 Replies