PNC

Discussions about creating CAPI applications to run on Android devices
Forum rules
New release: CSPro 8.0
Post Reply
kakinyim
Posts: 42
Joined: January 16th, 2012, 6:38 am
Location: Remote/Virtual

PNC

Post by kakinyim »

I have this PNC file;

[SyncFile]
Version=CSPro 6.3
Description=Sending data to server..

[Connection]
Type=FTP
Host=ftp://191.168.115.218/ImpactSurvey
Username=cspro
Password=password


[Sync]
ClientPath=/ImpactSurvey/Data
ServerPath=/ImpactSurvey/Data
put = *.DAT
ClientPath=/ImpactSurvey/Data
ServerPath=/ImpactSurvey/Data
put = *.dat.sts
ClientPath=/ImpactSurvey/Assignment
ServerPath=/ImpactSurvey/Assignment
put = *.DAT
ClientPath=/ImpactSurvey/Final
ServerPath=/ImpactSurvey/Final
put = *.*
ClientPath=/ImpactSurvey/Working
ServerPath=/ImpactSurvey/Working
put = *.*
ClientPath=/ImpactSurvey/Reports
ServerPath=/ImpactSurvey/Reports
put = *.*


Does anyone see why "put = *.dat.sts" can not be uploaded to the FTP server. Fortunately, "put = *.DAT" is being uploaded at the server "Data" folder.
josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: PNC

Post by josh »

I don't see anything obviously wrong with the PNC file other than that the ClientPath and ServerPath immediately after the put = *.DAT are redundant but that should not cause any problems.

You should check the synclog.txt in the CSEntry directory on your Android device to see if it provides any additional information.
Post Reply