MWS_55_e.indb Page 52
Manual MWS 55 / MWS 88 / MWS 10 and Sensors 55
geändert am 04.12.2020 von DO
REINHARDT
System- und Messelectronic GmbH
Fax: 08196/7005 and 1414 email:
wetter@reinhardt-testsystem.de
http://www.reinhardt-wetterstationen.de
For the station only supports passive FTP, the Administrator client must establish a connection
on FTP port 21 connecting via FTP.
The station will answer with „
220 <Station> GRANTED: ADMIN
“.
If a FTP connection is not initiated from the admin address, the connection will be closed imme-
diately!
The Administrator client must determine the user with the command „
USER ADMIN
“ on which
the station will request the transmission of the command „
PASS <Password>
“ with „
331 NEED
PASSWD
“.
After this the user is logged in and the station will report this with „
230 USER LOGGED IN
“.
The <Password> normally is the Administrator password (see
), if this
ist not set, the serial number of our weather station is the password.
After log in successfully the user can navigate the directories of the internal SD-card. For this is
the Admin additionally to download files also deleting and creating files and directories is possible!
CAUTION:
If the directory /log/data is deleted no more weather data can be stored.
Example of establishing a connection:
FTP-Command overview:
FTP-Server (Weather station) Client (Administrator)
Cmd. Description
Ask for connection on FTP port 21
USER
Transmit user
Accept connection:
220 MWS GRANTED: ADMIN
PASS
Transmit password
ACCT
User identifier
Send command:
USER ADMIN
QUIT
Close connection
PWD
Output current directory
User OK:
331 NEED PASSWD
NOOP
No operation
PASV
Request passive FTP connection
Send command:
PASS 1234567
TYPE
Determine data type, only ASCII allowed
SYST
Determine operating system
Password OK:
230 USER LOGGED IN
LIST
Output directory list ausgeben
CDUP
Directory level higher
Ask current folder:
PWD
CWD
Change directory
SIZE
Output file size
Current directory:
257 “/“
MDTM
Change file date
RETR
Copy file from weather station
Determine ASCII-transmission:
TYPE A
REST
Restart transmission
STOU
Copy renamed file to weather station
Type configured successfully:
200 OK TYPE A
STOR
Copy file to weather station
APPE
Add data to file
Determine passive mode:
PASV
MKD
Create directory
RMD
Delete directory
Passive mode confirmed:
227 Entering Passive Mode (IP/Port)
DELE
Delete file
ABOR
Cancel previous command
Establish data connection to IP/Port
RNFR
File name to rename
Read directory:
LIST
RNTO
New name for rename
MODE
Determine transfer mode (only S)
Transmission initiated:
150 Opening Data Connection
STRU
Directory structure (only F allowed)
Receive data
Close data connection:
226 Closing Data Connection