• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/ftpclient/

Lines Matching defs:localpath

1419             char *localpath = serverpath_to_localpath(filetmp->href,index);
1420 DEBUG("localpath = %s\n",localpath);
1423 add_action_item("createfile",localpath,g_pSyncList[index]->server_action_list);
1427 ChangeFile_modtime(localpath,filetmp->modtime,index);
1444 free(localpath);
3199 int newer_file(char *localpath,int index,int flag)//������server���loacal���������������������
3201 char *serverpath = localpath_to_serverpath(localpath,index);
3214 if( stat(localpath,&buf) == -1)
3286 if(ChangeFile_modtime(localpath,modtime1->modtime,index))
3342 char *localpath = serverpath_to_localpath(filetmp->href,index);
3354 add_action_item("createfile",localpath,g_pSyncList[index]->server_action_list);
3361 if(ChangeFile_modtime(localpath,onefiletime->modtime,index))
3380 free(localpath);
3453 char *localpath = serverpath_to_localpath(filetmp->href,index);
3465 add_action_item("createfile",localpath,g_pSyncList[index]->server_action_list);
3482 free(localpath);
3495 free(localpath);
3602 char *localpath = serverpath_to_localpath(filetmp->href,index);
3617 add_action_item("createfile",localpath,g_pSyncList[index]->server_action_list);
3624 // if(ChangeFile_modtime(localpath,onefiletime->modtime,index))
3638 if(ChangeFile_modtime(localpath,onefiletime->modtime,index))
3658 free(localpath);
3757 char *localpath = serverpath_to_localpath(filetmp->href,index);
3770 add_action_item("createfile",localpath,g_pSyncList[index]->server_action_list);
3777 if(ChangeFile_modtime(localpath,onefiletime->modtime,index))
3796 free(localpath);
3837 char *localpath = (char *)malloc(sizeof(char)*(ftp_config.multrule[index]->base_path_len + strlen(foldertmp->href) + 1));
3838 memset(localpath,'\0',sizeof(char)*(ftp_config.multrule[index]->base_path_len + strlen(foldertmp->href) + 1));
3841 sprintf(localpath,"%s%s",ftp_config.multrule[index]->base_path,p);
3842 DEBUG("%s\n",localpath);
3844 char *prePath = get_prepath(localpath,strlen(localpath));
3845 int exist = is_server_exist(prePath,localpath,index);
3848 if(NULL == opendir(localpath))
3850 add_action_item("createfolder",localpath,g_pSyncList[index]->server_action_list);
3851 mkdir(localpath,0777);
3855 free(localpath);
3930 char *localpath = (char *)malloc(sizeof(char)*(ftp_config.multrule[index]->base_path_len + strlen(foldertmp->href) + 1));
3931 memset(localpath,'\0',sizeof(char)*(ftp_config.multrule[index]->base_path_len + strlen(foldertmp->href) + 1));
3932 sprintf(localpath,"%s%s",ftp_config.multrule[index]->base_path,serverpathtmp);
3933 DEBUG("%s\n",localpath);
3935 char *prePath = get_prepath(localpath,strlen(localpath));
3936 int exist = is_server_exist(prePath,localpath,index);
3939 if(NULL == opendir(localpath))
3941 add_action_item("createfolder",localpath,g_pSyncList[index]->server_action_list);
3942 mkdir(localpath,0777);
3946 free(localpath);
3968 char *localpath = serverpath_to_localpath(treenode->parenthref,index);
3969 localnode = Find_Floor_Dir(localpath);
3971 free(localpath);
6226 char *localpath = serverpath_to_localpath(filetmp->href,index);
6227 add_action_item("createfile",localpath,g_pSyncList[index]->server_action_list);
6234 //ChangeFile_modtime(localpath,filetmp->modtime);
6236 if(ChangeFile_modtime(localpath,onefiletime->modtime,index))
6241 free(localpath);
6245 free(localpath);
6362 char *localpath = serverpath_to_localpath(filetmp->href,index);
6369 add_action_item("createfile",localpath,g_pSyncList[index]->server_action_list);
6375 if(ChangeFile_modtime(localpath,onefiletime->modtime,index))
6380 free(localpath);
6384 free(localpath);
6438 char *localpath = serverpath_to_localpath(foldertmp->href,index);
6439 char *prePath = get_prepath(localpath,strlen(localpath));
6440 int exist = is_server_exist(prePath,localpath,index);
6443 if(NULL == opendir(localpath))
6445 add_action_item("createfolder",localpath,g_pSyncList[index]->server_action_list);
6446 mkdir(localpath,0777);
6449 free(localpath);
6531 char *localpath = serverpath_to_localpath(foldertmp->href,index);
6532 char *prePath = get_prepath(localpath,strlen(localpath));
6533 int exist = is_server_exist(prePath,localpath,index);
6536 if(NULL == opendir(localpath))
6538 add_action_item("createfolder",localpath,g_pSyncList[index]->server_action_list);
6539 mkdir(localpath,0777);
6543 free(localpath);