Announcement

Collapse
No announcement yet.

what to do if the server don't convert \r\n to \n?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    As I said before, I was aware Actinic can't convert ASCII file for linux platform is not the Actinic fault, but this problem escaped my mind for years (because php script never bother about conversion).

    Today, I happened to find the reason and the solution. I'm glad to share it with anyone facing the same problem.

    The reason (I'm using vsftp on Fedora) - By default the server will pretend to allow ASCII mode but in fact ignore the request. Turn on the below options to have the server actually do ASCII mangling on files when in ASCII mode.

    The solution (in /etc/vsftpd/vsftpd.conf.fpsave) -
    ascii_upload_enable=YES
    #ascii_download_enable=YES (not affecting Actinc upload)

    restart vsftp

    Comment

    Working...
    X