This commit is contained in:
lai
2024-12-18 18:27:55 +08:00
parent a1c7b3d2dd
commit 8ef1414ea3

View File

@@ -803,6 +803,9 @@ int sendFile(char *remoteip, char *username, char *userpass, char *srcdir, char
sprintf(command,"rm -rf /tmp/result%d.txt",fileIndex);
system(command);
sprintf(message,"SendFile()---The result is %d\n",res);
logMessage(message);
//printf("SendFile()---The result is %d\n",res);
if(res==0)
@@ -843,6 +846,8 @@ int sendFile(char *remoteip, char *username, char *userpass, char *srcdir, char
}
//printf("%s\n",message);
sprintf(command,"rm -rf /tmp/temp%d.txt",fileIndex);
sprintf(message,"rm command %s \n",command);
logMessage(message);
system(command);
return res;