How do I connect to server using ftp
Afficher commentaires plus anciens
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{:});
1 commentaire
KSSV
le 17 Nov 2021
The best available option: https://in.mathworks.com/matlabcentral/fileexchange/35409-ssh-sftp-scp-for-matlab-v2
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur FTP File Operations dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!