Click to See Complete Forum and Search --> : Question for PHPEd Users


getDizzle
11-02-2002, 02:06 PM
I'm currently using the Trial Version and noticed one flaw that I cannot overcome. When using the built-in FTP client to upload, the files are uploaded in "binary" mode thus creating control-M characters at the end of each line on my BSD UNIX server.

Is there a way to force it to upload in ASCII or change the file type from DOS to Unix? I scoured the preferences and Help docs and emailed their support without finding a solution. My Trial runs out in a few days so I'm hoping I can get this resolved. Built-In FTP support is a huge deciding factor on my decision on an editor.

EditPlus has a much worse flaw in that if the FTP connection gets interrupted while uploading a file the file on the server gets "blanked" out, thus causing you to lose all of your work. Quite a nasty bug that dismissed EditPlus as a PHP editor.

Thanks for the help!

jstarkey
11-03-2002, 11:44 PM
It appears that you're using Windows on the client side, right? If so, those ^M chars are the nl/cr issues between Windows and
Unix. I can't tell you how to get rid of them - I'm a linux user - other than open the file in vi on the server side and do:

:%s/^V^M//g

That's: <ctrl>V<ctrl>M (carrots will be create by hoilding down the ctrl key and hitting the letter).

I know several FTP clients allow you to upload as a unix file, and I think Dreamweaver does.