Here is summary of problem and questions --- with excerpts of logs below:   
Question#1:  Although it is okay to have multiple logins/jobs open to the
same directory at the same time, is it okay to try to STOR the SAME file at
the same time?  That doesn't seem okay to me.  But since the second job
below did fail as expected with an ERROR_SHARING_VIOLATION, could the
attempt by the second job to STOR cause the first job's STOR to fail?

Question#2:  If a job is trying to STOR and then a different job starts and
tries to LIST the directory where the first job is STOR'ing, wculd the
action of trying to LIST the directory cause the first job STOR to fail?

thanks for your help!
April

LOG:
1)  Job #1 executes a STOR command:

1015 09:20:27 (00000754) 66.21.4.42:24913 connected to 172.20.10.133:21
1015 09:20:27 (00000754) data.catalogcity.com D(0) 66.21.4.42 UNK USER
ashford
1015 09:20:29 (00000754) data.catalogcity.com S(0) 66.21.4.42 ashford logon
success (A1)
1015 09:20:29 (00000754) data.catalogcity.com D(0) 66.21.4.42 ashford PWD
1015 09:20:29 (00000754) data.catalogcity.com D(0) 66.21.4.42 ashford TYPE I
1015 09:20:30 (00000754) data.catalogcity.com D(0) 66.21.4.42 ashford PORT
066,21,4,42,8,119
1015 09:20:30 (00000754) data.catalogcity.com D(0) 66.21.4.42 ashford STOR
AshAltura_20031015.xml
1015 09:20:31 (00000754) data.catalogcity.com D(0) 66.21.4.42 ashford local
bind to specific port 20 success
1015 09:20:31 (00000754) data.catalogcity.com D(0) 66.21.4.42 ashford PORT
DATA connection from 66.21.4.42:20 to 66.21.4.42:2167
  
2)  Then Job#2 comes along and tries to STOR the same file again while Job#1
has not completed yet.  I am assuming the ERROR_SHARING_VIOLATION is because
Job#1 is still trying to write this file:

1015 09:32:12 (00000818) 66.21.4.49:32967 connected to 172.20.10.133:21
1015 09:32:12 (00000818) data.catalogcity.com D(0) 66.21.4.49 UNK USER
ashford
1015 09:32:13 (00000818) data.catalogcity.com S(0) 66.21.4.49 ashford logon
success (A1)
1015 09:32:14 (00000818) data.catalogcity.com D(0) 66.21.4.49 ashford PWD
1015 09:32:14 (00000818) data.catalogcity.com D(0) 66.21.4.49 ashford TYPE I
1015 09:32:15 (00000818) data.catalogcity.com D(0) 66.21.4.49 ashford PORT
066,021,04,49,8,98
1015 09:32:15 (00000818) data.catalogcity.com D(0) 66.21.4.49 ashford STOR
AshAltura_20031015.xml
1015 09:32:15 (00000818) data.catalogcity.com D(0) 66.21.4.49 ashford local
bind to specific port 20 success
1015 09:32:15 (00000818) data.catalogcity.com D(0) 66.21.4.49 ashford PORT
DATA connection from 66.21.4.49:20 to 66.21.4.49:2146
1015 09:32:16 (00000818) data.catalogcity.com O(ERROR_SHARING_VIOLATION)
66.21.4.49 ashford ERR:STOR AshAltura_20031015.xml
(F:/FTPRoot/ashford/AshAltura_20031015.xml)
1015 09:32:16 (00000818) data.catalogcity.com D(0) 66.21.4.49 ashford QUIT
1015 09:32:16 (00000818) data.catalogcity.com S(0) 66.21.4.49 ashford logoff
R:0 D:0 P:0
1015 09:32:16 (00000818) 66.21.4.49 connection closed

3)  Then five minutes later Job#1 reports a failure to STOR the file due to
generic network timeout?:

1015 09:37:12 (00000754) data.catalogcity.com N(WSAEINTR) 66.21.4.42 ashford
ERR:STOR AshAltura_20031015.xml (F:/FTPRoot/ashford/AshAltura_20031015.xml)
(159944 bytes, 1001250 ms)
1015 09:37:12 (00000754) data.catalogcity.com D(0) 66.21.4.42 ashford QUIT
1015 09:37:12 (00000754) data.catalogcity.com S(0) 66.21.4.42 ashford logoff
R:0 D:0 P:0
1015 09:37:12 (00000754) 66.21.4.42 connection closed

Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.


An Archive of this list is available at:
http://www.mail-archive.com/wsftp_forum%40list.ipswitch.com/

Reply via email to