# Copying to FTP, how to keep folder date?

**URL:** https://resource.dopus.com/t/copying-to-ftp-how-to-keep-folder-date/21579
**Category:** Help & Support
**Created:** [December 5, 2015, 1:12pm UTC](https://resource.dopus.com/t/copying-to-ftp-how-to-keep-folder-date/21579 "2015-12-05T13:12:14Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![abr](https://resource.dopus.com/user_avatar/resource.dopus.com/abr/32/62448_2.png) [@abr](https://resource.dopus.com/u/abr)
#### Post date: [December 5, 2015, 1:12pm UTC](https://resource.dopus.com/t/copying-to-ftp-how-to-keep-folder-date/21579/1 "2015-12-05T13:12:14Z")

</div>

This is an old question from the other forum. Is there a way to keep the date of a folder, when copying over to some FTP server? It works well for files, so maybe there is some tweak for folders, to keep the date?

---

<div class="post-metadata">

### Author: ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)
#### Post date: [December 5, 2015, 2:57pm UTC](https://resource.dopus.com/t/copying-to-ftp-how-to-keep-folder-date/21579/2 "2015-12-05T14:57:16Z")

</div>

I don't think there is currently. The FTP module seems to not set directory timestamps in general.

---

<div class="post-metadata">

### Author: ![abr](https://resource.dopus.com/user_avatar/resource.dopus.com/abr/32/62448_2.png) [@abr](https://resource.dopus.com/u/abr)
#### Post date: [December 5, 2015, 3:06pm UTC](https://resource.dopus.com/t/copying-to-ftp-how-to-keep-folder-date/21579/3 "2015-12-05T15:06:35Z")

</div>

Ok, thanks. Seems to be no big issue, but the user wasn't sure, if he overlooked some setting.

---

<div class="post-metadata">

### Author: ![Greg](https://resource.dopus.com/letter_avatar_proxy/v4/letter/g/71c47a/32.png) [@Greg](https://resource.dopus.com/u/Greg)
#### Post date: [December 7, 2015, 1:41am UTC](https://resource.dopus.com/t/copying-to-ftp-how-to-keep-folder-date/21579/4 "2015-12-07T01:41:14Z")

</div>

Unfortunately for normal FTP, the protocol does not support setting the file dates for folders, only files, and then only on specific servers that support the MDTM/MFMT command.

---

<div class="post-metadata">

### Author: ![Greg](https://resource.dopus.com/letter_avatar_proxy/v4/letter/g/71c47a/32.png) [@Greg](https://resource.dopus.com/u/Greg)
#### Post date: [December 8, 2015, 3:37am UTC](https://resource.dopus.com/t/copying-to-ftp-how-to-keep-folder-date/21579/5 "2015-12-08T03:37:01Z")

</div>

Hmm. Looks like I could have been in error here! Shock, Horror!

Setting the file times on folders does actually work when I do this by direct command. I've implemented it properly this in a test version. ABR, can you contact me directly (greg@...) and I'll send you the link to the test for more extensive testing.

---

<div class="post-metadata">

### Author: ![abr](https://resource.dopus.com/user_avatar/resource.dopus.com/abr/32/62448_2.png) [@abr](https://resource.dopus.com/u/abr)
#### Post date: [December 11, 2015, 3:29pm UTC](https://resource.dopus.com/t/copying-to-ftp-how-to-keep-folder-date/21579/6 "2015-12-11T15:29:29Z")

</div>

Greg. Sorry i'm replying so late, i didn't see your new answer earlier. I have just forwarded this to Markus, who initially asked. Will report back, or he will contact you then. Many thanks!

---

<div class="post-metadata">

### Author: ![Greg](https://resource.dopus.com/letter_avatar_proxy/v4/letter/g/71c47a/32.png) [@Greg](https://resource.dopus.com/u/Greg)
#### Post date: [December 12, 2015, 1:39am UTC](https://resource.dopus.com/t/copying-to-ftp-how-to-keep-folder-date/21579/7 "2015-12-12T01:39:48Z")

</div>

Thanks. There's a test version waiting for you.
