VeriStand .NET API Reference

FTPBase.UploadFile Method (String, String)

Uploads a file to the FTP server with a new filename.

Namespace: NationalInstruments.VeriStand.StimulusProfileDefinitionApi
Assembly: NationalInstruments.VeriStand.RealTimeSequenceDefinitionApi (in NationalInstruments.VeriStand.RealTimeSequenceDefinitionApi.dll) Version: 2013.0.0.0 (2013.0.0.0)
Visual Basic (Declaration)
Protected Function UploadFile ( _
	filePath As String, _
	fileNameOnServer As String _
) As String
C#
protected string UploadFile(
	string filePath,
	string fileNameOnServer
)
Visual C++
protected:
String^ UploadFile(
	String^ filePath, 
	String^ fileNameOnServer
)

Parameters

filePath
Type: System.String
The fully qualified path of the file to upload.
fileNameOnServer
Type: System.String
The filename to create on the FTP server.

Return Value

A status message sent from the FTP server.

See Also

Log in to get a better experience