#246 Issue closed: OUTPUT_URL doesn't for work FTP

Labels: waiting for info, support / question

gituid0 opened issue at 2013-06-15 02:19:

Any specification given in the local.conf file for OUTPUT_URL won't work for FTP due to a bug in /usr/share/rear/output/ISO/Linux-i386/90_transfer_image.sh on line 23.

It reads:
lftp -c "open $OUTPUT_URL; mput $ISO_DIR/$ISO_PREFIX.iso"

but I believe should be:
lftp -c "open $server; cd $path; mput $ISO_DIR/$ISO_PREFIX.iso"

dagwieers commented at 2013-06-19 19:09:

I am not sure I understand. This was tested and worked, is it possible this is related to an older version of lftp ?

The man-page clearly indicates a URL is allowed:

open [-e cmd] [-u user[,pass]] [-p port] host|url

Select an ftp server.

gituid0 commented at 2013-06-19 20:19:

I am using lftp version 4.0.9 on Centos 6.4

dagwieers commented at 2013-06-19 20:34:

To what was OUTPUT_URL set exactly ?

gituid0 commented at 2013-06-19 20:39:


gituid0 commented at 2013-06-19 20:42:

Incidently is would be nice if OUTPUT_URL could be pointed to a CIFS mount like BACKUP_URL. Right now I have to write the ISO image file to the share using FTP, but I use CIFS for the actual backup.

dagwieers commented at 2013-06-19 20:58:

CIFS support would gladly be accepted :-)

gdha commented at 2013-10-21 06:59:

The script 90_transfer_image.sh has been removed a while ago. Script ./default/95_copy_result_files.sh took over the same functionality. So far there were no complaints against the revised script - guess we can close this issue? Any objections?

gdha commented at 2013-11-25 07:58:

no comments received - so we assume it's OK to close this issue. Thx

[Export of Github issue for rear/rear.]