mget + downloading the data in a folder

4 views (last 30 days)
Farz Tak
Farz Tak on 11 Aug 2014
Edited: Star Strider on 11 Aug 2014
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 Comment
Geoff Hayes
Geoff Hayes on 11 Aug 2014
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.

Sign in to comment.

Answers (0)

Tags

Products

Community Treasure Hunt

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

Start Hunting!