How to download multiple folders using mget?
Ältere Kommentare anzeigen
Hi,
Wondering if it is possible to use mget to download multiple folders?, where each folder has multiple files.
Here is my attempt...
clc, clear
username = 'xxx';
password = 'xxx';
ftpobj = ftp('ftp.blablabla',username,password);
cd(ftpobj, '/Forlder3/Forlder2/Forlder1');
dir(ftpobj)
mget(ftpobj,'C:\MyFolder');
% I believe to help with query...
hs = struct(ftpobj);
hs.jobject.setConnectionTimeout(50);
Thanks!
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu FTP File Operations finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!