-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add FTP passive mode, server port, remove directory function
Some FTP server doesn't allow files exchange in active mode. Passive mode can solve this problem. Passive mode is enable by default.
- Loading branch information
Showing
4 changed files
with
99 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
#define SECRET_PINNUMBER "" | ||
#define SECRET_GPRS_APN "" // replace your GPRS APN | ||
#define SECRET_GPRS_LOGIN "" // replace with your GPRS login | ||
#define SECRET_GPRS_LOGIN "" // replace with your GPRS login | ||
#define SECRET_GPRS_PASSWORD "" // replace with your GPRS password | ||
|
||
#define SECRET_FTP_HOST "" // replace with your FTP host server | ||
#define SECRET_FTP_USER "" // replace with your FTP user | ||
#define SECRET_FTP_PASSWORD "" // replace with your FTP password | ||
#define SECRET_FTP_REMOTE_DIR "/" // replace with your FTP default remote directory | ||
#define SECRET_FTP_HOST "" // replace with your FTP host server | ||
#define SECRET_FTP_USER "" // replace with your FTP user | ||
#define SECRET_FTP_PASSWORD "" // replace with your FTP password | ||
#define SECRET_FTP_PORT 21 // replace with your FTP port (optional) | ||
#define SECRET_FTP_REMOTE_DIR "/" // replace with your FTP default remote directory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters