FTP error 425
显示 更早的评论
I'm able to download a file from an FTP server using stand-along FTP software (e.g. FileZilla). Other co-workers can download the file without issue using MATLAB, but I am not able to download it using MATLAB. I assume it is a setting on my machine. Does anyone have an idea what I need to do?
Below is the code to download a specfic weather file from the NOAA FTP server:
ftpObj=ftp('ftp.ncdc.noaa.gov');
cd(ftpObj,'/pub/data/gsod/2000');
fileName = mget(ftpObj,'722780-23183-2000.op.gz','C:\Temp');
the error returned is below, which seems to indicate a connection issue.
??? Error using ==> ftp.mget at 110
FTP error: 425
Thanks for any help!
-Mike
回答(3 个)
Walter Roberson
2011-7-12
0 个投票
The description of FTP error 425 I found here appears to be technically accurate.... but possibly not immediately helpful.
I suggest you check your Windows Firewall settings in your Windows Security Center.
Also, are you using a proxy FTP server, or are you connecting via a VPN?
Victor Villar
2018-5-11
0 个投票
Hint: check your antivirus firewall settings and open all the ports. That should fix the issue. If you cannot do that, just try the passive mode file reference in this page.
类别
在 帮助中心 和 File Exchange 中查找有关 FTP File Operations 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!