VPS Linux / Apache configuration
by Gavin.Mitchell from LinuxQuestions.org on (#4VD4D)
I hope someone can help. We are moving a IOT management portal from a web server to a VPS. The VPS is all setup and working but we are getting an incorrect FTP Native directory format response to a PHP NLIST command:
/public_ftp/bin9/..
/public_ftp/bin9/.
/public_ftp/bin9/Filename_0,12.bin
The original website gave this correct FTP Standard directory format response to the same command:
.
..
Filename_0,12.bin
The field devices are programed to parse the file name from this response where the pathnames are not included (second example). Parsing is failing on the new VPS response due to the incorrect FTP Native Directory Format. I have spent many weeks Googling this problem without success. I have also tried many different Ubunto, Centos, Apache, Nginx, and different FTP server combinations without success. Our VPS is currently setup with Ubunto 16.04, Apache 2.4 and Pure-Ftpd 1.04.9 .
Pure-Ftpd does not have any configuration parameters that control this type of directory format and I now believe the solution lies in the Apache or Linux configuration. I hope someone can point me in the right direction.


/public_ftp/bin9/..
/public_ftp/bin9/.
/public_ftp/bin9/Filename_0,12.bin
The original website gave this correct FTP Standard directory format response to the same command:
.
..
Filename_0,12.bin
The field devices are programed to parse the file name from this response where the pathnames are not included (second example). Parsing is failing on the new VPS response due to the incorrect FTP Native Directory Format. I have spent many weeks Googling this problem without success. I have also tried many different Ubunto, Centos, Apache, Nginx, and different FTP server combinations without success. Our VPS is currently setup with Ubunto 16.04, Apache 2.4 and Pure-Ftpd 1.04.9 .
Pure-Ftpd does not have any configuration parameters that control this type of directory format and I now believe the solution lies in the Apache or Linux configuration. I hope someone can point me in the right direction.