VerifyChecksums Property

 Object: ResumeInfo
 Syntax: oResumeInfo.VerifyChecksums [=Boolean]
 Type: Boolean
 Default Value: False
 Read/Write: Read/Write
 Description: In a resumable file transfer, if the request was not cached (that is, if CacheRequest is set to false), VerifyChecksums tells the XFRequest object to verify that the files to transfer were not modified, before resuming the file transfer. If the files were modified, an error will occur.
 Example:
        
... 
Set XFileResumeInfo = SAXFile.ResumeInfo

'--- Set Resumable to True to allow the upload to be resumed.
XFileResumeInfo.Resumable = True 

'--- If CacheRequest is set to false XFile will not save copies of the 
'--- files to upload before sending the upload request. XFile will only 
'--- save information about the upload. 
XFileResumeInfo.CacheRequest = False 

'--- If CacheRequest is false, enable VerifyChecksums to make sure 
'--- that the files to upload were not modified between the initial 
'--- upload request and the resume request. 
XFileResumeInfo.VerifyChecksums = True 

'--- StatusUrl specifies the URL of the FileUpEE status script 
'--- to which XFile will send the upload status request, when 
'--- resuming an upload. 
XFileResumeInfo.StatusUrl = "http://localhost/XFileResumeUpload/status.asp" 
... 

      

Copyright © 2010 SoftArtisans, Inc. All rights reserved.