InfoConnect for Unisys
SendFile Method (IFileTransfer)


The pathname to the local PC file to transfer. The value cannot be null or empty.
Specifies a name for the file being transferred. This name must comply with naming conventions for host files. The value cannot be null or empty.
Uploads a file to the host.
Syntax
'Declaration
 
Sub SendFile( _
   ByVal pcFile As String, _
   ByVal hostFile As String _
) 
'Usage
 
Dim instance As IFileTransfer
Dim pcFile As String
Dim hostFile As String
 
instance.SendFile(pcFile, hostFile)
void SendFile( 
   string pcFile,
   string hostFile
)

Parameters

pcFile
The pathname to the local PC file to transfer. The value cannot be null or empty.
hostFile
Specifies a name for the file being transferred. This name must comply with naming conventions for host files. The value cannot be null or empty.
See Also