C# Class CdnHookToFtp.JobsModule

Inheritance: Nancy.NancyModule
Show file Open project: cardeliverynetwork/openapi.net

Public Methods

Method Description
JobsModule ( ) : System

Private Methods

Method Description
GetFtpRequest ( string requestUriString, string ftpUser, string ftpPass, string method ) : FtpWebRequest

Creates an ftp request with the specified credentias and method

GetRequestType ( Request request ) : RequestType

Get the request type (base on Content-Type) of the specified request

GetSetting ( string name ) : string

Gets the specified setting from the system environment or web.config, in that order

UpdateJob ( dynamic _ ) : Response
UploadFileToFtp ( string ftpHost, string ftpUser, string ftpPass, Stream stream, string ftpFileName ) : void

Uploads the specified stream to FTP

Method Details

JobsModule() public method

public JobsModule ( ) : System
return System