/// <summary> /// Obtain datetimestamp for remote file /// </summary> /// <param name="file"></param> /// <returns></returns> public DateTime GetDateTimestamp(FTPfileInfo file) { DateTime result = this.GetDateTimestamp(file.Filename); file.FileDateTime = result; return(result); }
/// <summary> /// Another version taking FtpFileInfo and FileInfo /// </summary> /// <param name="file"></param> /// <param name="localFI"></param> /// <param name="PermitOverwrite"></param> /// <returns></returns> public bool Download(FTPfileInfo file, FileInfo localFI, bool PermitOverwrite) { return(this.Download(file.FullName, localFI, PermitOverwrite)); }
/// <summary> /// Version taking an FtpFileInfo /// </summary> /// <param name="file"></param> /// <param name="localFilename"></param> /// <param name="PermitOverwrite"></param> /// <returns></returns> public bool Download(FTPfileInfo file, string localFilename, bool PermitOverwrite) { return(this.Download(file.FullName, localFilename, PermitOverwrite)); }