htm file changes on upload
Moderator: Project members
-
- 504 Command not implemented
- Posts: 6
- Joined: 2017-09-04 14:59
- First name: frank
- Last name: gerace
htm file changes on upload
I have a file that i have worked on locally through FileZilla which I have to upload for others to access it. BUT the htm file which is 292,171 and has links to sound and images that work locally with FileZilla gets changed to 287,026 and the links do not work. I have cleared caches, but it still happens. Thanks for any help you can give me., best, Frank
Re: htm file changes on upload
These are two independent issues, with one not being an issue at all.
Slight size changes for text files (uploaded in ASCII [wiki]Data Type] or TYPE A) are normal. Different OS use different line ending syntax, and text files' line endings have to be converted on occasion. Windows uses CR+LF (0x0D0A) and *NIX-based servers use only LF (0x0A). The CR is removed in conversion, shrinking the file size slightly. Re-downloading the file to Windows will get it back to original size.
Tl;dr: Working as intended.
The other issue is mostly user error. Linking pictures locally is one thing, but did you update all links for use on the server, which uses a different path syntax and thus the images won't be in the same location? Additionally, most web server have a case sensitive filesystem, and you must use the exact case. Windows usually doesn't care about case.
Slight size changes for text files (uploaded in ASCII [wiki]Data Type] or TYPE A) are normal. Different OS use different line ending syntax, and text files' line endings have to be converted on occasion. Windows uses CR+LF (0x0D0A) and *NIX-based servers use only LF (0x0A). The CR is removed in conversion, shrinking the file size slightly. Re-downloading the file to Windows will get it back to original size.
Tl;dr: Working as intended.
The other issue is mostly user error. Linking pictures locally is one thing, but did you update all links for use on the server, which uses a different path syntax and thus the images won't be in the same location? Additionally, most web server have a case sensitive filesystem, and you must use the exact case. Windows usually doesn't care about case.
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