# New file processing

**URL:** https://www.finalbuilder.com/forums/t/new-file-processing/4329
**Category:** Discussion
**Created:** [September 24, 2008, 11:52am UTC](https://www.finalbuilder.com/forums/t/new-file-processing/4329 "2008-09-24T11:52:19Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [September 24, 2008, 11:52am UTC](https://www.finalbuilder.com/forums/t/new-file-processing/4329/1 "2008-09-24T11:52:19Z")

</div>

1. Need to grab the newest&nbsp; file image\_radar and move it to a folder Radar

2. Call a script

3. Delete file image\_radar from folder Radar

4. ftp new file image\_radar.png from radar\_processed to ftp site

5. Delete image\_radar.png from folder radar\_processed

I don't understand how to get step one completed?

&nbsp;

---

<div class="post-metadata">

### Author: ![tate](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/t/e19b73/32.png) [@tate](https://www.finalbuilder.com/forums/u/tate)
#### Post date: [September 25, 2008, 1:59am UTC](https://www.finalbuilder.com/forums/t/new-file-processing/4329/2 "2008-09-25T01:59:26Z")

</div>

Here’s one way to do it:   
  
 Use a FileSet Define action to select the file you want and make sure you order the fileset by filedate   
 Use a FileSet Iterator action and in the OnAfterEachIteration call Action.Reset (this means that it’ll stop on the first file)   
 Under the FileSet Iterator action, put a Move Files(s) action to do the move to Radar folder.
