FluentFTP v20.0.0 Release Notes
Release Date: 2019-02-06 // over 5 years ago-
๐ Major release with lots of new and exciting features, and numerous fixes by our contributors. Thanks everyone!
20.0.0
- ๐ New: FTP Server software detection (PureFTPd, VsFTPd, ProFTPD, FileZilla, OpenVMS, WindowsCE, WuFTPd)
- ๐ New: Detect if the FTP server supports recursive file listing (LIST -R) command using whitelist
- ๐ New:
GetListing
will manually recurse through directories ifFtpListOption.Recursive
is set and server does not support recursion - ๐ New: Added
LastReply
property which returns the lastFtpReply
recieved from the server. - ๐ New: Added new upload option
AppendNoCheck
to append to a file on the server without checking if it exists (thanks @everbalovas) - ๐ Fix: During upload, respond to any error in 5xx series, not just 550 (thanks @stengnath)
- ๐ Fix: Various fixes to
UploadFileAsync
based on fixes already implemented inUploadFile
19.2.4
- ๐ Fix:
UploadFilesAsync
witherrorHandling
deletes the entire directory instead of specific files - ๐ Fix: Server responds to EPSV with 425 "Data connection failed" but connects with PASV (thanks @ejohnsonTKTNET)
- ๐ Fix: Use proper async configuration for .NET Async methods (thanks @ejohnsonTKTNET)
- ๐ Fix: Improve implementation of upload and download resuming in Async methods (thanks @ejohnsonTKTNET)
19.2.3
- ๐ Fix:
UploadFile()
orUploadFiles()
sometimes fails to create the remote directory if it doesn't exist - ๐ Fix:
DownloadDataType
Binary value ignored on ASCII-configured FTP servers - ๐ Performance improvement: Added
BufferedStream
betweenSslStream
andNetworkStream
(thanks @Lukazoid) - ๐ Fix: When the FTP server sends 550, transfer is received but not confirmed (thanks @stengnath)
- ๐ Fix: Make
Dispose
method ofFTPClient
virtual (thanks @martinbu) - ๐ Fix:
OpenPassiveDataStream
/Async()
uses the target FTP host instead of the configured proxy (thanks @rmja) - ๐ Fix:
FileExists()
for Xlight FTP Server (thanks @oldpepper) - ๐ Fix: FTPD "550 No files found" when folder exists but is empty, only in PASV mode (thanks @olivierSOW)
- ๐ Fix: Many unexpected EOF for remote file
IOException
on Android (thanks @jersiovic) - ๐ Fix: Race condition when
BeginInvoke
calls the callback before theIAsyncResult
is added (thanks @Lukazoid)
19.2.2
- ๐ Fix: Prevent socket poll from hammering the server multiple times per second
- ๐ Fix: Allow using absolute paths that include drive letters (Windows servers)
- ๐ Performance improvement: Only change the FTP data type if different from required type
- ๐ Performance improvement: Download all files in EOF mode and skip the file size check, unless download progress is required
- โ Added all missing async versions of FTP methods to
IFtpClient
- ๐ System: Certain core FTP socket handling operations have been changed to improve reliability & performance.
19.1.4
- ๐ Fix: Fix hang in TLS activation because no timeout is set on the underlying
NetworkStream
(thanks @iamjay)
19.1.3
- โ Added async versions of FTP methods to
IFtpClient
(thanks @peterfortuin) - ๐ Fix: Fixes when
ActivePorts
is specified in active FTP mode (thanks @ToniMontana) - ๐ Fix: Throw
OperationCanceledException
instead ofFtpException
when cancellation is requested (thanks @taoyouh)
19.1.2
- ๐ Fix: Add support for checking if file exists on Serv-U FTP Server
- ๐ Fix: Make
IFtpClient
inherit fromIDisposable
(thanks @repl-andrew-ovens) - ๐ป (UWP) Fix: UWP does not allow
File.Exists()
to run in UI thread (thanks @taoyouh)
19.1.1
- ๐ Fix: When downloading files in ASCII mode, file length is unreliable therefore we read until EOF
- ๐ Fix: When upload/download progress is indeterminate, send -1 instead of NaN or Infinity
- ๐ Fix:
NetStream
was not assigned inFtpSocketStream
for .NET Standard in active FTP mode (thanks @ralftar) - ๐ Fix:
CurrentDataType
was not set for ASCII transfers inDownloadFileAsync
/UploadFileAsync
(thanks @taoyouh) - ๐ Fix: Sometimes
FtpSocketStream
andFtpDataStream
are not disposed inFtpSocketStream.Dispose
(thanks @taoyouh)
19.1.0
- ๐ New Progress reporting for
UploadFile
&DownloadFile
methods viaIProgress
- ๐ Fix:
Stream.Position
should not be set inUploadFileInternal
unless supported
19.0.0
- ๐ New Task-based async methods for .NET Standard and .NET Fx 4.5 (thanks @taoyouh)
- ๐ New async methods for
UploadFile
,DownloadFile
,UploadFiles
&DownloadFiles
(thanks @artiomchi) - (UWP) Fix:
FileNotFoundException
with referenceSystem.Console
(thanks @artiomchi) - (.NET core) Fix: Thread suspends when calling
UploadFile
orDownloadFile
(thanks @artiomchi) - (.NET core) Fix: File download hangs inconsistently when reading data from stream (thanks @artiomchi, @bgroenks96)
- (.NET core) Fix: Stream does not dispose due to wrong handling of closing/disposing (thanks @artiomchi)
- ๐ Fix: File upload EOS bug when calling
Stream.Read
(thanks @bgroenks96, @artiomchi, @taoyouh) - ๐ Fix:
DownloadFileInternal
not recognizing the download data type
withEnableThreadSafeConnections
(thanks @bgroenks96) - (Backend) Migrate to a single VS 2017 solution for all frameworks (thanks @artiomchi)
- (Backend) Continuous Integration using AppVeyor (thanks @artiomchi)
18.0.1
- โ Add
IFtpClient
interface to build unit tests upon mainFtpClient
class (thanks Kris0) - Disposing
FtpDataStream
reads server reply and closes the underlying stream (thanks Lukazoid)
18.0.0
- ๐ New
SetModifiedTime
API to change modified date of a server file in local timezone/UTC - โ Add type argument to
GetModifiedTime
, allowing for getting dates in UTC/Local timezone - ๐ฅ Breaking changes to Async API of
GetModifiedTime
(addition of type argument) GetModifiedTime
andSetModifiedTime
now honor theTimeOffset
property inFtpClient
- โ Add
checkIfFileExists
toOpenRead
,OpenAppend
andOpenWrite
to skipGetFileSize
check - ๐ Fix issue where
InnerException
is null during a file transfer (upload/download) - ๐ Improve performance of typical uploads/downloads by skipping the extra file exists check
17.6.1
- ๐ Fix for
CreateDirectory
andDirectoryExists
to allow null/blank input path values - ๐ Fix for
GetFtpDirectoryName
to return correct parent folder of simple folder paths (thanks ww898)
17.6.0
- โ Add argument validation for missing/blank arguments in :
Upload, Download, UploadFile(s), DownloadFile(s), GetObjectInfo, DeleteFile, DeleteDirectory, FileExists, DirectoryExists, CreateDirectory, Rename, MoveFile, MoveDirectory, SetFilePermissions, Chmod, GetFilePermissions, GetChmod, GetFileSize, GetModifiedTime, VerifyTransfer, OpenRead, OpenWrite, OpenAppend
- ๐ป Disable all async methods on .NET core due to persistant
PlatformUnsupported
exception (if you need async you are free to contribute a non-blocking version of the methods)
17.5.9
- ๐ Increase performance of
GetListing
by reading multiple lines at once (BulkListing property, thanks sierrodc)
17.5.8
- โ Add support for parsing AS400 listings inside a file (5 fields) (thanks rharrisxtheta)
- Retry interpreting file listings after encountered invalid date format (thanks rharrisxtheta)
- Always switch into binary mode when running SIZE command (thanks rharrisxtheta)
17.5.7
- ๐ Honor
UploadDataType
andDownloadDataType
in all sync/async cases (thanks rharrisxtheta) - ๐ฎ Force file transfers in BINARY mode for known 0 byte files (thanks rharrisxtheta)
- ๐ Allow file transfers in ASCII mode if the server doesn't support the SIZE command (thanks rharrisxtheta)
17.5.6
- ๐ Fix
NullReferenceException
when arguments are null duringFtpTrace.WriteFunc
17.5.5
- โ Remove internal locking for .NET Standard 1.4 version since unsupported on UWP
17.5.4
- โ Remove dependency on
System.Threading.Thread
for .NET Standard 1.4 version (for UWP)
17.5.3
- ๐ Allow transferring files in ASCII/Binary mode with the high-level API (UploadDataType, DownloadDataType)
17.5.2
- โ Add support for .NET 3.5 and .NET Standard 1.4 (supports Universal Windows Platform 10.0)
17.5.1
- โ Add
FtpTrace.LogToConsole
andLogToFile
to control logging in .NET core version
17.5.0
- โ Add
PlainTextEncryption
API to support FTPS servers and plain-text FTP firewalls (CCC command) - ๐ FluentFTP now uses unsafe code to support the CCC command (inside
FtpSslStream
) - If you need a "non unsafe" version of the library please add an issue
17.4.4
- โ Add logging for high-level function calls to improve remote debugging (
FtpTrace.LogFunctions
) - โ Add settings to hide sensitive data from logs (
FtpTrace.LogIP
,LogUserName
,LogPassword
) - โ Add
RecursiveList
to control if recursive listing should be used - ๐ Auto-detect Windows CE and disable recursive listing during
DeleteDirectory()
Previous changes from v17.4.2
-
๐ Major release with lots of new and exciting features:
17.4.2
- โ Add UploadRateLimit and DownloadRateLimit to control the speed of data transfer (thanks Danie-Brink)
17.4.1
- ๐ Fix parsing of LinkTarget during GetListing() on Unix FTP servers
- ๐ Improve logging clarity by removing "FluentFTP" prefix in TraceSource
17.4.0
- โ Add MoveFile() and MoveDirectory() to move files and directories safely
17.3.0
- Automatically verify checksum of a file after upload/download (thanks jblacker)
- ๐ง Configurable error handling (abort/throw/ignore) for file transfers (thanks jblacker)
- ๐ฒ Multiple log levels for tracing/logging debug output in FtpTrace (thanks jblacker)
17.2.0
- Simplify DeleteDirectory() API - the
force
andfastMode
args are no longer required - โ DeleteDirectory() is faster since it uses one recursive file listing instead of many
17.1.0
- Split stream API into Upload()/UploadFile() and Download()/DownloadFile()
17.0.0
- ๐ Greatly improve performance of FileExists() and GetNameListing()
- โ Add new OS-specific directory listing parsers to GetListing() and GetObjectInfo()
- ๐ Support GetObjectInfo() even if machine listings are not supported by the server
- โ Add
existsMode
to UploadFile() and UploadFiles() allowing for skip/overwrite and append - โ Remove all usages of string.Format to fix reliability issues caused with UTF filenames
- ๐ Fix issue of broken files when uploading/downloading through a proxy (thanks Zoltan666)
- GetReply() is now public so users of OpenRead/OpenAppend/OpenWrite can call it after
16.5.0
- โ Add async/await support to all methods for .NET 4.5 and onwards (thanks jblacker)
16.2.5
- โ Add UploadFiles() and DownloadFiles() which is faster than single file transfers
- ๐ Allow disabling UTF mode using DisableUTF8 API
16.2.4
- ๐ First .NET Core release (DNXCore5.0) using Visual Studio 2017 project and shared codebase.
- ๐ Support for .NET 2.0 also added with shims for LINQ commands needed.
16.2.1
- โ Add FtpListOption.IncludeSelfAndParent to GetListing()
16.1.0
- ๐ Use streams during upload/download of files to improve performance with large files