public override GenericUploader CreateUploader(UploadersConfig config, TaskReferenceHelper taskInfo) { return(new Dropbox(config.DropboxOAuth2Info) { UploadPath = NameParser.Parse(NameParserType.Default, Dropbox.VerifyPath(config.DropboxUploadPath)), AutoCreateShareableLink = config.DropboxAutoCreateShareableLink, UseDirectLink = config.DropboxUseDirectLink }); }
public override GenericUploader CreateUploader(UploadersConfig config, TaskReferenceHelper taskInfo) { return(new Dropbox(config.DropboxOAuth2Info) { UploadPath = NameParser.Parse(NameParserType.URL, Dropbox.VerifyPath(config.DropboxUploadPath)), AutoCreateShareableLink = config.DropboxAutoCreateShareableLink, ShareURLType = config.DropboxURLType, AccountInfo = config.DropboxAccountInfo }); }