Resume Method

 Object: XFRequest
 Syntax: XFRequest.Resume (RequestRecord as Object or JobId as String, [optional StartAsynch as Boolean = False])
 Parameters:
  • RequestRecord or JobId
  • (optional) a boolean value for whether the resume is asynchronous or not (False by default)
 Return Value: None
 Description: Resumes the failed file transfer request specified by the RequestRecord or JobId.
 Example:
        
'--- Subroutine to run when the user clicks a Resume button:
Sub ResumeButton_onClick()
    MsgBox "Resuming."

    '--- Disable the Resume button once it's been clicked 
    document.all("ResumeButton").disabled = true

    '--- Call Resume and pass the current JobID to resume
    '--- the file transfer.
    SAXFile.Resume SAXFile.ResumeInfo.JobId

    '--- Show the server response in the Upload Status Messages
    '--- section on the page. 
    UploadStatusTD.InnerHTML = SAXFile.Response
end sub 
      

Copyright © 2010 SoftArtisans, Inc. All rights reserved.