How do I connect to server using ftp
조회 수: 9 (최근 30일)
이전 댓글 표시
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
KSSV
2021년 11월 17일
The best available option: https://in.mathworks.com/matlabcentral/fileexchange/35409-ssh-sftp-scp-for-matlab-v2
채택된 답변
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 FTP File Operations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!