<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: Removing Uploaded Files</title>
		<link>https://legacy.forums.gravityhelp.com/topic/removing-uploaded-files</link>
		<description>Gravity Support Forums Topic: Removing Uploaded Files</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 04:49:51 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/removing-uploaded-files" rel="self" type="application/rss+xml" />

		<item>
			<title>David Peralty on "Removing Uploaded Files"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/removing-uploaded-files#post-289402</link>
			<pubDate>Thu, 30 May 2013 09:38:14 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">289402@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks for letting us know. All my best!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>exelmansgraphics on "Removing Uploaded Files"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/removing-uploaded-files#post-289266</link>
			<pubDate>Thu, 30 May 2013 08:42:40 +0000</pubDate>
			<dc:creator>exelmansgraphics</dc:creator>
			<guid isPermaLink="false">289266@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;@AndyDods +1000 for a feature like that.&#60;/p&#62;
&#60;p&#62;My client's site is on a server with limited disk space and he is receiving 50+ emails with heavy attachments each week. The server disk gets full quickly. Now I or the client need to delete entries or files manually... An automated setting could be a real timesaver!&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>AndyDods on "Removing Uploaded Files"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/removing-uploaded-files#post-52761</link>
			<pubDate>Sun, 18 Mar 2012 06:29:13 +0000</pubDate>
			<dc:creator>AndyDods</dc:creator>
			<guid isPermaLink="false">52761@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Is there anyway to set up uploaded files to &#34;auto - delete&#34; after a specific period of time or when a certain size limit is reached. &#60;/p&#62;
&#60;p&#62;I dont want files &#34;piling up&#34; and dont really want to go in and delete them by hand.&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Removing Uploaded Files"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/removing-uploaded-files#post-42634</link>
			<pubDate>Wed, 30 Nov 2011 19:32:53 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">42634@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Yes, any details you can provide will be most helpful so we can compare code and see exactly what is going on in this scenario.  You can use &#60;a href=&#34;http://pastie.org/&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/&#60;/a&#62; to show us the code if that works easiest for you.  We are getting ready to release Gravity Forms v1.6.2 so if you can give us more details we should be able to work this fix into the next release.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carlos on "Removing Uploaded Files"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/removing-uploaded-files#post-42603</link>
			<pubDate>Wed, 30 Nov 2011 18:21:39 +0000</pubDate>
			<dc:creator>Carlos</dc:creator>
			<guid isPermaLink="false">42603@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Our fix is in and files are being removed correctly on our MultiSite install; let us know if you'd like more details and/or if you plan to fix it in the core plugin.&#60;/p&#62;
&#60;p&#62;Thanks,
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carlos on "Removing Uploaded Files"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/removing-uploaded-files#post-42560</link>
			<pubDate>Wed, 30 Nov 2011 11:12:51 +0000</pubDate>
			<dc:creator>Carlos</dc:creator>
			<guid isPermaLink="false">42560@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;So our developer believes that Gravity forms is not doing a proper check for MultiSite installations (which normal WP does) before trying to delete the files (the locations are different).&#60;/p&#62;
&#60;p&#62;He will be hard coding a fix in the plugin for our purposes, but please let us know if you'd be interested in the code, or in releasing a separate fix.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carlos on "Removing Uploaded Files"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/removing-uploaded-files#post-42445</link>
			<pubDate>Tue, 29 Nov 2011 13:07:43 +0000</pubDate>
			<dc:creator>Carlos</dc:creator>
			<guid isPermaLink="false">42445@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;We are running 1.6.1 in a MultiSite environment -- our new folders contain the hash.&#60;/p&#62;
&#60;p&#62;I noticed in your screenshots that your folder did not, hence why I brought it up.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Removing Uploaded Files"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/removing-uploaded-files#post-42337</link>
			<pubDate>Mon, 28 Nov 2011 17:33:07 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">42337@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;What version of Gravity Forms are you running?  If you see &#34;9&#34; instead of &#34;9-XXXXX&#34; then it doesn't sound like you are running Gravity Forms v1.6+ OR it sounds like you are viewing entries created prior to Gravity Forms v1.6.&#60;/p&#62;
&#60;p&#62;The name of the directory for uploads was changed in v1.6+ to incorporate a unique value as part of the directory name to make the folder name unique so it cannot be guessed.&#60;/p&#62;
&#60;p&#62;Create a new form, with new upload fields and let me know what the folder name is.  Also make sure you are running Gravity Forms v1.6.1+ and not an older version of Gravity Forms.  The delete functionality was only introduced in Gravity Forms v1.6+.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carlos on "Removing Uploaded Files"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/removing-uploaded-files#post-42331</link>
			<pubDate>Mon, 28 Nov 2011 17:23:58 +0000</pubDate>
			<dc:creator>Carlos</dc:creator>
			<guid isPermaLink="false">42331@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you for the thorough testing.&#60;/p&#62;
