Program for VC0706 with FTP and MQTT

Dependencies:   Ethernet_Camera_LS_Y201_SDcard FTPClient MQTT SDFileSystem WIZnetInterface mbed-src

Fork of FTP_Client_Configuration by winwet w7500

Files at this revision

API Documentation at this revision

Comitter:
wiznetw7500
Date:
Thu Dec 14 05:35:51 2017 +0000
Parent:
1:b6196ce9efac
Child:
3:cd4afee8b093
Commit message:
FTPClient Library Updated

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Thu Dec 14 04:50:55 2017 +0000
+++ b/main.cpp	Thu Dec 14 05:35:51 2017 +0000
@@ -6,8 +6,8 @@
 #include <stdio.h>
 #define FTP_SERVER_PORT     21
  static char buf[256];
-static char ID[]={"user"};                   //Set FTPServer Login ID
-static char PASSWORD[]={"1234"};             //Set FTPServer Login Password
+static char ID[]={"FTP"};                   //Set FTPServer Login ID
+static char PASSWORD[]={"user"};  user           //Set FTPServer Login Password
 FTPClient FTP(PB_3, PB_2, PB_1, PB_0, "sd"); // WIZwiki-W7500 
 Serial pc(USBTX, USBRX);
 int main() {
@@ -16,9 +16,9 @@
     pc.printf("------------------------------FTP Client Example-------------------------------------------!\r\n"); 
       
   
-    char ftpServer_control_ip_addr[] = "demo.wftpserver.com"; // FTP Server location
-    char* userid = "demo-user"; //FTP Server User ID
-    char* pass = "demo-user"; //FTP Server Password
+    char ftpServer_control_ip_addr[] = "192.168.0.100"; // FTP Server location
+    char* userid = "FTP"; //FTP Server User ID
+    char* pass = "user"; //FTP Server Password
     EthernetInterface eth;
     uint8_t mac_addr[6] = {0x00, 0x08, 0xdc, 0x12, 0x34, 0x45};
     char IP_Addr[] = "192.168.0.101";
--- a/mbed.bld	Thu Dec 14 04:50:55 2017 +0000
+++ b/mbed.bld	Thu Dec 14 05:35:51 2017 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/fb8e0ae1cceb
\ No newline at end of file
+http://mbed.org/users/mbed_official/code/mbed/builds/e7ca05fa8600
\ No newline at end of file