File Name(s) passed to Execute Before script

No more questions - please go to http://www.syncovery.com/forum instead

Moderator: SuperFlexible Administrators

File Name(s) passed to Execute Before script

Postby bbeswick on Thu Jul 21, 2011 7:20 pm

I'm sure I'm just missing something. I want to configure a continuous transfer "Profile" that identifies new or updated files and copies them to a mirror site. I want to use the "Execute Before" feature to run a script for each file that is sent. (I'm doing an INSERT into a SQL database to log that the file is copied so other processes can take place.)

I don't see how how you pass the filename to the after command. I'm looking to do something like:

C:\Script\FileCopied.bat %1
bbeswick
 
Posts: 1
Joined: Thu Jul 21, 2011 7:13 pm

Re: File Name(s) passed to Execute Before script

Postby superflexible on Fri Jul 22, 2011 1:51 am

It is not possible. The "execute before" feature means before the whole job, not before each file. You can use it, for example, to connect a VPN.
User avatar
superflexible
Site Admin
 
Posts: 2478
Joined: Thu Dec 31, 2009 3:08 pm


Return to Windows Support * new forum: www.syncovery.com/forum

cron