&#60;p&#62;However, I cannot get it to work on our system. I will have our developer spend some time debugging it, but one obvious difference I see is that the directory names for our uploads are not just showing the ID of the form -- they appear to have a hash tag inserted into them.&#60;/p&#62;
&#60;p&#62;For example, if I make a new form, give it a file upload field, and upload a file to it, it's directory on the server is &#34;9-18049550151d08054d552dd9bf6e2eda&#34;, instead of simply &#34;9&#34;.&#60;/p&#62;
&#60;p&#62;No manner of the deleting uploads (edit the forming entry, deleting the form/emptying the trash) work.&#60;/p&#62;
&#60;p&#62;I am not sure permissions are the problem, as the normal WordPress media gallery works just fine with our existing permissions -- we can add/remove properly. Unless you're bypassing that system...?&#60;/p&#62;
&#60;p&#62;FYI -- we are on a WordPress MultiSite install.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Removing Uploaded Files"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/removing-uploaded-files#post-42325</link>
			<pubDate>Mon, 28 Nov 2011 17:05:41 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">42325@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Gravity Forms should be deleting entry related uploads when you delete an entry now.  &#60;/p&#62;
&#60;p&#62;It was a change made in Gravity Forms v1.6.  It should occur both when you delete a file by editing an individual entry, and when you delete an entry permanently via the Trash.&#60;/p&#62;
&#60;p&#62;I just verified this is indeed working as intended on my local test install.  I have documented this via screenshots below.&#60;/p&#62;
&#60;p&#62;Here is my entry detail showing the 2 files I uploaded:&#60;br /&#62;
&#60;a href=&#34;http://dl.dropbox.com/u/185347/Slingshot/Pictures/Screen%20Shot%202011-11-28%20at%204.02.44%20PM.png&#34; rel=&#34;nofollow&#34;&#62;http://dl.dropbox.com/u/185347/Slingshot/Pictures/Screen%20Shot%202011-11-28%20at%204.02.44%20PM.png&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Here are the files on my development server:&#60;br /&#62;
&#60;a href=&#34;http://dl.dropbox.com/u/185347/Slingshot/Pictures/Screen%20Shot%202011-11-28%20at%204.03.34%20PM.png&#34; rel=&#34;nofollow&#34;&#62;http://dl.dropbox.com/u/185347/Slingshot/Pictures/Screen%20Shot%202011-11-28%20at%204.03.34%20PM.png&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Here is my entry detail after deleting 1 file:&#60;br /&#62;
&#60;a href=&#34;http://dl.dropbox.com/u/185347/Slingshot/Pictures/Screen%20Shot%202011-11-28%20at%204.03.53%20PM.png&#34; rel=&#34;nofollow&#34;&#62;http://dl.dropbox.com/u/185347/Slingshot/Pictures/Screen%20Shot%202011-11-28%20at%204.03.53%20PM.png&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Here are the files on my development server after deleting 1 file:&#60;br /&#62;
&#60;a href=&#34;http://dl.dropbox.com/u/185347/Slingshot/Pictures/Screen%20Shot%202011-11-28%20at%204.04.15%20PM.png&#34; rel=&#34;nofollow&#34;&#62;http://dl.dropbox.com/u/185347/Slingshot/Pictures/Screen%20Shot%202011-11-28%20at%204.04.15%20PM.png&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Here are the files on my development server after moving the Entry to the Trash and then deleting it permanently from the Trash:&#60;br /&#62;
&#60;a href=&#34;http://dl.dropbox.com/u/185347/Slingshot/Pictures/Screen%20Shot%202011-11-28%20at%204.04.56%20PM.png&#34; rel=&#34;nofollow&#34;&#62;http://dl.dropbox.com/u/185347/Slingshot/Pictures/Screen%20Shot%202011-11-28%20at%204.04.56%20PM.png&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Please note when you move an Entry to the Trash it does not delete the files associated with the Entry.  It only deletes the files when you go to the Trash and delete the entry permanently.  This is to prevent accidental deletion of files that you didn't intend to actually delete.&#60;/p&#62;
&#60;p&#62;If this is not functioning properly then something isn't correct.  The first thing I would check is make sure you have file permissions set so that the permissions on the wp-content/uploads/gravity_forms folder and ALL of it's sub-folders are set so that Gravity Forms which executes as PHP can delete existing files.  It could be a file permission issue.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
