How do I connect to server using ftp
Show older comments
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 Comment
KSSV
on 17 Nov 2021
The best available option: https://in.mathworks.com/matlabcentral/fileexchange/35409-ssh-sftp-scp-for-matlab-v2
Accepted Answer
More Answers (0)
Categories
Find more on FTP File Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!