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
Hi to all!
I'm new to unix and I looking for a solution for a shell I'm developing.
In this shell I have a list of filename (get from a database).
For each filename I must connect to another server via sftp connection in order to verify if there is a file with that filename.
After the... (1 Reply)
Discussion started by: leobdj
5. 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
6. 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
7. Shell Programming and Scripting
Please ignore this message (0 Replies)
Discussion started by: B. Bhanumurthy
8. 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
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