Set to [Overwrite if different size] but still overwrite all
Moderator: Project members
-
- 500 Command not understood
- Posts: 3
- Joined: 2009-06-25 12:58
- First name: Fahad
- Last name: Online
Set to [Overwrite if different size] but still overwrite all
I'm really suffering from this problem and wish somebody knows a work around.
I'm trying to download only updated and new files from remote server to local and I want to use the size filter, if it's different then transfer. But when I do that by changing the default file exist action to "Overwrite if different size" FileZilla still downloads all files like all of them have different size than local.
I've read in some web pages that this happens when the local is Windows based and the remote is UNIX based ... the file size get changed because the header information of each one get converted which cause the size of the same file to be different.
When I checked that by myself I fount it's true, a file with the size of 522 KB shows 509 KB on the remote server.
Now does anyone knows how to overcome this issue ? I was searching in google and in this forum but couldn't find an answer.
Thank You in advance
I'm trying to download only updated and new files from remote server to local and I want to use the size filter, if it's different then transfer. But when I do that by changing the default file exist action to "Overwrite if different size" FileZilla still downloads all files like all of them have different size than local.
I've read in some web pages that this happens when the local is Windows based and the remote is UNIX based ... the file size get changed because the header information of each one get converted which cause the size of the same file to be different.
When I checked that by myself I fount it's true, a file with the size of 522 KB shows 509 KB on the remote server.
Now does anyone knows how to overcome this issue ? I was searching in google and in this forum but couldn't find an answer.
Thank You in advance
Re: Set to [Overwrite if different size] but still overwrite all
Read Data Type to find out why the file size changes. I bet all files are transferred as ASCII?
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
-
- 500 Command not understood
- Posts: 3
- Joined: 2009-06-25 12:58
- First name: Fahad
- Last name: Online
Re: Set to [Overwrite if different size] but still overwrite all
I read that page and the article tells the same ... specially the last line "If you upload a text file with 200 lines and a total size of 5768 bytes, it will have a size of 5568 bytes on the server. " <<<< I know this already so when I try to download only files with different size than local it downloads all of them ... because they are smaller on the server . Do I need to use a Linux distro to eliminate this ?
I'm using the latest version of FileZilla and data type set to Auto as I'm downloading combination of files.
Thank You
I'm using the latest version of FileZilla and data type set to Auto as I'm downloading combination of files.
Thank You
Re: Set to [Overwrite if different size] but still overwrite all
You'd have to transfer them as binary files if you want to rely on filesize differences for the overwrite action.
-
- 500 Command not understood
- Posts: 3
- Joined: 2009-06-25 12:58
- First name: Fahad
- Last name: Online
Re: Set to [Overwrite if different size] but still overwrite all
are you sure it's not going to damage my text files like php html js cgi ...etc ?
Re: Set to [Overwrite if different size] but still overwrite all
Binary transfers them as-is, however not all programs can cope with foreign line ending styles if you transfer them between different platforms.
Re: Set to [Overwrite if different size] but still overwrite all
i have also a question on that...
on xp-pc and on server the file size is different on too much files
but i know they are the same
now i did read this data type thing and also on the forum and i allready know that this seems to be normal
what is not clear to me is how i can stop this deffect?
as i got it, this is a ascii text file problem (correct me if i am wrong)
shall i safe now all files as utf-8 and upload them as binary?
will this fix the problem? and if so will this not corrupt my files?
i mean will this CRLF problem be solved with utf-8?
are utf-8 files on every system the same?
so there should be the same CRLF on unix and windows... is this so?
i have php files and html and htacces some txt files and so on
i can safe them all as utf-8 and upload them as binary
but will this work and solve the problem?
please explain it to me with some simple words
thanks in advance
on xp-pc and on server the file size is different on too much files
but i know they are the same
now i did read this data type thing and also on the forum and i allready know that this seems to be normal
what is not clear to me is how i can stop this deffect?
as i got it, this is a ascii text file problem (correct me if i am wrong)
shall i safe now all files as utf-8 and upload them as binary?
will this fix the problem? and if so will this not corrupt my files?
i mean will this CRLF problem be solved with utf-8?
are utf-8 files on every system the same?
so there should be the same CRLF on unix and windows... is this so?
i have php files and html and htacces some txt files and so on
i can safe them all as utf-8 and upload them as binary
but will this work and solve the problem?
please explain it to me with some simple words
thanks in advance
Re: Set to [Overwrite if different size] but still overwrite all
UTF-8 is just a superset of ASCII, so it has both CR and LF. Nothing gained in respect to the data type issue.
Re: Set to [Overwrite if different size] but still overwrite all
sorry my english is not so good...
so how can i gain something
i just have the following problem...
i have a site with html, php, js, css, htaccess and also gif, jpg, png files on my pc
i upload it on a server
now all files are working and the same
but the file size is different on the server
the files are marked red in filezilla
is there a way to keep just date and filesize on pc and server the same without corrupting the files?
i use a http://www.byethost.com/ server and windows xp on pc and the acctual filezilla client
i also set the upload method to automaic utf-8 if supported
is there a trick to solve this problem?
thank in advance
so how can i gain something
i just have the following problem...
i have a site with html, php, js, css, htaccess and also gif, jpg, png files on my pc
i upload it on a server
now all files are working and the same
but the file size is different on the server
the files are marked red in filezilla
is there a way to keep just date and filesize on pc and server the same without corrupting the files?
i use a http://www.byethost.com/ server and windows xp on pc and the acctual filezilla client
i also set the upload method to automaic utf-8 if supported
is there a trick to solve this problem?
thank in advance
Re: Set to [Overwrite if different size] but still overwrite all
All has been said before: Upload as Binary if you don't like the file size changing (only the line endings actually change, the contents are the same, and they are NOT corrupted). If the Binary transferred files work on the sever, depends on the support for foreign line-ending-styles of the webserver software.
And once again, the Charset setting (UTF-8) has nothing to do with this! The setting is in Settings... - Transfers - File types - Default transfer type
And once again, the Charset setting (UTF-8) has nothing to do with this! The setting is in Settings... - Transfers - File types - Default transfer type
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
Re: Set to [Overwrite if different size] but still overwrite all
ok ... i dont fully understand it.
i am sure that i can handle unix, mac and pc files,
all kind of line breaks
and all codepages or how it is called as utf-8, ascii and so on
in my editor.
i am not sure about what the server can handle or not.
so i upload now all files as they are
text files in text mode and let utf8 settings on automatic
then i will download all again in binary mode
so all should be 1:1 on server and local pc
the editor will be able to handle the files and will not change the file settings after editing
so all will be hopefully fine
thanks for the help... i think that i feel now a bit more secure about what i am going to do
i am sure that i can handle unix, mac and pc files,
all kind of line breaks
and all codepages or how it is called as utf-8, ascii and so on
in my editor.
i am not sure about what the server can handle or not.
so i upload now all files as they are
text files in text mode and let utf8 settings on automatic
then i will download all again in binary mode
so all should be 1:1 on server and local pc
the editor will be able to handle the files and will not change the file settings after editing
so all will be hopefully fine
thanks for the help... i think that i feel now a bit more secure about what i am going to do