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
  1 个评论
Geoff Hayes
Geoff Hayes 2014-8-11
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.

请先登录,再进行评论。

回答(0 个)

标签

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by