Testbed / Mbed 2 deprecated FTPGET_Merged

Dependencies:   SDFileSystem dspmodified mbed

Files at this revision

API Documentation at this revision

Comitter:
jaspreetsingh
Date:
Mon Mar 02 12:42:24 2015 +0000
Parent:
5:11c455ebcc34
Child:
7:3d5fd645c11d
Commit message:
FTPPUTPATHNAME corrected as /mod_name/1503/150302

Changed in this revision

merged_code.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/merged_code.cpp	Mon Mar 02 11:43:10 2015 +0000
+++ b/merged_code.cpp	Mon Mar 02 12:42:24 2015 +0000
@@ -157,7 +157,7 @@
             sprintf(hour_dir,"%s/%s%02d%02d%02d%02d",date_dir,sitename,year,month,date,hour);
             sprintf(filepath,"%s/%s%02d%02d%02d%02d%02d%02d",hour_dir,sitename,year,month,date,hour,minute,second);
             sprintf(filename,"%s%02d%02d%02d%02d%02d%02d",sitename,year,month,date,hour,minute,second);
-            sprintf(ftpputpathname,"%s/%s%02d%02d/%s%02d%02d%02d",module_name,sitename,year,month,sitename,year,month,date);   //  For FTPPUTPATHNAME feature
+            sprintf(ftpputpathname,"%s/%02d%02d/%02d%02d%02d",module_name,year,month,year,month,date);   //  For FTPPUTPATHNAME feature
             //pc.printf("Ftpputpathname is %s\r\n",ftpputpathname);   //    For FTPPUTPATHNAME feature
             gsmerr=0;
             mkdir(main_dir,0777);