9 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi all
When I sftp to an Oracle cloud server, to a folder where there are more than 10k files, and list a small subset of files, it works OK. When I try list more than 10k files, it says file not found. Example output below.
(FYI ls/mget with 6k files works OK on this server)
Has anyone... (3 Replies)
Discussion started by: pdinsdale
3 Replies
2. Shell Programming and Scripting
Dear All,
I have a requirement where I have to SFTP or SCP a file in a batch script. Unfortunately, the destination server setup is such that it doesn't allow for shell command line login. So, I am not able to set up SSH keys. My source server is having issues with Expect. So, unable to use... (5 Replies)
Discussion started by: ss112233
5 Replies
3. Shell Programming and Scripting
Hi,
I am getting the below error while doing sftp in a script file but the same is getting executed when i run from command prompt
./CARE_SM2_SFTP.sh: put: not found
Code :-
sftp ${USER_ID}@${FTPHOST4}:/opt/path
put <Filename with path>
chmod 777 <FileName with Path>... (2 Replies)
Discussion started by: satishmallidi
2 Replies
4. Fedora
Hi
I have managed on numerous machine to set up sftp not too require a password - i finally have one that does not work and Im at a loss - looked around checked permissions etc
The 2 machines Ill call then source and target I need to sftp from source to target (previously the target has... (3 Replies)
Discussion started by: wwwdaryl
3 Replies
5. 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
6. SuSE
Hi,
I need to write a script to scp/sftp files from server A to server B..But i do not want to overwrite the files which already exist on server B.
Anyone has a script which does the above
Regards (2 Replies)
Discussion started by: SystemEng
2 Replies
7. UNIX for Dummies Questions & Answers
Hi gurus,
I'm having a strange problem and I hope you can help me solving it.
I'm working in Unix Solaris, version 5.10, ksh.
I have a script with environment variables which I have to execute prior to other scripts. The script belongs to userA and when I log in, and cd to its directory. It... (4 Replies)
Discussion started by: ermur
4 Replies
8. Shell Programming and Scripting
Hi,
I have written a script which pings a host. When I executed the script, it is saying that test_mail.sh: line 1: PING: command not found
But if I run the ping from command prompt like "ping -c 1 piias1576" I am getting perfect result.
`/bin/ping -c 1 piias1576`
if
then
mail sibasha... (5 Replies)
Discussion started by: siba.s.nayak
5 Replies
9. Shell Programming and Scripting
In one environment I cannot run a shell script, which can run on other environment both has same
rights. Even though I try to run from the same dir, it gives me an error, mentioning -
script not found. But this same script can be found, if we run find command.
Script starts with #!/bin/sh
... (1 Reply)
Discussion started by: videsh77
1 Replies