SetFTPShowError

 

Enables or disables the error message box after unsuccessful FTP uploads for the FTP connection identified by dwConnectionID. When enabled, the printer driver shows an error message box after each unsuccessful FTP upload, if the print job was not printed from a service.

 

SetFTPShowError (pDevMode As Long, iConnectionID As Integer, bEnable As Boolean) As Boolean

 

Input value pDevMode:

Handle to the BlackIceDEVMODE.

 

Input value iConnectionID:

The ID of the selected FTP connection. The ID can be attained by using the GetFTPConnectionByIndex, GetFTPConnectionByName, GetSelectedFTPConnection or the AddFTPConnection methods.

 

Input value bEnable:

Set to True to enable the error message box, or False to disable it.

 

Return value:

True on success, otherwise False.

 

NOTE: For 32-bit applications, use pDevMode as Integer, instead of Long.