SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Problem with FileMove

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Problem with FileMove
Author Message
Giovanni Bruno



Joined: 08 Jun 2004
Posts: 1

Post Problem with FileMove Reply with quote

Good evening,
I have created a sequence of programs that they
elaborate of the File.
These programs depart to the presence of FILE.
These programs find a File it
they move with the fileMove FUNCTION
and they then launch an executable that it
elaborate them.
I Have however a problem with the Filemove.
The FileMove doesn't go in error but
the file of destination doesn't exist and
the file of origin comes canceled.
This means that I lose the file of origin.

Tue Jun 08, 2004 2:19 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7955

Post Re: Problem with FileMove Reply with quote

I am not sure I understood the problem. Here are just a few tips:

If you want to have a copy of the destination file either move it to another place or rename before moving the original file. To rename a file use
For example:
FileRename "destination.file", "destination.back"
FileMove "original.file", "destination.file"

You may want to check for the file size before moving it and if it is less then certain value you can then skip the FileMove step.

: Good evening,
: I have created a sequence of programs that they
: elaborate of the File.
: These programs depart to the presence of FILE.
: These programs find a File it
: they move with the fileMove FUNCTION
: and they then launch an executable that it
: elaborate them.
: I Have however a problem with the Filemove.
: The FileMove doesn't go in error but
: the file of destination doesn't exist and
: the file of origin comes canceled.
: This means that I lose the file of origin.

Tue Jun 08, 2004 5:27 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.