01-08-2017
Quote:
Originally Posted by
Don Cragun
In addition to what stomp already said... Download the checksum in a separate file AFTER the download of the main file completes on the server that is downloading the files. Then just look for the 2nd file containing the checksum on the receiving client instead of monitoring the download of the 1st file.
Thanks stomp
Hello Mr. Don, the third party is sending us a zip file , presently they are not sending checksum but it is a good idea to ask them also to send checksum. But i don't understand by your statement
PHP Code:
Download the checksum in a separate file AFTER the download of the main file
. I guess i need to compare checksum of the file at our end with the checksum of what the other party would send ? . In that case also i need to watch continuously if the checksum have matched or not by using the same while loop. I also don't understand why not to monitoring the file.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello All,
Currently working with CGI scripts in perl which involves
a) uploading
b) processing
c) downloading the file back to the user
uploading and processing quite trivial and they are done
Third part is kind of being tricky.
Excel file in binary format is getting displayed in the... (4 Replies)
Discussion started by: matrixmadhan
4 Replies
2. Shell Programming and Scripting
I want to automatically download a CSV file daily which can be found here:
London Stock Exchange - Search
and the link is named "Click to download covered warrants (100Kb)" on the right hand side.
What commands can I use to invoke clicking on this link and initiating the download? And also... (2 Replies)
Discussion started by: figaro
2 Replies
3. Shell Programming and Scripting
Hi,
I need to write a script to download a file (say http: //www.mysite.com/myfile.txt) from the internet (please note that the file is on http not ftp).
Please let me know if there is any method other than wget.
Thanks,
Chetan (4 Replies)
Discussion started by: chetanpc
4 Replies
4. Shell Programming and Scripting
Hi,
I am newbie in Perl/CGI and I need your help to develop a little script to help me to download some files located in a FTP server via HTTP to a disk.
I need to authenticate with username/password via a HTTP page and I can choose the files to download from the web page to my disk.
Can... (2 Replies)
Discussion started by: imad77
2 Replies
5. UNIX for Dummies Questions & Answers
Hi,
Which command I can use to download a file from website?
I tried with wget and lwp-dowload but no gain.
Can any one suggest me the good way to dowload? (2 Replies)
Discussion started by: siba.s.nayak
2 Replies
6. Shell Programming and Scripting
Im trying to write a perl code to do the following task.
I have a website which is located in a diffirent country.
I want to download a file from that site everyday.
The file name keeps on changing everyday.
say the file name is CTP-latest-5.3.0.37.iso
next day it may change to... (0 Replies)
Discussion started by: srijith
0 Replies
7. UNIX for Dummies Questions & Answers
Hi All,
We have a Unix program in oracle when we run the program this connects to specified ftp and will get the file into local server.
We are facing a problem like when file writing operations is not completed, this program is getting the incomplete file.
Could anyone please help me... (2 Replies)
Discussion started by: world.apps
2 Replies
8. Shell Programming and Scripting
Hi All ,
I need a help regarding file ftp ing from mainframe to unix.Our source file is mainframe file.I need to download the mainframe file to local unix server through unix script.If anyone can help me how we can do it through unix script ,it will be really helpful.Thanks. (7 Replies)
Discussion started by: STCET22
7 Replies
9. UNIX for Beginners Questions & Answers
I saved to disk using lynx, under ls it shows up but no matter what I have done back comes the statment no such file.
How do you erase these ls false readings or open what ls shows? (9 Replies)
Discussion started by: Jackbird
9 Replies
LEARN ABOUT DEBIAN
shishi_authenticator_set_cksum
shishi_authenticator_set_cksum(3) shishi shishi_authenticator_set_cksum(3)
NAME
shishi_authenticator_set_cksum - API function
SYNOPSIS
#include <shishi.h>
int shishi_authenticator_set_cksum(Shishi * handle, Shishi_asn1 authenticator, int32_t cksumtype, char * cksum, size_t cksumlen);
ARGUMENTS
Shishi * handle
shishi handle as allocated by shishi_init().
Shishi_asn1 authenticator
authenticator as allocated by shishi_authenticator().
int32_t cksumtype
input checksum type to store in authenticator.
char * cksum
input checksum data to store in authenticator.
size_t cksumlen
size of input checksum data to store in authenticator.
DESCRIPTION
Store checksum value in authenticator. A checksum is usually created by calling shishi_checksum() on some application specific data using
the key from the ticket that is being used. To save time, you may want to use shishi_authenticator_add_cksum() instead, which calculates
the checksum and calls this function in one step.
RETURN VALUE
Returns SHISHI_OK iff successful.
REPORTING BUGS
Report bugs to <bug-shishi@gnu.org>.
COPYRIGHT
Copyright (C) 2002-2010 Simon Josefsson.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
SEE ALSO
The full documentation for shishi is maintained as a Texinfo manual. If the info and shishi programs are properly installed at your site,
the command
info shishi
should give you access to the complete manual.
shishi 1.0.1 shishi_authenticator_set_cksum(3)