FTP instantiation fails due to PWD error
11 views (last 30 days)
Show older comments
My RedHat machine (R2022b) cannot open ftp connections (including the example in matlab documentation). The error I get is:
Error using matlab.io.ftp.FTP
An internal error occurred during FTP operation "PWD": Could not match any server responses to the PWD command: HTTP/1.1 501 method notimplemented
Content-Type: text/html
Cache-Control: no-cache
X-Frame-Options: deny
Proxy-Connection: Keep-Alive
I haven't been able find any reference to this. This seems to indicate my client couldn't handle what came back from the server. It isn't the server (ftp.avl.class.noaa.gov) because I can connect using other machines / platforms / matlab version. Any ideas what could cause this? I believe matlab supplies its own ftp client.
I see a few class definitions in:
toolbox/matlab/io/ftp/+matlab/+io/@FTP
toolbox/matlab/io/ftp/+matlab/+io/+ftp/@FTP
In another machine (R2018b which works) I see a different toolbox organization:
toolbox/matlab/iofun/@ftp/ftp.m,
so the organization of the FTP interface has evolved in the last few years.
3 Comments
Answers (0)
See Also
Categories
Find more on Install Products 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!