Windows locks an scp file for 6 seconds
I am using winscp.com 4.1.8.415. I am using it via a Java program to access files on a secure AIX server, and then display them in a Swing GUI on an XP desktop. I have no problem getting the files, and putting them back.
The problem is that even if the file is very small (1K) there is a ALWAYS a 6 second minimum delay AFTER the winscp.com script completes, and before Windows allows me to read the file.
I execute a command such as "winscp.com user:pswd@server /script=..." see below:
option batch on
option confirm off
cd /some directory
get filea filea
exit
Does winscp have the file locked? Or does Windows?
The file appears to be immediately available on the AIX server.
The problem is that even if the file is very small (1K) there is a ALWAYS a 6 second minimum delay AFTER the winscp.com script completes, and before Windows allows me to read the file.
I execute a command such as "winscp.com user:pswd@server /script=..." see below:
option batch on
option confirm off
cd /some directory
get filea filea
exit
Does winscp have the file locked? Or does Windows?
The file appears to be immediately available on the AIX server.