BackupPC-users

Re: [BackupPC-users] Backup remote ftp server (internet site)

2009-04-09 11:40:53
Subject: Re: [BackupPC-users] Backup remote ftp server (internet site)
From: Mirco Piccin <pictux AT gmail DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Thu, 9 Apr 2009 17:36:17 +0200
Hi,

> Sorry, that is a bug in Xfer::Ftp, line 190, which references $args->{host},
> which, it seems, should read $args->{Host} instead (at least that's what
> getFTPArgs() returns). There are two more occurrences of the same typo and
> several usages of $t->{host} instead of $args->{Host}, though that is probably
> intentional (logging the host name as defined in BackupPC rather than the
> actual DNS name or IP used). I'd attach a patch, but it's really only
>
> :%s/\$args->{host}/$args->{Host}/gc

i've applied in the /usr/share/backuppc/lib/BackupPC/Xfer/Ftp.pm the
patch you provide (thanks!).
I also edit $t->{host} occurences (that is used for log messages) in $t->{Host}.


> actually, a quick glance at the source code suggests that that should be the
> host name only (eg. 'ftp.sourceforge.net').

i've tried both using ftp address as Host name and as ClientAliasName,
result is the exactly the same.
Now error is like this:

Last error is "xfer start failed: Can't open connection to
ftp.XXXX.it: Invalid argument".
Now looking to solve this :-D

Regards!
M

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/