ftpclient 0.3.0 ftpclient: ^0.3.0 copied to clipboard
A simple dart FTP Client Library to interact with FTP Servers
A small and simple FTP Client library for Dart Native.
Usage #
Add the following dependency to the pubspec.yaml
dependencies:
ftpclient: ^0.3.0
How to use the FTP Client:
import 'dart:io';
import 'package:ftpclient/ftpclient.dart';
main() {
FTPClient ftpClient = new FTPClient('example.com', user: 'myname', pass: 'mypass');
ftpClient.connect();
ftpClient.uploadFile(new File('test.zip'));
ftpClient.disconnect();
}
For a complete example, see the examples in the example folder!