Network Automation Software We are currently migrating this forum
over to our HelpSystems domain. Please
post all new threads in our new
HelpSystems Community Portal.
Post to the HelpSystems Forum
You are not currently logged on. You must be logged on in order to post. Log on
Or Create a new account
AutoMate Discussion
Decrease font size
Increase font size
Topic Title: Files moving before being copied.
Topic Summary:
Created On: 04/01/2018 05:15 PM
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 04/01/2018 05:15 PM
User is offline View Users Profile Print this message

Author Icon
CharlesCabral
n00b (>6 posts)

Posts: 2
Joined: 08/30/2017

I have a SFTP folder setup that is accessed by a customer at random times each day.
They can drop a single to 10's of files at a single time.

Action points are as such...

1. Incoming folder

2. Hot Folder

3 Done folder

Files arrive in the Incoming folder (1) and are to be copied to the Hot Folder (2) then moved on to the Done folder (3)

I am getting instances where files are sent to the Done folder before being copied to the Hot folder.

How can I set it up so that files won't move unless copied first and complete?

Thanks

 Category Survey
 04/02/2018 06:04 AM
User is offline View Users Profile Print this message

Author Icon
CharlesCabral
n00b (>6 posts)

Posts: 2
Joined: 08/30/2017

Is there something missing in my explanation that might help get a reply?

Thank You,

 Category Survey
 04/02/2018 08:29 AM
User is offline View Users Profile Print this message

Author Icon
Ricardo Castaneda
HelpSystems

Posts: 3424
Joined: 01/11/2008

Hello,

I apologize for the delayed response, I would suggest that you create a task that will loop through the Incoming folder and check the file size --> pause for a second or two --> during the second loop check the file size again --> once the file size has stopped increasing you can go ahead and move the files.

 Category Survey


-------------------------

Ricardo Castaneda | Principal Support Analyst
AutoMate | Division of HelpSystems
HelpSystems, LLC | T: +1.213.738.1700
Statistics
18258 users are registered to the AutoMate Discussion forum.
There are currently 0 users logged in.
The most users ever online was 5551 on 01/08/2018 at 11:11 AM.
There are currently 565 guests browsing this forum, which makes a total of 565 users using this forum.

FuseTalk Enterprise Edition v4.0 - © 1999-2019 FuseTalk Inc. All rights reserved.

Sitemap Network Automation Software Blog