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 commentaire

Geoff Hayes
Geoff Hayes le 11 Août 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.

Connectez-vous pour commenter.

Réponses (0)

Produits

Tags

Question posée :

le 11 Août 2014

Modifié(e) :

le 11 Août 2014

Community Treasure Hunt

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

Start Hunting!

Translated by