# EXT\_Synchronize\_SendFileToServer

> MSS documentation · https://doc.sysdevmobile.com/mss/extensibility/functions-kalipso-to-mss/synchronize/ext_synchronize_sendfiletoserver
>
> EXT_Synchronize_SendFileToServer envia um ficheiro ao servidor com um perfil de sincronização; o ficheiro é depois apagado no terminal.

Function to use MSS synchronization profile to send any file to the server. If the file already exists in the destination, it will be overwritten. After sending the file, it will be deleted in the terminal.

_Input parameters:_

* inSynProfile – Code of the synchronization profile to be used to send the file;
* inFileName – File full path on the terminal;
* inDestination – Destination full path of the file (this function uses Send File To PC action from Kalipso, refer to Kalipso documentation to further explanation of the different possibilities of this parameter);

_Output parameters:_

* outResultCode – Return code: 0 – Done / < 0 User canceled, or error occurred;
