How to get data log from server

最後編輯:2016-09-29 建立:2015-09-30 歷史紀錄

 

WUULONG SThe current log file can be download by anonymous ftp.

 

Server information

FTP server: gpssensor.ddns.net

port: 2121

ftp -P 2121 gpssensor.ddns.net

 

WAYNE CFilename definitionspecification

周宛誼ftp://gpssensor.ddns.net:2121/The current daily log named as data.log

WUULONG SThe history file named as data.log-%y%m%d

The log data definition, please refer to related specification

 

Data reserved period

The current configurations we will keep daily log for 50 years.

Let's see how it work after we get more and more data.

 

Access by browser

 

YAN Wftp://gpssensor.ddns.net:2121/

 

WUULONG SFTP tool Example

Connected to gpssensor.ddns.net

  • WAYNE C$ ftp -P 2121 gpssensor.ddns.net
  • Name: anonymous
  • Password: 331

 

Message

  • $ ftp -P 2121 gpssensor.ddns.net
  • Connected to gpssensor.ddns.net.
  • 220 (vsFTPd 3.0.2)
  • WUULONG SName (gpssensor.ddns.net:wuulong): anonymous
  • 331 Please specify the password.
  • Password:
  • 230 Login successful.
  • Remote system type is UNIX.
  • Using binary mode to transfer files.

 

WAYNE COperate

  • ftp> ls
  • 229 Entering Extended Passive Mode (|||64057|).
  • 150 Here comes the directory listing.
  • -rw-r--r-- 1 0 0 5776327 Sep 30 10:15 data.log
  • 226 Directory send OK.
  • ftp> get data.log
  • local: data.log remote: data.log
  • 229 Entering Extended Passive Mode (|||64045|).
  • 150 Opening BINARY mode data connection for data.log (5780982 bytes).
  • 100% |***********************************| 5645 KiB 175.55 KiB/s 00:00 ETA
  • 226 Transfer complete.
  • 5780982 bytes received in 00:32 (174.46 KiB/s)
  • ftp> ? ## command list
  • ftp> bye ## logout

 

Download all data

  • WUULONG Swget --continue ftp://anonymous:331@gpssensor.ddns.net:2121/*