Copyright © 2008-2018 MultiMedia Soft

CancelUploadToFTP method

Previous pageReturn to chapter overviewNext page



Stops an existing FTP session started through a call to the RequestUploadSessionToFTP or RequestUploadFileToFTP methods.


A successful call to this method will fire the SoundUploadDone event.

An example of use of this method can be found inside the UploadSoundToFTP sample.





[Visual Basic]

control.CancelUploadToFTP (

) as enumErrorCodes



short control.CancelUploadToFTP (




Return value






Negative value

An error occurred, check the LastError property value in order to see the error code meaning

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.