downloadFile method

Future<bool> downloadFile(
  1. String? sRemoteName,
  2. File fFile, {
  3. FileProgress? onProgress,
})

Download the Remote File sRemoteName to the local File fFile

Implementation

Future<bool> downloadFile(
  String? sRemoteName,
  File fFile, {
  FileProgress? onProgress,
}) {
  return FTPFile(_socket)
      .download(sRemoteName, fFile, onProgress: onProgress);
}