Running dir() or mget() on FTP object causes MATLAB to crash
2 次查看(过去 30 天)
显示 更早的评论
The following code causes MATLAB to crash at dir() in v7.10.0.59 (R2010a) and v7.12.0.635 (R2011a) (and possibly others) on Win7 x64 machines:
f = ftp('ftp.mathworks.com')
dir(f);
close(f)
0 个评论
回答(1 个)
Alex
2012-8-21
Confirmed in 2012a on Windows 7 x64. It sounds like MATLAB doesn't let you use passive mode FTP, at least in Windows. Here's a workaround:
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!