This has caused many a headache and I was not aware of something until it was found in the Actinic Knowledge Base by our ISP, and had it been known would have saved 2 weeks of hair-tearing.
It is worth mentioning here as it may save others time when searching the forum on similar problems.
The same applies if you are using an FTP server other than VSFTP, such as ProFTP, you still need to edit the conf file.
It is also worth noting that this was not highlighted by Actinic Support when I started the ticket. Can't Actinic's built-in FTP be hard coded to upload scripts in ASCII, would save a lot of trouble.
Bob
It is worth mentioning here as it may save others time when searching the forum on similar problems.
By default, Redhat Linux servers do not have ASCII uploads enabled - only BINARY. This means that the scripts are corrupted as they are uploaded as Actinic requires script files to be uploaded in ASCII.
To workaround this you have to enable ASCII transfers on the server. If you are a server administrator then do the following (if you are not a server administrator, then you will need to tell your web host to do the following).
Open the vsftpd.conf file. This may exist twice on the server, so edit the files in the following locations:
/etc/vsftpd/vsftpd.conf
/etc/vsftpd.conf
Within it, locate the line
ascii_upload_enable=YES
And uncomment it by removing the hash '#' from the beginning of the line.
Then you need to restart the xinetd service (and also the vsftpd service) and Actinic should upload correctly.
Ref: KB411
To workaround this you have to enable ASCII transfers on the server. If you are a server administrator then do the following (if you are not a server administrator, then you will need to tell your web host to do the following).
Open the vsftpd.conf file. This may exist twice on the server, so edit the files in the following locations:
/etc/vsftpd/vsftpd.conf
/etc/vsftpd.conf
Within it, locate the line
ascii_upload_enable=YES
And uncomment it by removing the hash '#' from the beginning of the line.
Then you need to restart the xinetd service (and also the vsftpd service) and Actinic should upload correctly.
Ref: KB411
It is also worth noting that this was not highlighted by Actinic Support when I started the ticket. Can't Actinic's built-in FTP be hard coded to upload scripts in ASCII, would save a lot of trouble.
Bob
Comment