Opening port "21" to an ftp server from a cluster

4 ビュー (過去 30 日間)
Mahith Madhana Kumar
Mahith Madhana Kumar 2021 年 2 月 4 日
編集済み: Vaibhav 2023 年 10 月 12 日
Hi all,
I was wondering how to access files from an ftp server from within a supercomputer cluster.
The matlab code is simply:
ftpobj = ftp('ftp.ngdc.noaa.gov')
mget(ftpobj,'README.txt');
This runs and produces the output while running from the matlab window whereas while running on the cluster, it says Could not open a connection to "ftp.ngdc.noaa.gov", port "21" (attached is the screenshot - cluster.png). Is there a way to access files from ftp server by opening a connection from within a clsuter?
Thanks.

回答 (1 件)

Vaibhav
Vaibhav 2023 年 10 月 12 日
編集済み: Vaibhav 2023 年 10 月 12 日
Hi Mahith
I understand that you are facing issues in establishing an FTP connection from the cluster.
The potential causes for the connection issue could be as follows:
  • Port restrictions: The cluster might have restrictions on specific ports, including port 21 used by FTP, which could be preventing the cluster from establishing an FTP connection.
  • Firewall restrictions: The cluster's firewall settings may be blocking outgoing FTP connections, preventing the person from accessing the FTP server.
For more detailed information on connecting to an FTP server using MATLAB, refer to the MathWorks documentation at the following link:
Hope this helps!

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by