<?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: separating files and images</title>
		<link>https://legacy.forums.gravityhelp.com/topic/separating-files-and-images</link>
		<description>Gravity Support Forums Topic: separating files and images</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 09:42:32 +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/separating-files-and-images" rel="self" type="application/rss+xml" />

		<item>
			<title>sascha on "separating files and images"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/separating-files-and-images#post-43212</link>
			<pubDate>Tue, 06 Dec 2011 06:10:22 +0000</pubDate>
			<dc:creator>sascha</dc:creator>
			<guid isPermaLink="false">43212@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hey Chris,&#60;br /&#62;
thanks soooo much. That saves me hours of trying to find the right bit of PHP!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "separating files and images"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/separating-files-and-images#post-43193</link>
			<pubDate>Tue, 06 Dec 2011 00:22:34 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">43193@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;&#60;a href=&#34;http://php.net/manual/en/function.rename.php&#34; rel=&#34;nofollow&#34;&#62;http://php.net/manual/en/function.rename.php&#60;/a&#62;&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php]
&#38;lt;?php
rename(&#38;quot;/old/tmp/tmp_file.txt&#38;quot;, &#38;quot;/home/user/login/documents/my_file.txt&#38;quot;);
?&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>sascha on "separating files and images"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/separating-files-and-images#post-43162</link>
			<pubDate>Mon, 05 Dec 2011 17:10:02 +0000</pubDate>
			<dc:creator>sascha</dc:creator>
			<guid isPermaLink="false">43162@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Chris,&#60;br /&#62;
thanks for the references! If I now find out how to move a file with php, then that task should be easy peasy!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "separating files and images"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/separating-files-and-images#post-43123</link>
			<pubDate>Mon, 05 Dec 2011 11:35:16 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">43123@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;There is no setting like that.  You could do it with some code to move the files after uploading, similar to renaming them after upload.  Move and rename are actually the same function, essentially, so the code would be the same.  Some related reading for your customization:&#60;/p&#62;
&#60;p&#62;Most recent and relevant:&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/forums/topic/append-a-prefix-to-file-uploads#post-39657&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/append-a-prefix-to-file-uploads#post-39657&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Also related, with more code:&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/forums/topic/renaming-uploaded-files-before-saving&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/renaming-uploaded-files-before-saving&#60;/a&#62;&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/forums/topic/custom-uploads#post-19064&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/custom-uploads#post-19064&#60;/a&#62;&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/forums/topic/renaming-file-uploads#post-2324&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/renaming-file-uploads#post-2324&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sascha on "separating files and images"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/separating-files-and-images#post-43113</link>
			<pubDate>Mon, 05 Dec 2011 09:38:27 +0000</pubDate>
			<dc:creator>sascha</dc:creator>
			<guid isPermaLink="false">43113@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi there,&#60;br /&#62;
is it possible to save uploaded files and post images into separate folders? I use the gform_upload_path filter already, but would like to save images into: ../post_images&#60;br /&#62;
and files into: ../files_uploads&#60;/p&#62;
&#60;p&#62;So if I have a form asking for 3 post images and 1 file upload, the images go to ../post_images and the file goes to ../file_uploads. This could be a global setting or a setting from form to form.&#60;br /&#62;
Any ideas?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
