scpDownloadDirectory method
Future<void>
scpDownloadDirectory(})
fullLocalDirectoryPathTarget
example c:\downloads
remoteDirectoryPath
example /var/www
this function work only if remote is linux debian like sytem
Implementation
Future<void> scpDownloadDirectory(
String remoteDirectoryPath,
String fullLocalDirectoryPathTarget, {
Allocator allocator = calloc,
void Function(int totalBytes, int loaded, int currentFileSize,
int countDirectory, int countFiles)?
callbackStats,
void Function(Object? obj)? printLog,
bool Function()? cancelCallback,
bool isThrowException = false,
bool updateStatsOnFileEnd = true,
bool dontStopIfFileException = false,
}) async {
await libsshBinding.scpDownloadDirectory(
mySshSession,
remoteDirectoryPath,
fullLocalDirectoryPathTarget,
allocator: allocator,
callbackStats: callbackStats,
printLog: printLog,
isThrowException: isThrowException,
cancelCallback: cancelCallback,
updateStatsOnFileEnd: updateStatsOnFileEnd,
dontStopIfFileException: dontStopIfFileException,
);
}