mirror.pl icinde bir bug buldum.
bu bug ftp nin kaldigi yerden baslamasina engel oluyor.
bir patch attim, asagida var.
linuxta
mirror2.3 dirinda
patch -p0 < "asagidaki file in name i mesela patch1"
demeniz yeterli.
kolay gelsin.
----cut----here----
--- mirror.pl Mon Jun 12 13:19:37 1995
+++ ymirror.pl Mon Jun 12 13:19:40 1995
@@ -2106,7 +2106,14 @@
# transfer AND
# the timestamps of the exising temp file and the original
# src file match then flag a restart.
- $tmp = &filename_to_tempname( '', $dest_path );
+ $diry = "";
+ if( $dest_path =~ /^(.+\/)([^\/]+)$/ ){
+ ($diry, $filey) = ($1, $2);
+ }
+ else {
+ $filey = $dest_path;
+ }
+ $tmp = &filename_to_tempname( $diry, $filey );
$tmpi = $dest_map{ $tmp };
$restart = '';
if( $get_file &&
----cut----here----