How do I connect to server using ftp
20 views (last 30 days)
Show older comments
Simbarashe Chidzambwa
on 17 Nov 2021
Edited: Stefanie Schwarz
on 8 Jul 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{:});
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
Shivam Singh
on 1 Dec 2021
Edited: Stefanie Schwarz
on 8 Jul 2022
Hello Simbarashe,
This is a known issue for MATLAB R2021b release. For fixes and more information, you can explore Bug Reports .
0 Comments
More Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing 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!