i can able to transfer a file from build server(AIX)to webserver using ksh through ftp.my query is to check the existence of file while transfering from one server to other .i.e i need some command or script that checks the existence of file with same name in both server,within ftp syntax.
... (1 Reply)
we have tranferred an ear from local server to remote server using ftp.consider, we have an ear file named a.ear in remote server,again if we transfer the same file named a.ear from local server to remote server.we need the kshell to check the existence of the ear file in remote server,and if the... (3 Replies)
Hello
I am having a requirement like if there is no file in the directory then i need a message to pop on after the execution of the script.
My script basically does for File in `ls -t $DIRECTORY | tail -1`;
if there is no file the DIRECTORY then the script is simply exiting with out... (2 Replies)
I have requirement where i need to search for files which start with SALESORDER and PURCHASEORDER. i need to process the files with SALESORDER first and then PURCHASEORDER. If SALESORDER files are not there i dont want to process PURCHASEORDER and i want to come out of script. I have written a code... (4 Replies)
Hi All,
I have shell script and I need to check if some directory exist.
I'm don't have the information if that directory is written in upper case or lowcase or mixed.
Is there anyway to check the existence of that directory by ignoring
case senestive?
Thanks (3 Replies)
i want to check if the file is in the directory or not, and also it should be handle error conditions, like missing files and report the error and exit.
i did something like this:
file ="hello"
if !test -e "${file}"
then echo "No such files exist!"
exit 1
else
do something.......
fi
... (1 Reply)
I need to check for the existence of a file *.log in a specific directory using a perl script.
Presently am not in that particular directory.
So i am using chdir ("/path/to/my/file)
And then i am using the -e in an if statement to check if it exists.
if (-e $File) {......}
$File contains the... (1 Reply)
Hi,
We have some config file and there we are looking to append a line if it is not found.
abc.conf
authpriv.* /var/log/secure
mail.* -/var/log/maillog
*.debug @vxhgt-hskhng02
cron.* ... (12 Replies)
hi
i wanted to check if the file exist or not(multiple files)
DIRE=/home/V478
if ;
then
echo "file present"
else
echo "file not present"
fi
But i am getting the error as
: [: unexpected operator/operand (3 Replies)
Hey all
what is the command to check "Check for existence of crash/coredump files in /var/crash/"hostname" directory"
thanks for help (4 Replies)
Discussion started by: gema.utama
4 Replies
LEARN ABOUT CENTOS
ldns_dnssec_verify_denial
ldns(3) Library Functions Manual ldns(3)NAME
ldns_dnssec_verify_denial, ldns_dnssec_verify_denial_nsec3
SYNOPSIS
#include <stdint.h>
#include <stdbool.h>
#include <ldns/ldns.h>
ldns_status ldns_dnssec_verify_denial(ldns_rr *rr, ldns_rr_list *nsecs, ldns_rr_list *rrsigs);
ldns_status ldns_dnssec_verify_denial_nsec3(ldns_rr *rr, ldns_rr_list *nsecs, ldns_rr_list *rrsigs, ldns_pkt_rcode packet_rcode,
ldns_rr_type packet_qtype, bool packet_nodata);
DESCRIPTION
ldns_dnssec_verify_denial() denial is not just a river in egypt
rr: The (query) RR to check the denial of existence for
nsecs: The list of NSEC RRs that are supposed to deny the existence of the RR
rrsigs: The RRSIG RR covering the NSEC RRs
Returns LDNS_STATUS_OK if the NSEC RRs deny the existence, error code containing the reason they do not otherwise
ldns_dnssec_verify_denial_nsec3() Denial of existence using NSEC3 records Since NSEC3 is a bit more complicated than normal denial, some
context arguments are needed
rr: The (query) RR to check the denial of existence for
nsecs: The list of NSEC3 RRs that are supposed to deny the existence of the RR
rrsigs: The RRSIG rr covering the NSEC RRs
packet_rcode: The RCODE value of the packet that provided the NSEC3 RRs
packet_qtype: The original query RR type
packet_nodata: True if the providing packet had an empty ANSWER section
Returns LDNS_STATUS_OK if the NSEC3 RRs deny the existence, error code containing the reason they do not otherwise
AUTHOR
The ldns team at NLnet Labs. Which consists out of Jelte Jansen and Miek Gieben.
REPORTING BUGS
Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at http://www.nlnetlabs.nl/bugs/index.html
COPYRIGHT
Copyright (c) 2004 - 2006 NLnet Labs.
Licensed under the BSD License. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
SEE ALSO
ldns_dnssec_trust_tree, ldns_dnssec_data_chain. And perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035.
REMARKS
This manpage was automaticly generated from the ldns source code by use of Doxygen and some perl.
30 May 2006 ldns(3)