Upload is successful but file doesn't change

Need help with FileZilla Client? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Message
Author
User avatar
boco
Contributor
Posts: 26899
Joined: 2006-05-01 03:28
Location: Germany

Re: Upload is successful but file doesn't change

#31 Post by boco » 2013-03-22 18:14

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.
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Please do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

windymiller
500 Command not understood
Posts: 5
Joined: 2013-03-22 12:53
First name: chris
Last name: miller

Re: Upload is successful but file doesn't change

#32 Post by windymiller » 2013-03-22 20:25

the info for tools is for Mozilla firefox

User avatar
boco
Contributor
Posts: 26899
Joined: 2006-05-01 03:28
Location: Germany

Re: Upload is successful but file doesn't change

#33 Post by boco » 2013-03-22 22:11

cache.png
cache.png (27.79 KiB) Viewed 6504 times
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Please do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

windymiller
500 Command not understood
Posts: 5
Joined: 2013-03-22 12:53
First name: chris
Last name: miller

Re: Upload is successful but file doesn't change

#34 Post by windymiller » 2013-03-23 10:56

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

windymiller
500 Command not understood
Posts: 5
Joined: 2013-03-22 12:53
First name: chris
Last name: miller

Re: Upload is successful but file doesn't change

#35 Post by windymiller » 2013-03-23 12:26

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 ?

windymiller
500 Command not understood
Posts: 5
Joined: 2013-03-22 12:53
First name: chris
Last name: miller

Re: Upload is successful but file doesn't change

#36 Post by windymiller » 2013-03-23 12:52

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

User avatar
boco
Contributor
Posts: 26899
Joined: 2006-05-01 03:28
Location: Germany

Re: Upload is successful but file doesn't change

#37 Post by boco » 2013-03-23 15:50

Why not fix the problem at the root?

Firefox:
1. about:config
2. browser.cache.check_doc_frequency
3. Change from 3 to 1.
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Please do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

User avatar
audiopro
226 Transfer OK
Posts: 295
Joined: 2013-03-23 12:55
First name: Keith
Location: Morecambe, England

Re: Upload is successful but file doesn't change

#38 Post by audiopro » 2013-03-24 08:54

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.
Morecambe - Where the sun goes at night

therealellis
500 Command not understood
Posts: 1
Joined: 2013-07-19 15:34
First name: Ellis
Last name: Brooks

Re: Upload is successful but file doesn't change

#39 Post by therealellis » 2013-07-19 15:42

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.

User avatar
audiopro
226 Transfer OK
Posts: 295
Joined: 2013-03-23 12:55
First name: Keith
Location: Morecambe, England

Re: Upload is successful but file doesn't change

#40 Post by audiopro » 2013-07-19 18:19

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.
Morecambe - Where the sun goes at night

User avatar
botg
Site Admin
Posts: 35491
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: Upload is successful but file doesn't change

#41 Post by botg » 2013-07-22 16:22

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.

Bartsnewenergy
500 Command not understood
Posts: 1
Joined: 2013-08-18 10:28
First name: Bart
Last name: van den Bosch

Re: Upload is successful but file doesn't change

#42 Post by Bartsnewenergy » 2013-08-18 10:31

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.

bhargavjoshi20
500 Command not understood
Posts: 1
Joined: 2016-09-29 01:42
First name: Bhargav
Last name: Joshi

Re: Upload is successful but file doesn't change

#43 Post by bhargavjoshi20 » 2016-09-29 02:17

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.

User avatar
boco
Contributor
Posts: 26899
Joined: 2006-05-01 03:28
Location: Germany

Re: Upload is successful but file doesn't change

#44 Post by boco » 2016-11-14 12:55

Might be just hosting-side caching.
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Please do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

SSy1
504 Command not implemented
Posts: 6
Joined: 2017-05-11 05:12
First name: Dama
Last name: Koa

Re: Upload is successful but file doesn't change

#45 Post by SSy1 » 2017-05-11 05:19

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.

Post Reply