Appliance fails to generate a backup on remote FTP server with anonymous user.


Article ID: 158509


Updated On:


Messaging Gateway


When storing a backup on an FTP server using anonymous access, a zero length file is created on the FTP server but the backup is never uploaded.

 GUI Error: Cannot backup the database

[Thread-17238] [ScriptHelper] ERROR - Cannot backup the database.
[Thread-17238] [ScriptHelper] ERROR - Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.8/SMS/ line 366.Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.8/SMS/ line 366.FTP:Can\'t transmit the file: Could not create file.ERROR: Unable to send to the specified URL.


This is caused by insufficient permissions for the anonymous user. The SMG control center first tests the ability to connect and create a file on the FTP server by uploading a zero length file. If that succeeds the appliance generates the backup file and then attempts to overwrite the zero length file with the backup file. In some cases, the anonymous user can create a file on the FTP server but cannot overwrite an existing file. If this is the case, the SMG backup will fail to be uploaded to the FTP server.


This is a known situation and is by design.


This issue may be avoided by a number of methods

  • Store backups on the control center applaince
  • Modify the permissions for the anonymous account such that the anonymous user can overwrite files
  • Create a credentialed account on the FTP server which can overwrite files