Downloads the specified file from the FTP server and copies it to the
Destination directory. This method uses a buffer of a size specified by
BufferLength.
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 DownloadFile ( _
sourceFilePath As String, _
stream As FileStream _
) As String |
Parameters
- sourceFilePath
- Type: System.String
The fully qualified path to the file.
- stream
- Type: System.IO.FileStream
The stream to which to write data from the buffer. This method does not close the stream.
Return Value
A status message sent from the FTP server.