10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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.....
Vasa Saikumar. (13 Replies)
Discussion started by: hemanthsaikumar
2. Shell Programming and Scripting
I had the below sftp script working perfectly but the problem is I am not able to send the echo statements .
echo "Starting to sftp..."
sftp admin@myip << END_SCRIPT
echo "Sftp successfully."
echo... (11 Replies)
Discussion started by: scriptscript
3. Red Hat
I have a weird issue, I have RHEL 5.7 running with openssh5.2 where sftpgroup OS group is chroot. I see the difference difference in timestamp on files, when I login via ssh and SFTP, I see four hour difference, is something missing in my configuration.
#pwd... (8 Replies)
Discussion started by: bobby320
4. Shell Programming and Scripting
Can you please tell me what the below command does
cat <<EOF1 > $tmp1
sftp6 -P 2246 -B $tmp1 --password=file://<ctl>/.gspass | tee outputfile
Actually my requirement is if the sftp succeed, then only it... (3 Replies)
Discussion started by: help_scr_seeker
5. Shell Programming and Scripting
I have situation where i need to automate transferring 10000+ files using sftp.
while read line
if ; then
echo "-mput /home/student/Desktop/folder/$line/* /cygdrive/e/folder/$line/">>sftpCommand.txt
sftp -b sftpCommand.txt email@example.com
The above... (1 Reply)
Discussion started by: noobrobot
6. Shell Programming and Scripting
1.Whats is SFTP ?
2.Why we are going for that ?
3.If I want to do sftp a file from a server ABC to my local machine XYZ, what are different entries I need to put in (what are all )various files/location in unix?
4.If i need to put a entry in a common file(s) in unxi, can you give... (6 Replies)
Discussion started by: Gopal_Engg
7. Shell Programming and Scripting
when executing the below script ,it was prompting password .I want password to be taken from parameter.Please any help
sh a.sh file.txt
sftp $user@servername <<eof... (1 Reply)
Discussion started by: mohan705
While I am trying SFTP my machine to another unix machine ,
it was working fine till 10 min back.
But now i am getting the below error
"Request for subsystem 'sftp' failed on channel 0"
Could you please someone help me to solve or analyise the root cause...
Mahiban (0 Replies)
Discussion started by: mahiban
9. Shell Programming and Scripting
I am using sftp to send a file.I want to know is there any way to check that the file has been sent to destination.Like in ftp we can spool the log and check "226 Transfer complete" accordingly we can decide the script return success.Please let me know if we can do something to get... (1 Reply)
Discussion started by: ravi.sadani19
10. UNIX for Dummies Questions & Answers
I used to use an 'SFTP' command weekly, but all of a sudden it won't work.
I used to do: sftp -b <file with put commands> <username>@<server>
But all of a sudden every time that I try now I get:
Permission denied (publickey,password,keyboard-interactive).
Any... (4 Replies)
Discussion started by: FredSmith