EDI Integrator V9 - Online Help
Available for:
EDI Integrator V9
Questions / Feedback?

SendFile Method

Send the specified file to the server.

Syntax

[VB.NET]
Public Sub SendFile(ByVal LocalFile As String, ByVal VirtualFileName As String)
[C#]
public void SendFile(string localFile, string virtualFileName);

Remarks

This method connects to the server, and uploads the specified file to the server. The LocalFile parameter contains the path and name of the file to send to the server. The VirtualFileName parameter contains the virtual file name of the file being sent. If this parameter is left as an empty string, the component will use the filename contained in the LocalFile parameter by default.

Note: When SetUploadStream has been called with a valid input stream, the data will be uploaded from there instead of the LocalFile.

 
 
Copyright (c) 2018 /n software inc. - All rights reserved.
Build 9.0.6635.0