mget + downloading the data in a folder

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

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)

Products

Tags

Asked:

on 11 Aug 2014

Edited:

on 11 Aug 2014

Community Treasure Hunt

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

Start Hunting!