C# Class PBAccelerator.FTPHandler

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

Méthodes publiques

Méthode Description
sendFile ( String fName, String &errMsg ) : bool

Uses WinSCP to send the specified file.

Private Methods

Méthode 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 méthode

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.
Résultat bool