protected abstract bool InternalGetProperties(string remotePath, FtpFileProperties properties);
protected override bool InternalGetProperties(string remotePath, FtpFileProperties properties) { return false; }
public override FtpFileProperties GetProperties(string remotePath) { ArgumentCheck.Assigned(remotePath, "remotePath"); var fileProperties = new FtpFileProperties("", FtpFileType.Unknown); try { InvokeFtpOperation(FtpOperation.List, () => InternalGetProperties(remotePath, fileProperties)); } catch (FtpException e) { if (e.ExceptionType != FtpExceptionType.OperationFailure) { throw; } } return fileProperties; }