10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am transferring files to SFTP Server using sftp command(below), and want to write log file of this activity. Can you please advise if i am doing wrong.
sftp -v -oIdentityFile=/home/bbm_user/bbm/private_open_ssh.ppm email@example.com <<EOF
put $local_path/*.gz $remote_path/... (3 Replies)
Discussion started by: cnrj
2. Shell Programming and Scripting
I am not able to capture error condition in sftp in Korn Shell
sftp batch@uat >abc 2>&1 << ENDFILE
print file "copied successfully"
print file "NOT copied successfully"
Now the... (9 Replies)
Discussion started by: Soham
3. Shell Programming and Scripting
Scenario : How to securely FTP the text file from a particular location(in unix system) to the windows ftp server (my PL is suggesting to use SCP command to accomplish this).
I have created a Oracle job and scheduled it in dbms_scheduler. The job will invoke... (3 Replies)
Discussion started by: Sachi Vasishta
4. Shell Programming and Scripting
I have done the Private - Public keys generation( and sharing) and have written a script for automating the SFTP. Need to make sure if it will work:
sftp $SFTP_USER@$SERVER <<EOF
#ls -lrt | grep $SFTP_RFILE | wc -l
get... (2 Replies)
Discussion started by: Arpit Narula
5. Shell Programming and Scripting
I have script which does the sftp function. In the script in one place it able to read the password from file and other place files with below error.
warning: has much more security than supplying the password in the clear
warning: on the command line.
Failed to get password: File... (0 Replies)
Discussion started by: vino_hymi
6. Shell Programming and Scripting
did anyone knows a script to get a latest file in a folder,,i try to get the newest file at a folder via sftp and i want to make a crontab to do this once a day,,can someone give me the script to get the latest file?? (5 Replies)
Discussion started by: Cellscript
7. Shell Programming and Scripting
I've a find command that gets the list of files from a source directory where the extension is not html, xml, jsp, shtml or htaccess. The below find command runs fine from the command prompt or in a shell script. I need to eventually run it in a PERL script and am getting the... (5 Replies)
Discussion started by: voorkey
8. Shell Programming and Scripting
I need to write script to transefer files from windows server to UNIX and visa versa.... can any one enroute to the solution ........?
I am new to SFTP .. would requst you provide some helpful informaion, Basics of SFTP also appreciated
Thanks in Advance.
Madan (1 Reply)
Discussion started by: madankumar
9. Shell Programming and Scripting
I am trying to use sftp in a ksh - Shell script, but not even a simple script like this returns not output:
sftp username@remotehost <<END
If I do something like this:
sftp username@remotehost <<END | tee logfile
I get this error message:
Warning: tcgetattr... (1 Reply)
Discussion started by: friand
10. Shell Programming and Scripting
Trying to run my korn shell script, I got no messages after the sftp.
The "finished" msg is not being displayed.
sftp $argument <<EOF
Thanks in advance,
:O) (1 Reply)
Discussion started by: alienET