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

Re: Script won't synchronize folders

mar_lub wrote:

Yes I can see it once uploaded via GUI.

Show us a log file for that.

Add ls command after the synchronize and show us a log file for the script too.
mar_lub

Re: Script won't synchronize folders

martin wrote:

mar_lub wrote:

is it possible files are copied b I can't see them , because their rights aren't preserved on remote side?

It's possible that you do not have a listing permissions. Or that some process takes the file away for processing after it is uploaded.
If you upload the file in GUI to the same folder, can you see it?


That makes sense,
Yes I can see it once uploaded via GUI.
martin

Re: Script won't synchronize folders

mar_lub wrote:

is it possible files are copied b I can't see them , because their rights aren't preserved on remote side?

It's possible that you do not have a listing permissions. Or that some process takes the file away for processing after it is uploaded.
If you upload the file in GUI to the same folder, can you see it?
mar_lub

Re: Script won't synchronize folders

martin wrote:

It's a script file. It has nothing to do with GUI. What are you trying to do?

Hi,
let me explain:
- script should synchronise local and remote directories,
- seems to be working fine, as per log file
- when I log in to verify if the files have been copied successfully using GUI, there're not visible
My question is:
is it possible files are copied b I can't see them , because their rights aren't preserved on remote side?
Regards
martin

Re: Script won't synchronize folders

It's a script file. It has nothing to do with GUI. What are you trying to do?
mar_lub

Script won't synchronize folders

Script :
option batch
option confirm off
open "TEST profile"
synchronize remote "z:\test out\" /OUT
exit

It logs in fine, but when I log with GUI file is not at the remote site:

"
......
2016-02-17 13:58:15.660 Copying "D:\test out\test2.17.16.txt" to remote directory started.
. 2016-02-17 13:58:15.660 Binary transfer mode selected.
. 2016-02-17 13:58:15.660 Opening remote file.
> 2016-02-17 13:58:15.660 Type: SSH_FXP_OPEN, Size: 45, Number: 1539
< 2016-02-17 13:58:15.660 Type: SSH_FXP_STATUS, Size: 40, Number: 1284
. 2016-02-17 13:58:15.660 Discarding reserved response
< 2016-02-17 13:58:16.004 Type: SSH_FXP_HANDLE, Size: 10, Number: 1539
> 2016-02-17 13:58:16.004 Type: SSH_FXP_CLOSE, Size: 10, Number: 2052
> 2016-02-17 13:58:16.004 Type: SSH_FXP_SETSTAT, Size: 41, Number: 1801
< 2016-02-17 13:58:16.082 Type: SSH_FXP_STATUS, Size: 40, Number: 2052
< 2016-02-17 13:58:16.082 Status code: 0
. 2016-02-17 13:58:16.082 Preserving timestamp [2016-02-17T02:56:32.000Z]
< 2016-02-17 13:58:16.082 Type: SSH_FXP_STATUS, Size: 40, Number: 1801
< 2016-02-17 13:58:16.082 Status code: 0
. 2016-02-17 13:58:16.082 Transfer done: 'D:\test out\test2.17.16.txt' [0]
> 2016-02-17 13:58:16.082 Script: exit
. 2016-02-17 13:58:16.082 Script: Exit code: 0
. 2016-02-17 13:58:16.082 Closing connection.
. 2016-02-17 13:58:16.082 Sending special code: 12
. 2016-02-17 13:58:16.082 Sent EOF message
"
Any ideas guys, thanks