フィルターのクリア

mget error for NCBI server

2 ビュー (過去 30 日間)
Ekaterina Avershina
Ekaterina Avershina 2018 年 9 月 17 日
コメント済み: Helper 2018 年 9 月 24 日
I need to download .sra files from the NCBI ftp server, if i use wget(wget <ftp://ftp-trace.ncbi.nih.gov/long_path/SRRxxxxxx.sra)>, i get the file downloaded. However if i try doing it within matlab, i get an error message if i put the name file or an empty cell in case i try getting all files with a given extension. What can the problem be?
ftpg=ftp('ftp-trace.ncbi.nih.gov');
mget(ftpg,'/long_path/SRRxxxxx.sra','try')
Output: Error using ftp/mget (line 67) Cannot create "try/long_path/SRRxxxxx.sra".
  1 件のコメント
Helper
Helper 2018 年 9 月 24 日
Removing the "try" may work.
Please check the documentation link:
https://www.mathworks.com/help/matlab/ref/ftp.mget.html#d120e785463

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeFTP File Operations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by