Skip to main content

FTP: doesn't show ftp contents, but does create backups (MLST problems)

Thread needs solution

There'll be description in English, but I can use my native Russian to describe things better. I have a problem with FTP backups. Having same problems with ATIH2014, ATIH2016 and AB11.5.

Step 1: configuring FTP server — I created user, set root folder to my-share-disk/blah-blah/Backups_PC/, gave read-write privileges.
Step 2: configuring ATI2016 backup, creating new FTP connection, entering IP address, login, pass, clicking 'test connection' — works. clicking OK — doesn't show anything. I mean I suppose to see my files and catalogs on ftp share, but they do not show up (I'm sure that file priveleges are ok, checked with 3d-party ftp clients). So I just can setup backups to the root folder of my FTP share.
Step 3: processing backup. it works. separates backup file into 2Gb pieces, writes them onto ftp server to the root directory.
Step 4: checking backup. Then I want ATIH to show me all versions of current backup, it should go to the ftp server, check files and show me versions and backup dates, but I get error 'version N file cannot be found <browse> <retry> <blah-blah>'.

So ATIH can write files to my ftp server, but can't read them. I use pure-ftpd on my zyxel keenetic ultra II router, it supports passive mode and MLST and MLSD commands. I've read on this forum that your QA uses pureftp to check FTP communication so it should work.

I used Wireshark to find out where's the problem. wireshark-1.png shows that ATIH sends MLST requests with leading '/' symbol and that's why it gets response 'Response code: Requested action not taken: File unavailable (550)'. I've tried sending the same request without '/' directly using telnet and it worked (telnet-1.png) !
I looked for RFCs and found nothing about adding slash before filename in MLST command. Why ATIH does that? What am I doing wrong?

upd: added log file.

Thanks for your help.

 

Проблема с отображением содержимого FTP-сервера или запроса истории резервной копии, хранящейся на FTP из-за неверного формата FTP-команды MLST, посылаемой на сервер.

После выполнения MLSD и получения списка файлов в корне FTP-сервера ATIH послыает MLST-запрос для первого файла из списка в формате: "MLST /filename". Это неверно, запрос должен происходить либо в формате "MLST filename", либо в формате "MLST ./filename". Так как формат запроса ошибочный, FTP-сервер отправляет ответ "Response code: Requested action not taken: File unavailable (550)", а ATIH не получает необходимые ему данные.

Attachment Size
wireshark-1.png 75.45 KB
telnet-1.png 27.72 KB
ftp-2015-12-30.log 6.03 KB
0 Users found this helpful

Hello, Alexander

We have tested Acronis True Image with FTP Server based on Pure-FTPd and CentOS.
MLSD requests using FTP client were successful using archive.tib, ./archive.tib and /archive.tib, so there was no issue in Acronis True Image request. According to your PCAP logs, response 550 was sent because there was no such file in location, since I see no STOR command before it.
So, seems the issue is related to your specific FTP server with its permission settings.

Best regards.