problem with automatic synchronizing

Advertisement

Mahdi Bashiri
Joined:
Posts:
20

problem with automatic synchronizing

Hi
i have problem with autpmatic synchronizing script to remote site and also need to delete source file in local directory after successful transfer to remote site as below command line, but i think somethings goes wrong, please let me know?

synchronize remote -filemask=*.ccti D:\IscFtp\ACH\input ACH\input -criteria=size -delete

and output is :

'ACH\input/IR340200000000100012643002000000009.ccti' deleted
Error deleting file 'ACH\input/IR390200000000100008663002000000012.ccti'.
Access is denied.
(A)bort, (R)etry, (S)kip, Ski(p) all: Skip

Regards,
Mahdi

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,426
Location:
Prague, Czechia

Re: problem with automatic synchronizing

First, replace backslash with slash in your remote file path, i.e. ACH\input => ACH/input.

Then, attach a full log file showing the problem (using the latest version of WinSCP).

To generate log file, use /log=path_to_log_file command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you may email it to me. You will find my address (if you log in) in my forum profile. Please include link back to this topic in your email. Also note in this topic that you have emailed the log.

Reply with quote

Advertisement

You can post new topics in this forum