StatusURL Property

 Object: ResumeInfo
 Syntax: oResumeInfo.StatusUrl [=URL]
 Type: String
 Default Value: None
 Read/Write: Read/Write
 Description: To create a resumable upload application, you must use FileUpEE to handle the server-side file transfer processing. FileUpEE saves information about the upload request in a database on the server. Before resuming a failed upload, XFile gets status information about the failed upload (the number of bytes received on the server so far) from FileUpEE. StatusUrl specifies the URL of the FileUpEE status script to which XFile will send the upload status request. The FileUpEE page specified by StatusUrl retrieves the upload status from the database, and sends it to XFile.
 Example:
        
... 
Set XFileResumeInfo = SAXFile.ResumeInfo
            
'--- Set Resumable to True to allow the upload to be resumed.
XFileResumeInfo.Resumable = True 

'--- If CacheRequest is set to XFile will save copies of the 
'--- files to upload before sending the upload request. In a resumable 
'--- upload, enabling CacheRequest guarantees the integrity of 
'--- the resumed request.
XFileResumeInfo.CacheRequest = 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.