.:tutorialsM300FTP:home: Difference between revisions

From ADPAA
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 7: Line 7:
To test that the vsftp server is installed:
To test that the vsftp server is installed:
   which vsftpd
   which vsftpd
  /usr/sbin/vsftpd


To check that the vsftp server is running and the ftp port is open, locally:
To check that the vsftp server is running and the ftp port is open, locally:
   nmap -p 21 localhost
   nmap -p 21 localhostStarting Nmap 7.80 ( https://nmap.org ) at 2024-12-12 04:55 CST
  Nmap scan report for localhost (127.0.0.1)
  Host is up (0.00014s latency).
  PORT  STATE SERVICE
  21/tcp open  ftp


To check that the vsftp server is running and the ftp port is open, remotely:
To check that the vsftp server is running and the ftp port is open, remotely:
   nmap -p 21 999.999.999.999
   nmap -p 21 999.999.999.999
  Nmap scan report for 999.999.999.999
  Host is up (0.21s latency).
  PORT  STATE SERVICE
  21/tcp open  ftp
where 999.999.999.999 is the IP address of the vsftp server.
where 999.999.999.999 is the IP address of the vsftp server.
==Client (M300) Configuration==
To test the ftp client is installed on the M300 system
  which ftp
  /usr/ucb/ftp

Revision as of 11:05, 12 December 2024

Tutorial: Transferring Files using FTP

To transfer data from the M300 Data Acquisition System to another computer is possible using the FTP protocol (network port 21). The M300 will be referred to as the "client" and the other computer is the "server".

Server Configuration

We will use a Linux computer for the FTP server. See set-up-an-ftp-server for information on setting up vsftp on Ubuntu Linux.

To test that the vsftp server is installed:

 which vsftpd
 /usr/sbin/vsftpd

To check that the vsftp server is running and the ftp port is open, locally:

 nmap -p 21 localhostStarting Nmap 7.80 ( https://nmap.org ) at 2024-12-12 04:55 CST
 Nmap scan report for localhost (127.0.0.1)
 Host is up (0.00014s latency).
 PORT   STATE SERVICE
 21/tcp open  ftp

To check that the vsftp server is running and the ftp port is open, remotely:

 nmap -p 21 999.999.999.999
 Nmap scan report for 999.999.999.999
 Host is up (0.21s latency).
 PORT   STATE SERVICE
 21/tcp open  ftp

where 999.999.999.999 is the IP address of the vsftp server.

Client (M300) Configuration

To test the ftp client is installed on the M300 system

 which ftp
 /usr/ucb/ftp