error syncfile use csweb and FTP

Discussions about syncing data via Bluetooth, Dropbox, FTP, and using CSWeb
Forum rules
New release: CSPro 8.0
Post Reply
gunturprasetyo
Posts: 1
Joined: January 15th, 2018, 1:22 am

error syncfile use csweb and FTP

Post by gunturprasetyo »

1. what is mean error
Error connecting to sync server: Empty reply from server
host using 000webhost.
my code:

Code: Select all

syncfile(PUT,"Survey/Resources/Foto/*.jpg","/Survey/Resources/Foto/");
2. how to set time out syncronize with FTP
i get error
Error connecting to server:
java.net.SocketTimeoutException:
josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: error syncfile use csweb and FTP

Post by josh »

The timeout error means that your device could not connect to the server. It tried for a certain amount of time and then gave up. This is most likely due to either a problem with the network or that you did not use the correct address for the server.

You should not normally get the "empty reply from server". It could be also be problem with the network.

If you can post the sync.log file from your device that may help us diagnose the problem better. On Windows you will find it in C:\users\<your username>\AppData\Roaming\CSPro. On Android it will be in the CSEntry directory.
Post Reply