How do I connect to server using ftp

15 visualizaciones (últimos 30 días)
Simbarashe Chidzambwa
Simbarashe Chidzambwa el 17 de Nov. de 2021
Editada: Stefanie Schwarz el 8 de Jul. de 2022
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{:});

Respuesta aceptada

Shivam Singh
Shivam Singh el 1 de Dic. de 2021
Editada: Stefanie Schwarz el 8 de Jul. de 2022
Hello Simbarashe,
This is a known issue for MATLAB R2021b release. For fixes and more information, you can explore Bug Reports .

Más respuestas (0)

Etiquetas

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by