XferAddFile Method

Navigation:  Reference Guide > File Transfer > Methods >

XferAddFile Method

Previous pageReturn to chapter overviewNext page

Informs MegaPipe of the name of file which will be uploaded to the remote side.

[Visual Basic]

Public Sub XferAddFile(ByVal FileName As String)

Parameters

FileName

    The relevant path name of file which will be uploaded to the remote side.

 

Remarks

All XModem protocols can only transfer 1 file during one file-transfer session, your application only

needs to call this API once for one file-transfer session.

 

YModem, YModem-G, ZModem or Kermit can upload multiple files during one file-transfer session, your application needs to call this API a few times if multiple files are uploaded.