Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Anonymous wrote:

I may have found the problem with synchronize.. it appears that it won't synchronize files only directory's, is this true?

Exactly.
Though you can achieve what you want by:
option include *.pdf

synchronize local remote
Guest

I may have found the problem with synchronize.. it appears that it won't synchronize files only directory's, is this true?
Guest

Does Synchronize from a script not work in 4.3.6?

Just trying some basics by adding files to the folder but it doesn't recognize any new files... very confused???

What does mode and params stand for and do they need to be supplied?

> 2012-01-29 12:44:11.781 Script: Synchronize Remote -mirror "C:\Documents and Settings\user\My Documents\*.pdf" "/Docs/user/"
< 2012-01-29 12:44:11.781 Script: Comparing...
. 2012-01-29 12:44:11.781 Collecting synchronization list for local directory 'C:\Documents and Settings\user\My Documents\*.pdf' and remote directory '/Docs/user/', mode = 0, params = 4098
< 2012-01-29 12:44:11.781 Script: Nothing to synchronize.
> 2012-01-29 12:44:11.796 Script: close
. 2012-01-29 12:44:11.796 Disconnected from server
Guest

Problem using "Synchronize Remote" in a script..?

From the log file:

> 2012-01-29 08:05:27.656 Script: Synchronize Remote -mirror -criteria="both" "C:\Documents and Settings\user\My Documents\*.pdf"
< 2012-01-29 08:05:27.656 Script: Comparing...
. 2012-01-29 08:05:27.656 Collecting synchronization list for local directory 'C:\Documents and Settings\user\My Documents\*.pdf' and remote directory '/Docs/user', mode = 0, params = 5122
< 2012-01-29 08:05:27.656 Script: Nothing to synchronize.
> 2012-01-29 08:05:27.671 Script: close
. 2012-01-29 08:05:27.671 Disconnected from server


I copied a file into the directory to be synchronized and left its name "copy thefileame.pdf" and yet the Synchronize command isn't finding the new file? Am I missing something when trying to use Synchronization in my script?

Thanks.