Press on the image to return to the main documentation page.
NetExtras
Written by B4A Net library modified by Martin Pearman
NetExtras is a modified version of the official B4A Net library. FTPResume is a modified version of the FTP Object. It's DownloadFileResume replaces DownloadFile and it's UploadFileResume replaces UploadFile. Both of these two new methods support resume of incomplete file download and upload. SMTPExtras is a modified version of the SMTP object. It has been modified to allow additional (custom) header fields to be added to the outgoing email, and control over the connection timeout periods. NetExtras is based on version 1.52 of the B4A Net library.
CommandCompleted (Command As String, Success As Boolean, ReplyCode As Int, ReplyString As String) DeleteCompleted (ServerPath As String, Success As Boolean) DownloadCompleted (ServerPath As String, Success As Boolean) DownloadProgress (ServerPath As String, TotalDownloaded As Long, Total As Long) ListCompleted (ServerPath As String, Success As Boolean, Folders() As FTPEntry, Files() As FTPEntry) UploadCompleted (ServerPath As String, Success As Boolean) UploadProgress (ServerPath As String, TotalUploaded As Long, Total As Long)
SMTP object allows you to send emails with no user intervention and without relying on the device installed mail clients. Both text messages and Html messages are supported as well as file attachments. There are two encryption modes supported: UseSSL and StartTLSMode. UseSSL means that the connection will be based on a SSL connection right from the start. StartTLSMode means that the connection will only be upgraded to SSL after the client send the STARTTLS command. Most SMTP servers support this mode. Gmail for example supports both modes. UseSSL on port 465 and StartTLSMode on port 587.