Not to put/send jpg files if that is already sent to server (exit in server)
Posted: October 13th, 2022, 2:05 am
Hi Sherrell,
I have a project collecting data with taking each respondent/outlet's photograph. I have handeled the naming of photograph with the using serial key of respondent ID.
I have used below syntax to upload/send photo to server..
SyncFile(PUT,"*.jpg",concat(ProjName,"/Photos/","/")); // photo file copy to server
Now my concern is while user uploads photo 2nd time onward, it should ignore the files which have been already uploaded in server before or if file already exist in server (specific folder). I was thinking for saving time and internet bandwidth for uploading jpg files in server.
Could you please suggest how can I check if files are already exists in server for not to copy in uploading time.
With Regards,
Ramesh Pradhan
I have a project collecting data with taking each respondent/outlet's photograph. I have handeled the naming of photograph with the using serial key of respondent ID.
I have used below syntax to upload/send photo to server..
SyncFile(PUT,"*.jpg",concat(ProjName,"/Photos/","/")); // photo file copy to server
Now my concern is while user uploads photo 2nd time onward, it should ignore the files which have been already uploaded in server before or if file already exist in server (specific folder). I was thinking for saving time and internet bandwidth for uploading jpg files in server.
Could you please suggest how can I check if files are already exists in server for not to copy in uploading time.
With Regards,
Ramesh Pradhan