Upload the file specified by the properties of this object with progress events posted to the specified listener.
Public Function UploadFile(
ByVal listener As ULFileTransferProgressListener
) As Boolean
public bool UploadFile(ULFileTransferProgressListener listener)
listener The object that receives file transfer progress events.
True if successful, false otherwise (check ULFileTransfer.StreamErrorCode and other status properties for reason).
The file specified by the ULFileTransfer.FileName is uploaded to the MobiLink server from the ULFileTransfer.LocalPath using the ULFileTransfer.Stream, ULFileTransfer.UserName, ULFileTransfer.Password, and ULFileTransfer.Version.
A detailed result status is reported in this object's ULFileTransfer.AuthStatus, ULFileTransfer.AuthValue, ULFileTransfer.FileAuthCode, ULFileTransfer.TransferedFile, ULFileTransfer.StreamErrorCode, and ULFileTransfer.StreamErrorSystem.
Errors may result in no data being sent to the listener.
![]() |
Discuss this page in DocCommentXchange.
|
Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |