[wp-hackers] Re: [wp-pro] Need help installing Wordpress
Alexander Beutl
xel at netgra.de
Mon May 12 20:26:08 GMT 2008
As far as I know there are 3 types of EOL:
CR (Mac)
LF (*nix)
CRLF (Win)
The Problem with something working after transfer is that you need to
transfer it in text mode - which will convert the EOL to whatever the
targetsystem uses. Most FTP Clients offer (good) automatic selections, but
even the best of them fail sometimes and transfer a (normally well known)
text-format file as binary without converting the EOLs which can in fact
stop PHP working correctly.
In fact I often get errors when uploading files (while coding on client
systems, which needs many uploads, it will sometimes break things.
I don't know why it has this problems, but it definitly has. I am working
with FileZilla and with WinSCP and this errors occured with both.
(Working on Win with *nix Servers)
Hopefully there will be something invented to stop this problems someday but
today one may have to live with this problems. Best way is: Select textmode
to transfer textfiles (manually) and select binary mode to transfer binary
files (like images, pdf, etc.pp.).
-Alex
2008/5/12 Mike Walsh <mike_walsh at mindspring.com>:
> I had the same thought when I read the problem description. I always use
> the ".zip" download as opposed the to the ".tar.gz" download. I also use
> Vim for all of my editing on the PC. Vim is very smart about EOL issues
> between Unix and Windows.
>
> Mike
>
> > Message: 3
> > Date: Sun, 11 May 2008 08:26:19 -0700
> > From: Chris Williams <chris at clwill.com>
> > Subject: Re: [wp-hackers] Re: [wp-pro] Need help installing Wordpress
> > To: <wp-hackers at lists.automattic.com>
> > Message-ID: <C44C5E2B.2F016%chris at clwill.com<C44C5E2B.2F016%25chris at clwill.com>
> >
> > Content-Type: text/plain; charset="US-ASCII"
> >
> > I've found that nine times out of ten when things change behavior when I
> > move from/to a Mac/PC it has to do with the end of the line
> character(s).
> > Specifically, Apple's TextEdit tool has some funky mojo there, and I
> find
> I
> > need to be very careful.
> >
> > HTH,
> > Chris
>
>
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
More information about the wp-hackers
mailing list