RealtimeSync "Waiting until all directories are available..."

Get help for specific problems
Posts: 5
Joined: 3 Feb 2001

maphew

I am trying to get RealtimeSync to keep a local Windows server directory and an ftp folder up to date. I created and saved a batch job with FreeFileSync, then opened the batch job in RealtimeSync and saved .ffs_real. The job runs successfully when double clicking on the job.ffs_batch file.

When double clicking job.ffs_real RealtimeSync shows up in the system tray, coloured grey. The on hover tool tip is:

> Waiting until all directories are available...
> job.ffs_batch

* UNC path for source is used, not mapped drives
* Handle Errors is set to "ignore"
* There is no logfile created in the location specified in .ffs_batch.
* Copy and paste into a CMD shell of the commandline listed in the .ffs_real file is successful

I'll post the config files in later replies.
Posts: 5
Joined: 3 Feb 2001

maphew

job.ffs_real
<?xml version="1.0" encoding="UTF-8"?>
<FreeFileSync XmlType="REAL">
    <Directories>
        <Item>sftp://username:[base64]Zml4aXQ=@example.ca/home/username/www.example.ca/maps</Item>
        <Item>\\server\maps\Project.441\web</Item>
    </Directories>
    <Delay>10</Delay>
    <Commandline>"C:\apps\FreeFileSync\FreeFileSync.exe" "\\server\maps\Project.441\web\job.ffs_batch"</Commandline>
</FreeFileSync>
Posts: 5
Joined: 3 Feb 2001

maphew

job.ffs_real
<?xml version="1.0" encoding="UTF-8"?>
<FreeFileSync XmlType="REAL">
    <Directories>
        <Item>sftp://username:[base64]Zml4aXQ=@example.ca/home/username/www.example.ca/maps</Item>
        <Item>\\server\maps\Project.441\web</Item>
    </Directories>
    <Delay>10</Delay>
    <Commandline>"C:\apps\FreeFileSync\FreeFileSync.exe" "\\server\maps\Project.441\web\job.ffs_batch"</Commandline>
</FreeFileSync>
maphew
job.ffs_batch
<?xml version="1.0" encoding="UTF-8"?>
<FreeFileSync XmlFormat="4" XmlType="BATCH">
    <MainConfig>
        <Comparison>
            <Variant>TimeAndSize</Variant>
            <TimeShift>0</TimeShift>
            <Symlinks>Exclude</Symlinks>
        </Comparison>
        <SyncConfig>
            <Variant>Mirror</Variant>
            <CustomDirections>
                <LeftOnly>right</LeftOnly>
                <RightOnly>left</RightOnly>
                <LeftNewer>right</LeftNewer>
                <RightNewer>left</RightNewer>
                <Different>none</Different>
                <Conflict>none</Conflict>
            </CustomDirections>
            <DetectMovedFiles>false</DetectMovedFiles>
            <DeletionPolicy>RecycleBin</DeletionPolicy>
            <VersioningFolder Style="Replace"/>
        </SyncConfig>
        <GlobalFilter>
            <Include>
                <Item>*</Item>
            </Include>
            <Exclude>
                <Item>\System Volume Information\</Item>
                <Item>\$Recycle.Bin\</Item>
                <Item>\RECYCLER\</Item>
                <Item>\RECYCLED\</Item>
                <Item>*\desktop.ini</Item>
                <Item>*\thumbs.db</Item>
                <Item>*.ffs_gui</Item>
                <Item>*.ffs_batch</Item>
                <Item>*.ffs_real</Item>
            </Exclude>
            <TimeSpan Type="None">0</TimeSpan>
            <SizeMin Unit="None">0</SizeMin>
            <SizeMax Unit="None">0</SizeMax>
        </GlobalFilter>
        <FolderPairs>
            <Pair>
                <Left>\\server\maps\Project.441\web</Left>
                <Right>sftp://username:[base64]Zml4aXQ=@example.ca/home/username/www.example.ca/maps/Right>
            </Pair>
        </FolderPairs>
        <OnCompletion/>
    </MainConfig>
    <BatchConfig>
        <HandleError>Ignore</HandleError>
        <RunMinimized>false</RunMinimized>
        <LogfileFolder Limit="-1">D:\logs</LogfileFolder>
    </BatchConfig>
</FreeFileSync>
User avatar
Site Admin
Posts: 7211
Joined: 9 Dec 2007

Zenju

SFTP and MTP do not support real time monitoring for changed files, so it cannot work with RealtimeSync. I've updated RealtimeSync to show an error message in this case rather than wait endlessly for the folders to arrive. Additionally, while waiting, RealtimeSync should show the particular folder path to further help diagnose error situations.
Posts: 1
Joined: 23 Feb 2016

zibra

Im trying to sync folders over LAN between multiple computers with RealtimeSync.
When one of the machines is switched off whole queue (other PCs) is paused.

Is there any solution to skip unavailable folders instead of stopping whole process?
User avatar
Site Admin
Posts: 7211
Joined: 9 Dec 2007

Zenju

Is there any solution to skip unavailable folders instead of stopping whole process?zibra
Using multiple RealTimeSync tasks should do.
Posts: 1
Joined: 24 Feb 2016

Tron

Hello,

And if the Sync is only one direction? This is mirroring. Drive on right (SFTP) is only for update not to scan for new files. Can this be solved with any "workaround"?

Thanks in advance,
J
Posts: 1
Joined: 25 Feb 2016

kentwu

Can RealtimeSyn be set up to sync in one direction ? It will be efficient not to scan for new files in destination if it is for mirroring. Any suggestion ?
User avatar
Posts: 2451
Joined: 22 Aug 2012

Plerry

And if the Sync is only one direction? This is mirroring. ...Tron
Can RealtimeSyn be set up to sync in one direction ? ...kentwu
Both of you seem to be mixing up things.
ReatimeSync (RTS) will monitor for changes, and then launch a specified application, typically FreeFileSync (FFS).

In case of an intended mirror sync, RTS should monitor (just) the source-location, not (also) the destination-location.
Upon detection of changes in the source location, RTS will launch FFS to perform the desired mirror-sync.

If the RTS only monitors the source location, and that source location is always on-line, RTS should always be able to run and not "hang".
Only upon RTS detecting changes in the source-location and launching the specified sync with FFS, might FFS detect that the destination is not on-line, and abort in the way you selection for that FFS sync.