Page 1 of 1

error syncfile use csweb and FTP

Posted: January 15th, 2018, 1:43 am
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:

Re: error syncfile use csweb and FTP

Posted: January 16th, 2018, 8:30 am
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.