Topic "Recursive Synchronization"

Author Message
supercleanse

Guest


Is it possible to override the limit on the number of folders you can sychronize within the sub-directory structure of a directory? I am trying to synchronize my "My Documents" folder with a remote SSH server -- it has 1000+ folders and heavily nested. It would be nice if I could do this.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
You you want to do one-time synchronisation only (not continuous one), use "Synchornize" command, which does not have a limit.
_________________
Martin Prikryl
supercleanse

Guest


I am using the one-time synchronize command... I am using a script file that looks like this:

option batch on
option confirm on
option synchdelete off
synchronize remote "C:\Documents and Settings\supercleanse\My Documents" "/home/supercleanse/docs/My Documents"
exit

What I'm seeing is that at a certain point in the synchronization, it stops and if I reinitiate the synchronization it just looks at the folders I just sync'ed and then exits -- as if there is some kind of hard-coded limit.

Thanks.
supercleanse

Guest


Here's some more information -- it bombs out after syncing 191 directories with a maximum traversal depth of 6 directories. Oh, and the command I issue is as follows:

WinScp3.com supercleanse /script=c:/supercleanse.sync

The file called supercleanse.sync contains only the commands listed in my previous post:

option batch on
option confirm on
option synchdelete off
synchronize remote "C:\Documents and Settings\supercleanse\My Documents" "/home/supercleanse/docs/My Documents"
exit

Thanks.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
supercleanse wrote:
Here's some more information -- it bombs out after syncing 191 directories with a maximum traversal depth of 6 directories.

What does mean "bombs out"? Some error message? Or does it just stop?

Can you see something specific on the directory where does it stop? Or on directories it does not enter?
_________________
Martin Prikryl
supercleanse

Guest


I thought it was just stopping (because I was typing the command into the run dialog and the command prompt disappears instantly) but I typed the command into the command prompt and got this error message at the end of the sync:

C:\...\.Super Cleanse | 0 kB | 0.0 kB/s | binary | 0%
File or folder 'C:\mike\.Super Cleanse ' does not exist.
(A)bort, (R)etry, (S)kip: Abort

I think this file on my Hard Drive is corrupt -- and I can understand the program not liking a corrupt file, but shouldn't WinSCP just skip the corrupt file instead of aborting the whole process altogether? Is there a way to get it to skip files like this?

Thanks.
I
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
supercleanse wrote:
but shouldn't WinSCP just skip the corrupt file instead of aborting the whole process altogether?

Quote:
> help option
...
batch on/off
Toggles batch mode (all prompts are automatically replied
negatively
).
...


Quote:
Is there a way to get it to skip files like this?

No.
_________________
Martin Prikryl
strasharo
[View user's profile]

Joined: 2009-04-05
Posts: 1
So, is it anyway to modify the traversal depth to be bigger than 6 dirs?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
strasharo wrote:
So, is it anyway to modify the traversal depth to be bigger than 6 dirs?

There's no such limit.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License