08-20-2011
Hi frank_rizzo
how to over come this problem..
Last edited by sundar.lsr; 08-20-2011 at 02:42 AM..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hey all,
I have a ksh script which used ftp to transfter certain files to a AIX server, however, now I have to switch to sFTP and I have the following problem. Originally,
output=`ftp -nv $AIX_HOST << EOF 2>&1
user $AIX_USER $AIX_PASSWORD
cd... (9 Replies)
Discussion started by: mpang_
9 Replies
2. Shell Programming and Scripting
We need to use sftp to replace the ftp on all our application scripts.
The command itself works, however,the output from the verbose is not giving us a success response with a transfer count. Our processes require that we interrogate the response to ensure the data transfer was successful.
... (2 Replies)
Discussion started by: MizzGail
2 Replies
3. Shell Programming and Scripting
Hi,
I have two files , one file with data file with attributes that need to be sent to another file to generate a predefined format.
Example:
File.txt
AP|{SSHA}VEEg42CNCghUnGhCVg==
APVG3|{SSHA}XK|"password"
AP3|{SSHA}XK|"This is test"
....
etc
---------
test.sh has... (1 Reply)
Discussion started by: hudson03051nh
1 Replies
4. Shell Programming and Scripting
When I manually sftp a file to a remote server I get the following output on the screen;
Uploading filename to /inbound/xxxxxxx_Folder_1/filename
filename 100% 50 0.1KB/s 00:00
When I run the commands from within a shell script I do not get the "filename ... (0 Replies)
Discussion started by: rugggy
0 Replies
5. UNIX for Dummies Questions & Answers
When I manually run a sftp to a remote server I receive the following output on he screen;
Uploading filename to /inbound/xxxxxxx_Folder_1/filename
filename 100% 50 0.1KB/s ... (1 Reply)
Discussion started by: rugggy
1 Replies
6. Shell Programming and Scripting
HI Guys,
My requiement is to redirect output and error of sftp to a file.I have gone through few solutions given in this forum and got the alternate solution but not the one i want.
Below piece of code is not working ..
$ sftp user@server<<EOF 2>&1 >temp.txt
> cd <dir>
> ls
> EOF... (0 Replies)
Discussion started by: mohanpadamata
0 Replies
7. Shell Programming and Scripting
Hi All,
I have around 900 Select Sql's which I would like to run in an awk script and print the output of those sql's in an txt file.
Can you anyone pls let me know how do I do it and execute the awk script? Thanks. (4 Replies)
Discussion started by: adept
4 Replies
8. Shell Programming and Scripting
Below script perfectly works, giving below mail output. BUT, I want to make the script mail only if there are any D-Defined/T-Transition/B-Broken State WPARs and also to copy the output generated during monitoring to a temporary log file, which gets cleaned up every week. Need suggestions.
... (4 Replies)
Discussion started by: aix_admin_007
4 Replies
9. Shell Programming and Scripting
Hi All,
I have result log file which looks like this (below): from the content need to consolidate the result and put it in tabular form
1). Intercomponents Checking
Passed: All Server are passed.
======================================================================
2). OS version Checking... (9 Replies)
Discussion started by: Optimus81
9 Replies
10. Red Hat
I ran the following command.
cat abc.c > abc.c
I got message the following message from command cat:
cat: abc.c : input file is same as the output file
How the command came to know of the destination file name as the command is sending output to standard file. (3 Replies)
Discussion started by: ravisingh
3 Replies