10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi All
Below is the script I am trying to execute to rename a file in an SFTP session.
It is in GNU/Linux.
This script is for generic use and so I am passing arguments. Everything in the script works fine except "reading the filename in SFTP session"
In the below script the... (2 Replies)
Discussion started by: sparks
2 Replies
2. Shell Programming and Scripting
Hi Gurus,
I have a script which send sql query to oracle db and return value to my script.
dummy code like below:
sqlplus -s user/${PASSWD}@${ORACLE_SID} @${DIR}/query.sql > outputfile
using above code, when query has error, it send error to same out put file and exit code is 0, is... (6 Replies)
Discussion started by: ken6503
6 Replies
3. Shell Programming and Scripting
Hi,
I want to execute shell script with in sftp session for remote server.
like i have a shell script test.sh that is on local server.i want to execute that script on remote server
sftp user@192.168.56.10
sftp> test.sh ---execute for remote server not for local server.
sftp... (3 Replies)
Discussion started by: SAUD PASHA
3 Replies
4. Shell Programming and Scripting
Hi,
I am trying to create more than one directory by using -p option in SFTP session.
But it created a directory named -p and ended.
It didn't throw any error.
sxxxxxxx:(abc)/test> sftp abcuser@zxxxxxxx
Connecting to zxxxxxxx...
Password:
sftp> pwd
Remote working directory: /test... (3 Replies)
Discussion started by: gthangav
3 Replies
5. Shell Programming and Scripting
Hi all ,
can any one tell me how to run a script within a sftp session. let me tell u in bit clear way :
After I connected to sftp location , cd ing to some directory then I need to execute a one script. Please tell me if u have any idea on this .
Looking forward to your reply guys... (1 Reply)
Discussion started by: sravan008
1 Replies
6. Solaris
Hi,
i got the following error when i tried to access the cygwin x server from a windows XP PC.
"xdmcp fatal error session failed session 23 failed for display"
Alternatively, when i tried to access the same Cygwin X Server from another windows XP PC which is on a different LAN... (3 Replies)
Discussion started by: HarishKumarM
3 Replies
7. Programming
I have some unstable mistake in my program and out-of-idea how to catch it.
I am looking for advice with a way to work it out!
I have in a pretty complicated program (but one source file) set of int-counters - 15, if exactly.
Lately, on final printout I have inpossible value (I am... (3 Replies)
Discussion started by: alex_5161
3 Replies
8. Shell Programming and Scripting
I just want to send files to remote machine via SFTP, my question is: how can I catch the exception when SFTP command error occur? for example: add a log when network interrupt on SFTP put(or failure on rename the remote file etc.).
the shell run on linux. (2 Replies)
Discussion started by: younggun
2 Replies
9. Shell Programming and Scripting
I'm having a question about for loops. (bash)
I have the following for example:
for file in `ls *.txt`
do
read file ...
done
Now when there is a file present there is no problem, now when there is no file present I get the following output in my standard mail box : "No such... (4 Replies)
Discussion started by: lumdev
4 Replies
10. UNIX for Advanced & Expert Users
We used to have a ftp user id with no telnet session allowed in server side.
We used this ftp user id in script by transferring file from client to Server.
Currently we need to implement sftp to replace ftp.
We have tested few round and working fine by using sftp with normal user id (allow... (2 Replies)
Discussion started by: superdougl
2 Replies