Update FTPClient

Dependents:   Digital_Photo_Frame_with_FTP_SD_WIZwiki-W7500 FTP_Streaming_Music_Player_WIZwiki-W7500 GIF2015 MP3Decoding_VS1002_WIZwiki-W7500

Fork of FTPClient by Midnight Cow

Revision:
1:2630b5456598
Parent:
0:61da21bfd120
Child:
3:4fd8e5cd6307
--- a/FTPClient.h	Tue Jul 28 00:04:52 2015 +0000
+++ b/FTPClient.h	Tue Jul 28 23:30:59 2015 +0000
@@ -16,8 +16,12 @@
     bool fdelete(char* filename);
     bool mkdir(char* dirname);
     bool cd(char* dirname);
+    bool quit();
     int pportc(char * arg);
     
+
+    
+private:
     TCPSocketConnection* FTPClientControlSock;
     TCPSocketConnection* FTPClientDataSock;
     
@@ -30,6 +34,7 @@
     bool bfdeleteflag;
     bool bmkdirflag;
     bool bcdflag;
+    bool bquitflag;
     
     char ftpServer_data_ip_addr[4];
     char ftpServer_data_ip_addr_str[20];
@@ -43,8 +48,6 @@
     int remain_filesize;
     int send_byte;
     int size;
-    
-private:
     FILE *fp;
     SDFileSystem _SDFileSystem;
 };