Page | 1 January 25, 2016
APN-072 Rev A
FTP Connectivity Applications of the ProPak-6
Page | 2 January 25, 2016
1 Overview
This application note provides direction on utilizing the integrated FTP functionality of the ProPak6 for
convenient data extraction from the internal memory. The OEM638 in the ProPak6 contains 4 GB of
internal logging memory. Once configured as an FTP server, data can be transferred via Ethernet or Wi-
Fi. This allows the ProPak6 to be used in remote environments as a monitoring station. Within this
document, the means to add the ProPak6 to an established network through static IP are also explained.
The later portion of this Application Notes details the process involved to transfer data from the ProPak6
to a smart phone. Within this section both iOS and Android examples are provided including configuring
either device for static IP to connect to a ProPak6 Access Point Wi-Fi network and configuring third party
FTP client applications for connection.
2 Networking Features
2.1 Port Information
Since the ProPak6 is the first NovAtel receiver that contains both Cellular and WiFi, there has been a
change made to the standard port configuration. There are now 4 ICOM ports that are shared between
all network connections (Cellular, WiFi, and Ethernet), while COM4 is reserved for Bluetooth.
2.2 Default IP Configuration
The ProPak6 is not preconfigured with an IP address. Instead, the user must define a unique IP address.
This is achieved through the IPCONFIG command. Once an address has been defined, it can be saved to
the receiver via SAVETHERNETDATA ETHA. This command overrides the SAVECONFIG command,
ensuring preservation of networking settings should the unit be installed at a remote location where the
only access available is through a network; after factory reset, or firmware change, network
communication will still be possible.
2.3 Configuring for Static Connection on an Existing Network
In order to configure your receiver with a Static IP address, without having to remove your PC from your
existing network framework, you must set an acceptable address with a common network part and
unique machine part.
Page | 3 January 25, 2016
Example 1:
The network portion of your PC IP address can be obtained by opening Command Prompt and sending
IPCONFIG.
Figure 1: IPCONFIG from PC
The receiver must be set with the same Subnet Mask and Default Gateway as the PC:
Subnet mask: 255.255.255.0
Default Gateway: 198.161.78.1
From the highlighted line of the figure above, the IP address can be broken down into its two parts:
Network Part:
192.161.78
Machine Part:
170
C:\Users>ipconfig
Windows IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : corp.novatel.ca
Link-local IPv6 Address . . . . . :
IPv4 Address. . . . . . . . . . . : 198.161.78.170
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 198.161.78.1
Tunnel adapter Teredo Tunneling Pseudo-Interface:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Tunnel adapter 6TO4 Adapter:
Connection-specific DNS Suffix . : corp.novatel.ca
IPv6 Address. . . . . . . . . . . :
Default Gateway . . . . . . . . . :
Page | 4 January 25, 2016
The ProPak6 must be set with the identical network part and an acceptable machine part value
(normally 2 – 254, and not already used by a different device).
Acceptable Configuration:
ETHCONFIG ETHA AUTO AUTO AUTO AUTO
IPCONFIG ETHA STATIC 198.161.78.101 255.255.255.0 198.161.78.1
ICOMCONFIG ICOM1 TCP :3001
2.3.1 Setup for Windows FTP Client
Using the settings above, it is then possible to configure the receiver to accept Windows FTP Client
access. First active the FTP Server on the ProPak6 using the following command:
IPSERVICE FTP_SERVER ENABLE
Now you will need to know the username and password. By default, the ProPak6 account is set to:
Username: admin
Password: Enclosure PSN (found on the bottom of the receiver)
Figure 2: ProPak6 Enclosure PSN
This is also a good time to set your own unique password, especially if connecting the ProPak6 to a
publically accessible network. This is possible through the following command:
SETADMINPASSWORD <old password> <newpassword>
 Replace <oldpassword> with your Enclosure PSN
 Replace <newpassword> with your own unique password
Page | 5 January 25, 2016
Once connected, the FTP service will use standard DOS commands to manipulate the data on the
ProPak6. These messages can be found below:
!
exclamation point before a comma will cause execution on the local system instead of the remote
system
?
request help or information about the FTP commands
Append
allows programs to open data files in specified directories as if they were in the current directory
ASCII
set the mode of file transfer to ASCII (this is the default and transmits seven bits per character)
Bell
turns bell mode on / off
Binary
set the mode of file transfer to binary (the binary mode transmits all eight bits per byte and thus
provides less chance of a transmission error and must be used to transmit files other than ASCII files)
Bye
exit the FTP environment (same as quit)
Cd
change directory on the remote machine
Close
terminate a connection with another computer
Delete
remove a file in the current remote directory
Debug
Sets debugging on/off
Disconnect
terminate ftp session
Get
copy one file from the remote machine to the local machine
Glob
toggle metacharacter expansion of local file names
Hash
toggle printing `#' for each buffer transferred
Help
request a list of all available FTP commands
Lcd
change directory on your local machine
Literal
send an argument to the remote FTP Server (same as quote)
Ls
list the names of the files in the current remote directory
Mdelete
delete multiple files
Mdir
list contents of multiple remote directories
Mget
copy multiple files from the remote machine to the local machine; you are prompted for confirmation
before transferring each file
Mkdir
make a new directory within the current remote directory
Mls
list contents of multiple remote directories
Mput
copy multiple files from the local machine to the remote machine; you are prompted for confirmation
before transferring each file
Open
open a connection with FTP host
Prompt
force interactive prompting on multiple commands
Put
copy one file from the local machine to the remote machine
Pwd
find out the pathname of the current directory on the remote machine
Quit
exit the FTP environment (same as bye)
Quote
send an argument to the remote FTP Server (same as literal)
Recv
receive file
Remotehelp
get help from remote server
Rename
rename file
Rmdir
remove a directory in the current remote directory
Send
send one file
Status
show current status
Trace
toggles packet tracing
Type
set file transfer type
User
send new user information
Verbose
toggle verbose mode
Figure 3: DOS FTP Commands
Page | 6 January 25, 2016
Example Connection and Data Transfer:
Figure 4: Example Communication with CMD FTP
C:\Users>ftp 198.161.78.101
Connected to 198.161.78.101.
220 Service ready.
User (198.161.78.101:(none)): admin
331 User name ok, need password.
Password:
230 User logged in.
ftp> binary
200 Command OK.
ftp> dir
200 Command OK.
150 Here it comes...
drwxrwxrwx 1 root root 4096 Jan 1 1980 .
drwxrwxrwx 1 root root 4096 Jan 1 1980 ..
drwxrwxrwx 1 root root 4096 Jan 1 1970 LOST.DIR
-rwxrwxrwx 1 root root 414784800 Jan 9 1980 MYLOGS_1.LOG
-rwxrwxrwx 1 root root 2508428 Jun 6 16:36 TEST_LOGS.GPS
226 Transfer OK, Closing connection.
ftp: 348 bytes received in 0.00Seconds 87.00Kbytes/sec.
ftp> get TEST_LOGS.GPS
200 Command OK.
150 Here it comes...
226 Transfer OK, Closing connection.
ftp: 2517739 bytes received in 5.59Seconds 450.64Kbytes/sec.
ftp> bye
221 Bye.