<?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: File upload on multisite</title>
		<link>https://legacy.forums.gravityhelp.com/topic/file-upload-on-multisite</link>
		<description>Gravity Support Forums Topic: File upload on multisite</description>
		<language>en-US</language>
		<pubDate>Mon, 06 Apr 2026 11:34:58 +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/file-upload-on-multisite" rel="self" type="application/rss+xml" />

		<item>
			<title>hhsandi on "File upload on multisite"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/file-upload-on-multisite#post-28619</link>
			<pubDate>Mon, 27 Jun 2011 17:00:42 +0000</pubDate>
			<dc:creator>hhsandi</dc:creator>
			<guid isPermaLink="false">28619@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;As usual, it was something that I didn't notice that was at fault - the file name (which I changed in my example) had an apostrophe in it, which was getting escaped by the multisite file handler and throwing a 404. Perhaps sanitizing filenames would be a nice feature, in the same way regular WP uploads are done? In the meantime, I'll just warn my users to stay away from apostrophes and quotes.&#60;/p&#62;
&#60;p&#62;Also, on multisite, network sites by default use /files/ instead of /uploads/, which is actually located at /wp-content/blogs.dir/{SITE_ID}/files/ and /wp-includes/ms-files.php handles getting the file appropriately. ms-files.php uses a $_GET variable for the file path, hence the extra slash that caused the 404. Happily, Gravity Forms does upload to the appropriate network site's file folder and all is well without apostrophes in the filename :) Thanks for taking a look.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "File upload on multisite"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/file-upload-on-multisite#post-28606</link>
			<pubDate>Mon, 27 Jun 2011 16:29:04 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">28606@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The file paths for uploaded files should look something like this:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://URL/wp-content/uploads/gravity_forms/..&#34; rel=&#34;nofollow&#34;&#62;http://URL/wp-content/uploads/gravity_forms/..&#60;/a&#62;.&#60;/p&#62;
&#60;p&#62;The examples you gave don't appear to be correct.  Gravity Forms uploads file upload field files to the wp-content/uploads/gravity_forms folder in subfolders and the URL to that shouldn't use URL rewriting, it should point to the wp-content/uploads/gravity_forms/ directory in the URL itself.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>hhsandi on "File upload on multisite"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/file-upload-on-multisite#post-28583</link>
			<pubDate>Mon, 27 Jun 2011 11:59:41 +0000</pubDate>
			<dc:creator>hhsandi</dc:creator>
			<guid isPermaLink="false">28583@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The file upload folder rewrite rule is not applying to links that Gravity Forms gives me on the upload of a file. The generated link &#60;code&#62;&#60;a href=&#34;http://URL/networksite/files/gravity_forms/1/2011/06/filename.pdf&#34; rel=&#34;nofollow&#34;&#62;http://URL/networksite/files/gravity_forms/1/2011/06/filename.pdf&#60;/a&#62;&#60;/code&#62; gives a 404 error, but accessing it in the directory using &#60;code&#62;&#60;a href=&#34;http://URL/wp-content/blogs.dir/2/files/gravity_forms/1/2011/06/filename.pdf&#34; rel=&#34;nofollow&#34;&#62;http://URL/wp-content/blogs.dir/2/files/gravity_forms/1/2011/06/filename.pdf&#60;/a&#62;&#60;/code&#62; does work. Files under the usual year/month folders do work correctly. It's not a problem to access the files via FTP for me, but it would be nice to access them using the generated links. Is there something I'm doing wrong, or is this a problem with multisite?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
