Page 1 of 1

Sync images

Posted: March 13th, 2017, 12:01 pm
by asmarketing
Hello team, I am taking photos in my survey and I need to synchronize them in my ftp however it does not detect the files, this is the code I am using. I hope you can support me.

Code: Select all

[SyncFile]
Version=CSPro 6.1

[Connection]
Type=FTP
Host=ftp://ftp.domain.com/campo/apptest/
Username=user@domain.com
Password=******

[Sync]
ClientPath=/muestra/mediasource/images/load/
Put=/muestra/mediasource/images/load/*.jpg

Re: Sync images

Posted: March 13th, 2017, 2:59 pm
by josh
The Put command in the pnc file cannot have a path in it. It must be only the file name. It uses the path from the last call to ClientPath. Try the following:

Code: Select all

[Sync]
ClientPath=/muestra/mediasource/images/load/
Put=*.jpg