SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
24x7 locking file name

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
24x7 locking file name
Author Message
Hank Hill



Joined: 14 Feb 2002
Posts: 47

Post 24x7 locking file name Reply with quote

We have processes to transmit files between various computers. On occasion, we'll receive an error message that the file cannot be moved because a file with that name exists in the destination. The only problem is, there is no file with that name in the destination directory. If we change the filename or the destination, it works fine so the only other moving part is 24x7. Is there something we can add to the jobs to force 24x7 to release the file when done or is this a known bug?

Wed Jul 30, 2003 3:11 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7968

Post Re: 24x7 locking file name Reply with quote

How is the "file move" operation implemented? Is this a JAL or VB script? If nto, what else?

: We have processes to transmit files between various computers. On occasion,
: we'll receive an error message that the file cannot be moved because a
: file with that name exists in the destination. The only problem is, there
: is no file with that name in the destination directory. If we change the
: filename or the destination, it works fine so the only other moving part
: is 24x7. Is there something we can add to the jobs to force 24x7 to
: release the file when done or is this a known bug?

Wed Jul 30, 2003 5:08 pm View user's profile Send private message
Hank Hill



Joined: 14 Feb 2002
Posts: 47

Post Re: 24x7 locking file name Reply with quote

: How is the "file move" operation implemented? Is this a JAL or VB
: script? If nto, what else?

It uses the JAL filemove command.

Thu Jul 31, 2003 6:18 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7968

Post Re: 24x7 locking file name Reply with quote

FileMove internally calls the same function that Windows Explorer calls when you drag-and-drop files or do Cut and Paste.

If you suspect that FileMove is the cause of this problem try using DOS move command instead

If you now have FileMove "source.file", "destination.file"

try replacing it with the following

Dim pid, number
RunAndWait "cmd /c move source.file target.file", "", 0, pid

If this does not fix the problem then it is not the FileMove that causes it.

windows something else

: It uses the JAL filemove command.

Thu Jul 31, 2003 9:59 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.