private IFileTransfer SetCredentials(ActivityContext context, IFileTransfer transporter) { if (UserName.Get(context).ContainsCharacters() && Password.Get(context).ContainsCharacters()) { transporter.SetUserNameAndPassword(UserName.Get(context), Password.Get(context)); } return(transporter); }