How do I connect to server using ftp

23 ビュー (過去 30 日間)
Simbarashe Chidzambwa
Simbarashe Chidzambwa 2021 年 11 月 17 日
編集済み: Stefanie Schwarz 2022 年 7 月 8 日
How do I connect to a server using ftp because I am getting an error message as below when I use "ftpobj=ftp("ftp.ngdc.noaa.gov")":
>> ftpobj=ftp("ftp.ngdc.noaa.gov")
Error using matlab.io.internal.ftp.FTPHelper/connect (line 22)
Could not open a connection to "ftp.ngdc.noaa.gov", port "21".
Error in matlab.io.internal.ftp.FTPHelper (line 37)
connect(obj);
Error in matlab.io.internal.ftp.FTP (line 79)
h.helper = matlab.io.internal.ftp.FTPHelper(host, username, password, ...
Error in ftp (line 17)
h = matlab.io.internal.ftp.FTP(host, varargin{:});

採用された回答

Shivam Singh
Shivam Singh 2021 年 12 月 1 日
編集済み: Stefanie Schwarz 2022 年 7 月 8 日
Hello Simbarashe,
This is a known issue for MATLAB R2021b release. For fixes and more information, you can explore Bug Reports .

その他の回答 (0 件)

カテゴリ

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

タグ

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by