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
I am able to create a file with all the sftp command required.
I was able to ftp the files in the similiar fashion using ftp command. The following i used for ftp.
ftp -n < $filename
But when i try the same for Sftp. i am getting error.
The file i am creating is in the... (9 Replies)
Discussion started by: mac4rfree
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. UNIX for Dummies Questions & Answers
I have been using the ftp command "nlist . localfile.txt" in my batch scripts to bring back a listing of the remote directory and add it to localfile.txt
I now need to do an sftp batch script. I can't find any way of bringing back a list of remote files and adding it to a local file. Does... (5 Replies)
Discussion started by: Bab00shka
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. UNIX for Dummies Questions & Answers
how would i go about creating a login where i dont use a private key, just a password. I dont have ANY control over the sftp server, as it is run by another company. i am not knowledgable in unix at all. Please help (1 Reply)
Discussion started by: OrthoProof USA
10. Post Here to Contact Site Administrators and Moderators
when a script file is passed to the SFTP command at the unix prompt, Is it possible to supress the keyboard input for user authentication. If yes, please let me know the way to do it.
Thanks for any/all help at the earliest.
Dheeraj. (1 Reply)
Discussion started by: dheeruchakri