06-21-2002
Thanks!
In the past, I have checked for "226". There have been some cases where the bytes transferred, bytes sent, or transfer time contains "226". The job result is successful, yet the ftp was not successful. So this doesn't always work for my scenario.
The translation of code 226 is not consistent on all boxes. For example, I have seen "226 Closing data connection" or "226 Transfer Complete" as a translation for code 226.
I do have -v in my ftp command line. Because the "226" code is not consistent, the status returned is not always reliable.
Thanks,
Barbara
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello there!
Here is my problem. I hope I can get some help about it.
I need to know how can I get the return code of an application in the Unix shell script.
The script is like below:
PREVIOUS STATEMENT & VARIABLES
sqlplus scott/tiger @$sqldir/$sqlscript
NEXT STATEMENT (Like... (7 Replies)
Discussion started by: Shaz
7 Replies
2. Shell Programming and Scripting
hi, I set the crontab to execute script A every 5 minutes from 9:00 am to 4:00 pm everyday, now at 12:00am I want to run another script if and only if all the previous runs of script A return OK, can anyone tell me how it could be done? thank you very very much! (4 Replies)
Discussion started by: mpang_
4 Replies
3. Shell Programming and Scripting
Hi all
below is a snippet of my perl codesystem ("scp -pq $dest_file $path");How i can i trap the return status? ie if the scp fails how can i know ? (2 Replies)
Discussion started by: new2ss
2 Replies
4. HP-UX
I have the question:
How return the exit code from then assign :
VAR=$(command ) for ex. VAR=$(ls ....)
VAREXIT=$?
echo $VAREXIT
VAREXIT is equal to 0 if the directory exist or not exist. WHI??
if i execute the command direct from line-command , the value of $? is different if... (1 Reply)
Discussion started by: ZINGARO
1 Replies
5. Shell Programming and Scripting
Hi all
I'm trying to evalute the return status of a function without much success. I've put a very basic example below to explain.
check_ok() works fine but when used within an if statement, it always returns true, whether it is true or false. I'm guessing it returns true as the function... (4 Replies)
Discussion started by: tig2810
4 Replies
6. Shell Programming and Scripting
Hello,
I have a C++ binary that runs in my perl script. But, Currently, the binary is doing a core dump and i want to capture the retrun status of the binary to report as an issue.
Can you please help me on this.
Thanks,
Sateesh (1 Reply)
Discussion started by: kotasateesh
1 Replies
7. Shell Programming and Scripting
Hello, I wanted to delete all files which are placed 14 days back. Here is my below script. My script works very well and it deletes all files 14 days back.
I wanted to display message incase if the delete script is not successful. The below script returns always successful. But the directory... (6 Replies)
Discussion started by: govindts
6 Replies
8. UNIX for Dummies Questions & Answers
there is something wrong with my system. when I do this:
diff file1 file1 && echo 1
the output is 1.
but
diff file1 file2 >/dev/null && echo 1
output nothing
while
diff file1 file2 >/dev/null || echo 1
shows 1.
the same with "grep" return status. they are both GNU utilities.... (5 Replies)
Discussion started by: phil518
5 Replies
9. Shell Programming and Scripting
Hi can you explain me, what does variables $@ and $* return and how are they used, if can give me a sample example it could be helpful.
Thanks in advance,
Regards,
Abhishek S. (1 Reply)
Discussion started by: abhisheksunkari
1 Replies
10. UNIX for Beginners Questions & Answers
How to see the status of all the ftp put & get files logs and curent ftp transfer status if any active ftp running in the background ? (2 Replies)
Discussion started by: i4ismail
2 Replies
LEARN ABOUT DEBIAN
__gnu_parallel::inner_product_selector
__gnu_parallel::inner_product_selector< It, It2, T >(3cxx) __gnu_parallel::inner_product_selector< It, It2, T >(3cxx)
NAME
__gnu_parallel::inner_product_selector< It, It2, T > -
SYNOPSIS
Inherits __gnu_parallel::generic_for_each_selector< It >.
Public Member Functions
inner_product_selector (It b1, It2 b2)
template<typename Op > T operator() (Op mult, It current)
Public Attributes
It begin1_iterator
It2 begin2_iterator
It finish_iterator
Detailed Description
template<typename It, typename It2, typename T>struct __gnu_parallel::inner_product_selector< It, It2, T >
std::inner_product() selector.
Definition at line 223 of file for_each_selectors.h.
Constructor & Destructor Documentation
template<typename It , typename It2 , typename T > __gnu_parallel::inner_product_selector< It, It2, T >::inner_product_selector (Itb1, It2b2)
[inline], [explicit]
Constructor. Parameters:
b1 Begin iterator of first sequence.
b2 Begin iterator of second sequence.
Definition at line 235 of file for_each_selectors.h.
Member Function Documentation
template<typename It , typename It2 , typename T > template<typename Op > T __gnu_parallel::inner_product_selector< It, It2, T >::operator()
(Opmult, Itcurrent) [inline]
Functor execution. Parameters:
mult Multiplication functor.
current Iterator referencing object.
Returns:
Inner product elemental result.
Definition at line 244 of file for_each_selectors.h.
References __gnu_parallel::inner_product_selector< It, It2, T >::begin1_iterator, and __gnu_parallel::inner_product_selector< It, It2, T
>::begin2_iterator.
Member Data Documentation
template<typename It , typename It2 , typename T > It __gnu_parallel::inner_product_selector< It, It2, T >::begin1_iterator
Begin iterator of first sequence.
Definition at line 226 of file for_each_selectors.h.
Referenced by __gnu_parallel::inner_product_selector< It, It2, T >::operator()().
template<typename It , typename It2 , typename T > It2 __gnu_parallel::inner_product_selector< It, It2, T >::begin2_iterator
Begin iterator of second sequence.
Definition at line 229 of file for_each_selectors.h.
Referenced by __gnu_parallel::inner_product_selector< It, It2, T >::operator()().
template<typename It > It __gnu_parallel::generic_for_each_selector< It >::finish_iterator [inherited]
Iterator on last element processed; needed for some algorithms (e. g. std::transform()).
Definition at line 48 of file for_each_selectors.h.
Author
Generated automatically by Doxygen for libstdc++ from the source code.
libstdc++ Thu Aug 2 2012 __gnu_parallel::inner_product_selector< It, It2, T >(3cxx)