The 'include subfolders' in 'SFTP syncronize' appears to not work. Sub-folders seem to be ignored.
Has it worked for anyone?
Recursive SFTP Sync
Recursive SFTP Sync
Dan Bullock
Re: Recursive SFTP Sync
I've just tested on our SSH server. The action "SFTP Synchronization" works properly
Could you please send your example of task?
Could you please send your example of task?
Oleg Yershov
Re: Recursive SFTP Sync
Send the log file of this task, please.
I tested this again. I used path of remote folder from root or from current folder. It works in any case.
If log file doesn't contain any errors or warnings then this means that the source folder doesn't exist or doesn't contain files.
Also one note:
"Sync folders" action doesn't copy empty folders. It copies files only.
maybe it's necessary to add such feature.
I tested this again. I used path of remote folder from root or from current folder. It works in any case.
If log file doesn't contain any errors or warnings then this means that the source folder doesn't exist or doesn't contain files.
Also one note:
"Sync folders" action doesn't copy empty folders. It copies files only.
maybe it's necessary to add such feature.
Oleg Yershov
Re: Recursive SFTP Sync
I'll have to run a new test to get the logs again, but the logs only said 0 files copied.
The test I ran had two sub-folders which did contain files. I thought perhaps it exited since there were no files in the top-most directory, so I added a test file. But that still failed.
I'll run it again and post the log.
Thanks.
The test I ran had two sub-folders which did contain files. I thought perhaps it exited since there were no files in the top-most directory, so I added a test file. But that still failed.
I'll run it again and post the log.
Thanks.
Dan Bullock
Re: Recursive SFTP Sync
Directory:
And the directory webalizer contains one file called test.htm

Log:

SFTP Sync config:

And the directory webalizer contains one file called test.htm

Log:

SFTP Sync config:

Dan Bullock
Re: Recursive SFTP Sync
Check the access permissions for folder "/var/www/webalizer" for your user.
It seems RoboTask can't get the list of files of this folder. In this case "sFTP sync" will ignore this folder because it sees an empty folder.
Pay attention that the root user can have insufficient permissions to read folder too. But user root can change the permission in any case for any object.
It seems RoboTask can't get the list of files of this folder. In this case "sFTP sync" will ignore this folder because it sees an empty folder.
Pay attention that the root user can have insufficient permissions to read folder too. But user root can change the permission in any case for any object.
Oleg Yershov
Re: Recursive SFTP Sync
I don't think permissions is an issue. Using WinSCP I can sync files without a problem using 'root'.Oleg wrote:Check the access permissions for folder "/var/www/webalizer" for your user.
It seems RoboTask can't get the list of files of this folder. In this case "sFTP sync" will ignore this folder because it sees an empty folder.
Pay attention that the root user can have insufficient permissions to read folder too. But user root can change the permission in any case for any object.
If there any way to have robotask provide more of a debug log to show what it is seeing?
Dan Bullock
Re: Recursive SFTP Sync
I sent instructions by private message.
Send debug logs to me, please.
This log contains all requests and responses during work of SFTP actions.
Send debug logs to me, please.
This log contains all requests and responses during work of SFTP actions.
Oleg Yershov