Topic "Scripting and open files"

Author Message
brandonbelew
[View user's profile]

Joined: 2007-09-20
Posts: 2
Location: Kansas
If this has been answered, I'm sorry I couldn't find it.

I have a script, that is supposed to sync the user folder on our server to a 500gb NAS drive.
It works as planned, with one major problem. Even with batch set to continue, if a file is open at the time of the script being ran, it will error out and quit.

Script:

option batch continue
synchronize remote "E:\Users" /datbackup

Operating Systems
Source: Windows 2003 Server
Destination: *nix


Is it possible to make it skip open files, or continue on error? Or better yet, copy them anyways!

Thanks![/b]
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Thanks for your report. I'll check it.
_________________
Martin Prikryl
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Which protocol are you having the problem with? SFTP/SCP/FTP? what application do you have a file opened in? I cannot reproduce it Sad
_________________
Martin Prikryl
brandonbelew
[View user's profile]

Joined: 2007-09-20
Posts: 2
Location: Kansas
I'm using FTP, unfortunately the NAS backup i'm using to transfer to doesn't support sftp. Microsoft Exchange is one of the programs that has files open, the archive.pst files. It happens on a couple users folders, with several different types of files. It not moving the open files isn't really the problem, I just wish it would continue on to keep backing up after it fails.

Brandon
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Thanks. I will try again.
_________________
Martin Prikryl
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
This has been resolved already. The fix will be included into the next release.
_________________
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