Hi!
I today wanted to configure a FTP backup server.
It basically works, but I have problems with setting the path:
If I leave it empty, output is as follows:
August 10, 2016, 4:52 pm - data: Creating directory '/Daily_Full_Backup’
August 10, 2016, 4:52 pm - Directory ‘/Daily_Full_Backup’ did not exist and we could not create it
August 10, 2016, 4:52 pm - data: Directory ‘/Daily_Full_Backup’ did not exist and we could not create it
August 10, 2016, 4:52 pm - ftp_mkdir(): Create directory operation failed.
August 10, 2016, 4:52 pm - data: ftp_mkdir(): Create directory operation failed.
Strangely, it adds a ‘/’, so I think it is correct for the ftp server to deny creating /Daily_Full_Backup.
Then, I tried setting it to he full path, in my case /home/voip, but I get:
August 10, 2016, 4:48 pm - Creating directory 'home/voip/Daily_Full_Backup’
August 10, 2016, 4:48 pm - data: Creating directory 'home/voip/Daily_Full_Backup’
August 10, 2016, 4:48 pm - Directory ‘home/voip/Daily_Full_Backup’ did not exist and we could not create it
August 10, 2016, 4:48 pm - data: Directory ‘home/voip/Daily_Full_Backup’ did not exist and we could not create it
August 10, 2016, 4:48 pm - ftp_mkdir(): Create directory operation failed.
August 10, 2016, 4:48 pm - data: ftp_mkdir(): Create directory operation failed.
Again, strangely, it now removes the ‘/’, and I think the FTP server correctly denies to create.
So I created the folder daily_backup in the FTP home directory of user voip, and set the path to /daily_backup.
Now, the output is:
August 10, 2016, 5:03 pm - Creating directory 'daily_backup/Daily_Full_Backup’
August 10, 2016, 5:03 pm - data: Creating directory 'daily_backup/Daily_Full_Backup’
August 10, 2016, 5:03 pm - Directory ‘daily_backup/Daily_Full_Backup’ did not exist and we could not create it
August 10, 2016, 5:03 pm - data: Directory ‘daily_backup/Daily_Full_Backup’ did not exist and we could not create it
August 10, 2016, 5:03 pm - ftp_mkdir(): Create directory operation failed.
August 10, 2016, 5:03 pm - data: ftp_mkdir(): Create directory operation failed.
Has someone an idea what is wrong?
Thanks,
Stephan