storing variables in single array for transmission
Dependencies: SDFileSystem dspmodified mbed
Fork of FTPGET_Merged by
Diff: merged_code.cpp
- Revision:
- 6:87c4ae320c7c
- Parent:
- 5:11c455ebcc34
- Child:
- 7:3d5fd645c11d
--- 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);