Script description: the script shows capabilities of Telit embedded FTP doing upload and download of a text file
User inputs: edit these values in the script
|
- |
SIMPIN = '***' |
|
#SIM PIN |
|
- |
GPRS_APN = 'xxx.xxxxxxx.xx' |
|
# APN, ask your network provider |
|
|
|
|
the correct value |
|
- |
GPRS_USER = “” |
|
# GPRS username |
|
- |
GPRS_PASSW =”” |
|
# GPRS password |
|
- |
FTPSERVER_ADDR = ftp.byte*** |
|
# FTP server name |
|
- |
FTPUSERNAME = '*****' |
|
# FTP username |
|
- |
FTPPASSWORD = '*****' |
|
# FTP password |
- FTPFILECONTENT = 'testing 123' # string to be sent the server
Availability: any Telit product supporting Python