C# Class PBAccelerator.FTPHandler

Contains information that allows the user to send a file via FTP. @Author = Ndubisi Onuora
Datei anzeigen Open project: GFTUSA/GFTInternal Class Usage Examples

Public Methods

Method Description
sendFile ( String fName, String &errMsg ) : bool

Uses WinSCP to send the specified file.

Private Methods

Method Description
generateWinSCPSendFileScript ( ) : void

Generates the script that WinSCP will run in order for it to send the file. The script will change depending on the FTPMode

Method Details

sendFile() public method

Uses WinSCP to send the specified file.
public sendFile ( String fName, String &errMsg ) : bool
fName String The filename of the file to send.
errMsg String Whatever error message the program returns.
return bool