# Rename fil based on time and date

**URL:** https://www.finalbuilder.com/forums/t/rename-fil-based-on-time-and-date/4409
**Category:** Discussion
**Created:** [December 7, 2009, 7:37am UTC](https://www.finalbuilder.com/forums/t/rename-fil-based-on-time-and-date/4409 "2009-12-07T07:37:05Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![diba](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/d/977dab/32.png) [@diba](https://www.finalbuilder.com/forums/u/diba)
#### Post date: [December 7, 2009, 7:37am UTC](https://www.finalbuilder.com/forums/t/rename-fil-based-on-time-and-date/4409/1 "2009-12-07T07:37:05Z")

</div>

Hi,

I have a FTP job that copys data from a share to a FTP site. When the job succes the file is moved to a "archive" folder on the share.

I need help to rename the file when&nbsp;moved to the folder so I can se when I was moved.

fx. file.txt -\> file\_01012010.txt when moved.

Is there a simple way to do that?

Best regards

Gordon

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [December 8, 2009, 12:14pm UTC](https://www.finalbuilder.com/forums/t/rename-fil-based-on-time-and-date/4409/2 "2009-12-08T12:14:00Z")

</div>

Hi Gordon

I have attached and example that shows how to do this.

&nbsp;

[filebasedondates.atz3](https://www.finalbuilder.com/forums/uploads/default/original/2X/f/fe6b148a097b54eee8e9404d61a4d2a5295f7b9a.atz3) (2.632 KB)
