See mget problem for a similar issue, and (hopefully!) a solution for you! It discusses changing the directory at the server prior to the mget call to avoid all the extra folder info.
mget + downloading the data in a folder
4 次查看(过去 30 天)
显示 更早的评论
Hi
I want to download data from a a server. I can do that easily but the problem is it saves the data in the path I want, I adds all the paths that also downloaded the data from.
For example I put
mget(ftpobj,path_TMI,'E:/a/');
to save data in E:/ in "a" folder, but it saves them as E:/a/pub/.../month/day
How can I save them in just E:/a and not all the extra paths?
Thanks,
Farz Tak
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 FTP File Operations 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!