FTPClient

Fork of FTPClient by Ricky Kwon

Revision:
1:2630b5456598
Parent:
0:61da21bfd120
Child:
3:4fd8e5cd6307
diff -r 61da21bfd120 -r 2630b5456598 FTPClient.h
--- 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;
 };