<?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: Get File Path of File Upload</title>
		<link>https://legacy.forums.gravityhelp.com/topic/get-file-path-of-file-upload</link>
		<description>Gravity Support Forums Topic: Get File Path of File Upload</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 03:06:00 +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/get-file-path-of-file-upload" rel="self" type="application/rss+xml" />

		<item>
			<title>arrongibson on "Get File Path of File Upload"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/get-file-path-of-file-upload#post-235461</link>
			<pubDate>Fri, 03 May 2013 13:44:14 +0000</pubDate>
			<dc:creator>arrongibson</dc:creator>
			<guid isPermaLink="false">235461@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;If you can get the lead id of the submission you could query for the lead detail that has the filename in it.  that would give you a full path.  this is all AFTER it's been stored of course.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Noel Green on "Get File Path of File Upload"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/get-file-path-of-file-upload#post-215759</link>
			<pubDate>Fri, 19 Apr 2013 12:36:41 +0000</pubDate>
			<dc:creator>Noel Green</dc:creator>
			<guid isPermaLink="false">215759@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Yes.  I'm doing that actually.&#60;/p&#62;
&#60;p&#62;BUT... if someone uploads a file of the same name it ends up renaming it with a sequential number after the form is submitted... but the form only knows to use the name of the file that's uploaded.&#60;/p&#62;
&#60;p&#62;So, for example. someone uploads a file &#34;myfile.pdf&#34;&#60;br /&#62;
The file uploads to my directory and the PHP grabs the file that was uploaded.  But... when someone uploaded the same file again WordPress (or whatever) doesn't overwrite it.  So the NEW file becomes &#34;myfile1.pdf&#34; but the Gravity Forms still reads you uploaded &#34;myfile.pdf&#34; so the link goes to the &#34;old&#34; file.&#60;/p&#62;
&#60;p&#62;Like this...&#60;br /&#62;
&#60;a href=&#34;http://pastebin.com/ZAa8AcDG&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/ZAa8AcDG&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I need a way to get the link of the actual file that was uploaded.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Get File Path of File Upload"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/get-file-path-of-file-upload#post-215740</link>
			<pubDate>Fri, 19 Apr 2013 12:15:00 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">215740@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You could set the path using the following hook: &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_upload_path&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_upload_path&#60;/a&#62; &#60;/p&#62;
&#60;p&#62;Then you would always know where it is going to be uploaded.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Noel Green on "Get File Path of File Upload"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/get-file-path-of-file-upload#post-214684</link>
			<pubDate>Thu, 18 Apr 2013 18:03:12 +0000</pubDate>
			<dc:creator>Noel Green</dc:creator>
			<guid isPermaLink="false">214684@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Is there a way to get the path of the file uploaded from a &#34;File Upload&#34; field?&#60;/p&#62;
&#60;p&#62;I'd like to get the file after the form submission and populate another field in the form with the information.  But I can't figure out the &#34;hook&#34; to grab the file field.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
