Page 3 of 5

Re: Upload is successful but file doesn't change

Posted: 2013-03-22 18:14
by boco
1) <CTRL+<F5> doesn't clear the cache, it just overrides it for that one site, and also in some browsers only.
2) That info is for what browser? Not everyone uses the same.

Re: Upload is successful but file doesn't change

Posted: 2013-03-22 20:25
by windymiller
the info for tools is for Mozilla firefox

Re: Upload is successful but file doesn't change

Posted: 2013-03-22 22:11
by boco
cache.png
cache.png (27.79 KiB) Viewed 6740 times

Re: Upload is successful but file doesn't change

Posted: 2013-03-23 10:56
by windymiller
yes, that is the screen you need in firefox to clear the cache - you need to tick the "override auto cache management" box also reduce the "limit cache" amount down to zero using the scrolling arrows and also press the clear now button and that will prevent firefox holding on to previous page file uploads - all browsers have cached pages just in case a site goes down for whatever reason they can still put up page temporarily - they usually check for fresh updated every few days or so and then your new pages will show - but yes it is frustrating when you get an old version of your site - you can also get in touch with browser support who will clear it for you if it is urgent - most browsers have support for that type of thing - anyway hope the info helps

Re: Upload is successful but file doesn't change

Posted: 2013-03-23 12:26
by windymiller
who are you using to host your site ? if you have a customer services number to call they should be able to shed light on why it shows a successful upload - the files are obviously going somewhere but not appearing as they should - i can only think it is a cache problem i cant think of any other reason - as i say if you have a customer services you can talk to with the people hosting your site ?

Re: Upload is successful but file doesn't change

Posted: 2013-03-23 12:52
by windymiller
Your host's server MUST have the files if they have been uploaded successfully - contact your host /server and they should be able to find the files

Re: Upload is successful but file doesn't change

Posted: 2013-03-23 15:50
by boco
Why not fix the problem at the root?

Firefox:
1. about:config
2. browser.cache.check_doc_frequency
3. Change from 3 to 1.

Re: Upload is successful but file doesn't change

Posted: 2013-03-24 08:54
by audiopro
If you repeatedly try to upload the same file and the upload appears to fail, delete the file off the server and then try the upload again. You will know for certain whether the file is being uploaded or not.

Re: Upload is successful but file doesn't change

Posted: 2013-07-19 15:42
by therealellis
Very new to this, but had this problem with the very first file I needed to change (recipient email address on contact form.)

Same thing kept happening. Tried clearing cache. But I realised that the file I was replacing was featured twice indifferent folders, so I deleted them both and replaced just one of them.

One was at web/css/../contact-us.html

the other was at web/XXX/contact-us.html

I replaced the former and it worked.

May be this is a different problem (i am a noob) but perhaps worth checking if you have two files already on site with same name.

Re: Upload is successful but file doesn't change

Posted: 2013-07-19 18:19
by audiopro
Not really the same problem but it does highlight the Filezilla issue of automatically offering to upload an edited file. Filezilla puts it where you last uploaded to, rather than where it should go.

Re: Upload is successful but file doesn't change

Posted: 2013-07-22 16:22
by botg
boco wrote:Why not fix the problem at the root?
Indeed. Tell the webserver to send the header lines indicating how long the pages may be cached.

Re: Upload is successful but file doesn't change

Posted: 2013-08-18 10:31
by Bartsnewenergy
I had the same issue. What helps is deleting the file and replacing it with a newer file. Or upload the new file and then let it replace the old file.

Good luck.

Re: Upload is successful but file doesn't change

Posted: 2016-09-29 02:17
by bhargavjoshi20
Well...

I am facing the same issue for the robots.txt file for my gaming blog.

The server already contains the old robots.txt file which needs to be replaced with the new robots.txt, but it is not showing up.

What I also changed the file name on my local machine as robots3.txt and uploaded on the server. It then shows up such as www.example.com/robots3.txt

But when I renamed the robots3.txt to robots.txt then it again showing up the older version.
Again when I try to upload the robots.txt from my local machine to the server, it doesn't give me any change in the result.

The file's permission read as -rw----r--

P.S. I already deleted browser history, cookies, tried ctrl+F5 multiple times, tried different browsers - everything. But it is not showing up.

Re: Upload is successful but file doesn't change

Posted: 2016-11-14 12:55
by boco
Might be just hosting-side caching.

Re: Upload is successful but file doesn't change

Posted: 2017-05-11 05:19
by SSy1
This is a definitive issue with FileZilla that is now becoming a deal breaker. Here is what happens:

1. Upload functions.php to wordpress theme folder
2. Make changes to file on local computer
3. Upload functions.php to same folder. File size updates momentarily then resumes being the old file.
4. Delete functions.php from remote server
5. Upload functions.php to same folder. Old file is still put in place.
6. Manually edit the file using SSH on remote server - file changes.
7. Manually rename the file on local computer, upload file, then delete old file from remote computer, and rename new file to old file on remote computer, file starts working.

This means that filezilla is retaining a memory of the old file with the old filename, and no matter what I do, it is always using this cache'd copy during upload. This is definitive since even when the old file is deleted and there is no copy of the old file on either local or remote PC, when new file with same filename is uploaded, filezilla magically finds the old file and puts it there.

This does not happen for all files - only for ONE file, and this happens randomly for specific files.

Switched to other FTP program and did same thing, file updates without issue.

As this is a rare and unpredictable thing it is even more dangerous.