Why does my ftp over TLS connection work fine on MAC+MATLAB but not for Windows+MATLAB combination?

12 次查看(过去 30 天)
I am tryin to access the ftp server over TLS (added security?) by providing my username and password and setting 'TLSMode' to 'strict'. After the connection is established properly, when I attempt to enlist the files on the server using the command 'dir', I get usual response if I am on a MAC machine, but no response if I am on a windows machine and the number of files is very large. Anyone aware of this issue?
Also, even if MATLAB website says this function is available from 2024b (fairly recently), I can use it on MATLAB 2024a and thats where the problem is happening. Anyone knows if this problem has been resolved in the 2024b version and why is it performing good even on 2024a when used on the MAC machine ?

回答(1 个)

Himanshu
Himanshu 2024-10-28,4:12
HI Kiran,
I see that you are facing issues with using FTP over TLS in MATLAB R2024a on a Windows machine, while the same works on a Mac machine, even though MathWorks documentation indicates support for TLSMode was introduced in MATLAB R2024b.
The best approach to resolve this issue would be to upgrade to MATLAB R2024b to ensure full support and compatibility for the TLSMode feature on all platforms. The functionality on macOS in R2024a might be due to undocumented or preliminary support, but it may not work reliably.
Here are the documentation links for the FTP function in both R2024a and R2024b:
R2024a: https://www.mathworks.com/help/releases/R2024a/matlab/ref/ftp.html
R2024b: https://www.mathworks.com/help/matlab/ref/ftp.html
If you are still facing the issue after upgrading to R2024b, then it would be best to contact MathWorks techincal support here:
https://in.mathworks.com/support/contact_us.html

类别

Help CenterFile Exchange 中查找有关 Software Development Tools 的更多信息

产品


版本

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by