Sync images

Discussions about syncing data via Bluetooth, Dropbox, FTP, and using CSWeb
Forum rules
New release: CSPro 8.0
Post Reply
asmarketing
Posts: 3
Joined: February 9th, 2017, 12:31 am

Sync images

Post 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
josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: Sync images

Post 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
Post Reply