(Matlab 2021b) Error with sftp function

조회 수: 14 (최근 30일)
Jorge Zambrano
Jorge Zambrano 2021년 10월 19일
댓글: Vincent 2025년 8월 20일
Hi Everyone,
I have some errors with the use of sftp function to get download file from sftp (secure ftp). I'm trying to...
s = sftp('server','user','Password','pwsd')
mget(s,'FILE_npos_20211015.csv','ROOT\');
close(s)
I can get the file in my folder but with 0 bytes for size...
Error using matlab.io.ftp.internal.matlab.mget
FTP error: 0. See FTP server return codes for more information.
Error in matlab.io.FTP/mget>recursiveDownload (line 110)
matlab.io.ftp.internal.matlab.mget(obj.Connection, options);
Error in matlab.io.FTP/mget (line 68)
location = cellstr(recursiveDownload(obj, dirStruct, fullRemoteDirPath, ...
Thanks in advance!
Regards,
Jorge
  댓글 수: 1
Vincent
Vincent 2025년 8월 20일
I am having the same issue with matlab 2024a

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 FTP File Operations에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by