ftp_server 2.1.1
ftp_server: ^2.1.1 copied to clipboard
Dart FTP server: Read-only/read-write. Clients can list directories, get/put files, and perform standard FTP operations.
Changelog #
2.1.1 #
- Updated README documentation to include new rename commands
2.1.0 #
- Added RNFR/RNTO and RENAME commands for file and directory renaming
- Support for both PhysicalFileOperations and VirtualFileOperations
2.0.0 #
-
Added
PhysicalFileOperations
for direct access to a single physical root directory, with no virtual mapping. -
PhysicalFileOperations
allows writing, creating, and deleting files/directories at the root directory. This is the main difference fromVirtualFileOperations
, which does NOT allow writing to the virtual root (/
). -
Updated documentation and tests to cover both file operation backends, their differences, and their limitations.
-
Users can now choose between virtual mapping (multiple mapped roots) and direct physical access (single root) depending on their use case.
-
BREAKING: The
sharedDirectories
parameter is removed from FtpServer. To use shared directories, users must now create aVirtualFileOperations
instance with their desired directories and pass it to thefileOperations
parameter. See the README for updated usage and migration instructions. -
BREAKING: The
startingDirectory
parameter is removed from FtpServer. The starting directory is now handled by theFileOperations
instance (eitherVirtualFileOperations
orPhysicalFileOperations
). Both backends now accept astartingDirectory
parameter in their constructors to control the initial directory.
1.0.7 #
- Improve pub points
- Update deps versions
1.0.6+1 #
- Fixing ChangeLog Styling
1.0.6 #
- Added a getter for getting a list of active sessions
1.0.4 #
- Adding MLSD,MDTM
1.0.3 #
- Android fix ip address
- Fix race condition for passive transfer
- Added UTF8 to Feat command
1.0.2 #
- Remove flutter test Dependency
1.0.1 #
- Fix Readme.
1.0.0 #
Breaking Changes #
-
Virtual File System: Replaced
allowedDirectories
withsharedDirectories
for better directory management under a virtual root. All directories specified insharedDirectories
are now shared under a virtual root, providing a unified view of multiple directories to the FTP clients. -
Removed Flutter Dependency: The server now runs directly on Dart, removing the need for Flutter and making it lighter.
Enhancements #
-
Improved Error Handling: Added more robust error messages and safeguards for file operations.
-
Removed Legacy Code: Cleaned up old path handling logic, streamlining file operations with the new virtual file system.
0.0.7 #
- update dependencies
0.0.5 #
0.0.4 #
0.0.3 #
- Refactored to allow custom logs
0.0.2 #
- Added CDUP command
0.0.1+1 #
- update readme
0.0.1 #
- initial release.