Welcome Guest, Not a member yet? Register   Sign In
My files are being "compressed" when I ftp them.
#1

[eluser]tomdelonge[/eluser]
Why is that? When I look at the source of the page or download it from ftp, almost all the whitespace is gone. It's really annoying me. Does it have to do with my ftp client and how it uploads or something? Or is it my host? Thanks for any help.
#2

[eluser]jedd[/eluser]
[quote author="tomdelonge" date="1254272311"]
Does it have to do with my ftp client ...
[/quote]

Surely if that were possible, you'd have mentioned what client you're using ... yes?

Try sending your data in binary mode - the alternative can sometimes try to be smart with EOL markers, and possibly other things.

It's been some time since I've used FTP, though, and I'd encourage you to look at alternatives. scp (running over ssh) is the obvious candidate, and even the most cautious of people should be willing to jump onto the secure copy bandwagon now that it's been in use by everyone else for more than a decade.
#3

[eluser]Colin Williams[/eluser]
You have different line delimiters locally than you do on your remote server. Configure your IDE to use the appropriate line delimiters (probably UNIX)




Theme © iAndrew 2016 - Forum software by © MyBB