C# Класс BenefitsAllocationUpload.Services.SftpService

Наследование: ISftpService
Показать файл Открыть проект

Открытые методы

Метод Описание
SftpService ( ) : System
UploadFile ( string filename, string schoolCode ) : void

Upload file to Accounting and Financial Services host for import into General Ledger Current Budget for Benefits Allocation.

UploadStream ( Stream dataStream, string filename, string schoolCode ) : void

Upload/write a stream to the Accounting and Financial Services SFTP server

Приватные методы

Метод Описание
GetSftpClient ( string schoolCode = null ) : SftpClient

Описание методов

SftpService() публичный Метод

public SftpService ( ) : System
Результат System

UploadFile() публичный Метод

Upload file to Accounting and Financial Services host for import into General Ledger Current Budget for Benefits Allocation.
public UploadFile ( string filename, string schoolCode ) : void
filename string Name of file to be uploaded
schoolCode string School Code of corresponding school
Результат void

UploadStream() публичный Метод

Upload/write a stream to the Accounting and Financial Services SFTP server
public UploadStream ( Stream dataStream, string filename, string schoolCode ) : void
dataStream Stream The data stream to be uploaded.
filename string The filename of the be assigned
schoolCode string The school code, defaults to "O1" (CAES).
Результат void