<?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: Large File Upload</title>
		<link>https://legacy.forums.gravityhelp.com/topic/large-file-upload</link>
		<description>Gravity Support Forums Topic: Large File Upload</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 23:25:45 +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/large-file-upload" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Large File Upload"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/large-file-upload#post-76389</link>
			<pubDate>Wed, 19 Sep 2012 18:19:52 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">76389@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;@jcollier, please start a new topic for your issue.  This one is over two years old.  Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jcollier on "Large File Upload"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/large-file-upload#post-76377</link>
			<pubDate>Wed, 19 Sep 2012 17:32:32 +0000</pubDate>
			<dc:creator>jcollier</dc:creator>
			<guid isPermaLink="false">76377@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I do development on my local machine, and then commit changes via git.&#60;/p&#62;
&#60;p&#62;Is there a path variable I could use to reference a new /assets/ directory (at the site root) in relationship to the index.php file rather than a full server path?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Large File Upload"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/large-file-upload#post-35896</link>
			<pubDate>Wed, 21 Sep 2011 15:58:27 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">35896@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You wouldn't modify the path in Gravity Forms by editing a Gravity Forms file.&#60;/p&#62;
&#60;p&#62;You would modify the upload path by adding custom PHP to your themes functions.php that uses a filter to set the file upload path.&#60;/p&#62;
&#60;p&#62;The hook for this is documented here:&#60;/p&#62;
&#60;p&#62;&#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;</description>
		</item>
		<item>
			<title>ckluis on "Large File Upload"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/large-file-upload#post-35895</link>
			<pubDate>Wed, 21 Sep 2011 15:55:07 +0000</pubDate>
			<dc:creator>ckluis</dc:creator>
			<guid isPermaLink="false">35895@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Dumb question - which file should I open to modify the path?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Large File Upload"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/large-file-upload#post-14954</link>
			<pubDate>Thu, 23 Dec 2010 15:31:23 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">14954@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The PATH is used to actually store the file, the full physical path on the server to the folder you want to store the file.  This folder has to have the correct file permissions set on it to allow uploads to go there.&#60;/p&#62;
&#60;p&#62;The URL is the http:// URL to that folder.  This is used to link to the file that is uploaded from the entry detail, notification emails, etc. so you can access the file via HTTP.&#60;/p&#62;
&#60;p&#62;If the file isn't accessible via HTTP the only way to access them would be to manually FTP into your site and access the folder that way. So we have a URL parameter to set the URL for that folder so the files can be linked to.&#60;/p&#62;
&#60;p&#62;You don't have to provide the link that is created from the URL to people if you don't want to.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Capstone on "Large File Upload"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/large-file-upload#post-14950</link>
			<pubDate>Thu, 23 Dec 2010 14:21:37 +0000</pubDate>
			<dc:creator>Capstone</dc:creator>
			<guid isPermaLink="false">14950@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm pretty new to php. I see that two paths are specified in the example. What is each one for, and why are they different?&#60;/p&#62;
&#60;p&#62;$path_info[&#34;path&#34;] = &#34;/new/path/&#34;;&#60;br /&#62;
$path_info[&#34;url&#34;] = &#34;http://new_url.com/images/&#34;;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Large File Upload"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/large-file-upload#post-14941</link>
			<pubDate>Thu, 23 Dec 2010 12:59:13 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">14941@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Currently there is no progress bar.  We plan on introducing a progress indicator when we introduce multi-file uploads from a single field.&#60;/p&#62;
&#60;p&#62;Yes, there is a filter you can use to change the upload directory using PHP.  You can set this change so it effects ALL forms, or implement it so it only effects SPECIFIC forms.&#60;/p&#62;
&#60;p&#62;The code looks like this, as with all customizations using hooks and filters it would go in your themes functions.php file:&#60;/p&#62;
&#60;p&#62;Change upload directory for all forms:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;quot;gform_upload_path&#38;quot;, &#38;quot;change_upload_path&#38;quot;, 20, 2);
        function change_upload_path($path_info, $form_id){
            $path_info[&#38;quot;path&#38;quot;] = &#38;quot;/new/path/&#38;quot;;
            $path_info[&#38;quot;url&#38;quot;] = &#38;quot;http://new_url.com/images/&#38;quot;;
            return $path_info;
        }&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Change upload directory for specific form, the &#34;4&#34; in the gform_upload_path_4 below is the form id and this is what you would change for the form you want to customize:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;quot;gform_upload_path_4&#38;quot;, &#38;quot;change_upload_path&#38;quot;);
        function change_upload_path($path_info){
            $path_info[&#38;quot;path&#38;quot;] = &#38;quot;/new/path/&#38;quot;;
            $path_info[&#38;quot;url&#38;quot;] = &#38;quot;http://new_url.com/images/&#38;quot;;
            return $path_info;
        }&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;You have to get the path correct, I believe it's an absolute path from the root of the server but I can't remember 100% off the top of my head.  You have to also set the URL to the upload location, because this is used to then link to the image in the admin, notifications, etc.  It may differ from the path as it is absolute.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>trig on "Large File Upload"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/large-file-upload#post-14927</link>
			<pubDate>Thu, 23 Dec 2010 10:20:37 +0000</pubDate>
			<dc:creator>trig</dc:creator>
			<guid isPermaLink="false">14927@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Carl, glad to hear the form can handle it.  What I worry about is the user not knowing if it is working or not when the file may be huge.  Say 100mb.  Is there a way to add a progress bar?   Also, is there a way for force those large files into a designated directory of our choice?&#60;/p&#62;
&#60;p&#62;Truf
&#60;/p&#62;</description>
		</item>
		<item>
			<title>3dp on "Large File Upload"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/large-file-upload#post-9847</link>
			<pubDate>Tue, 14 Sep 2010 11:59:50 +0000</pubDate>
			<dc:creator>3dp</dc:creator>
			<guid isPermaLink="false">9847@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Large File Upload"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/large-file-upload#post-9833</link>
			<pubDate>Tue, 14 Sep 2010 11:12:45 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">9833@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Gravity Forms can handle any file size as long as your PHP setup can handle it.  PHP controls file upload size limits and script timeout.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
