<?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: How to prevent uploading duplicate file names?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/how-to-prevent-uploading-duplicate-file-names</link>
		<description>Gravity Support Forums Topic: How to prevent uploading duplicate file names?</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 23:47:25 +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/how-to-prevent-uploading-duplicate-file-names" rel="self" type="application/rss+xml" />

		<item>
			<title>Field2 on "How to prevent uploading duplicate file names?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-prevent-uploading-duplicate-file-names#post-342082</link>
			<pubDate>Mon, 24 Jun 2013 09:44:14 +0000</pubDate>
			<dc:creator>Field2</dc:creator>
			<guid isPermaLink="false">342082@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;OK, filling out a form now. Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Rob Harrell on "How to prevent uploading duplicate file names?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-prevent-uploading-duplicate-file-names#post-342081</link>
			<pubDate>Mon, 24 Jun 2013 09:43:15 +0000</pubDate>
			<dc:creator>Rob Harrell</dc:creator>
			<guid isPermaLink="false">342081@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;What version of GF are you using? Can you please fill out a priority support form and include all necessary details and logins (FTP, WP Admin, phpmyadmin access) so we can take a closer look:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/priority-support/&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/priority-support/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Field2 on "How to prevent uploading duplicate file names?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-prevent-uploading-duplicate-file-names#post-342026</link>
			<pubDate>Mon, 24 Jun 2013 09:19:22 +0000</pubDate>
			<dc:creator>Field2</dc:creator>
			<guid isPermaLink="false">342026@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi guys, I really need help on this. The form software isn't working; it's allowing duplicates; some people's files are overwriting others' files. I don't know what else I can do on my end. Please help!!!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Field2 on "How to prevent uploading duplicate file names?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-prevent-uploading-duplicate-file-names#post-323544</link>
			<pubDate>Fri, 14 Jun 2013 15:24:55 +0000</pubDate>
			<dc:creator>Field2</dc:creator>
			<guid isPermaLink="false">323544@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;OK, I thought it had to prevent dupes, but I added that to make sure. What's happening is that some entrants are seeing other entrants' photos posted as their own. I can provide login creds if needed. Thanks so much for your help.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Field2 on "How to prevent uploading duplicate file names?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-prevent-uploading-duplicate-file-names#post-323543</link>
			<pubDate>Fri, 14 Jun 2013 15:24:55 +0000</pubDate>
			<dc:creator>Field2</dc:creator>
			<guid isPermaLink="false">323543@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;OK, I thought it had to prevent dupes, but I added that to make sure. What's happening is that some entrants are seeing other entrants' photos posted as their own. I can provide login creds if needed. Thanks so much for your help.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "How to prevent uploading duplicate file names?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-prevent-uploading-duplicate-file-names#post-323539</link>
			<pubDate>Fri, 14 Jun 2013 15:19:12 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">323539@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;By default, our file uploader wouldn't allow duplicate names, it would append a -1 or -2 after them like WordPress' media uploader does, but because you've changed how things work, it isn't doing that. Not sure why your random file name generator isn't working. I can pass this thread to our developers to take a look though.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Field2 on "How to prevent uploading duplicate file names?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-prevent-uploading-duplicate-file-names#post-323401</link>
			<pubDate>Fri, 14 Jun 2013 14:07:17 +0000</pubDate>
			<dc:creator>Field2</dc:creator>
			<guid isPermaLink="false">323401@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi, I have a contest where people can upload a picture to win a prize. The problem is, if two people post an image called &#34;image.jpg&#34;, the newer post (I think) overwrites the older post.&#60;/p&#62;
&#60;p&#62;I'm running a validation function to prevent images that are too large or too small here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pastebin.com/jRT9wXwk&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/jRT9wXwk&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;On lines 27 and 28, I added a random number to the front of the file name, but I don't think it's working--even though when I look in the upload directory, I see the random number. Can you please tell me how to prevent duplicate files from being uploaded to the server? Thanks,&#60;br /&#62;
Ben
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
