File sharing

Discussions about syncing data via Bluetooth, Dropbox, FTP, and using CSWeb
Forum rules
New release: CSPro 8.0
Post Reply
Yihun_Shegnew
Posts: 25
Joined: November 30th, 2017, 11:56 am

File sharing

Post by Yihun_Shegnew »

Dear user forum,

I want to know is it possible to send files like .pdf and others file type via bluetooth from supervisor to enumerator outside the pen? In the synfile just like sending csdb file when we put the pdf file when supervisor sync everytime the pdf files also send to enumerator and its unwanted. So how to send the resources to the enumerator?

Thanks
khurshid.arshad
Posts: 571
Joined: July 9th, 2012, 11:32 am
Location: Islamabad, Pakistan

Re: File sharing

Post by khurshid.arshad »

Dear Yihun;

For this, i will use options. Like

1. syn PDF only
2. syn data file only
3. syn PDF and data file.

Code: Select all

	If option 1 then
		syncfile(PUT,"Data/*.pdf","/data");
	elseIf option 2 then
		syncfile(PUT,"Data/*.dat","/data");
	elseIf option 3 then
		syncfile(PUT,"Data/*.*","/data");
	else
	endif;

Best.
a.
Post Reply