summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/ftpmirror.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/scripts/ftpmirror.py')
-rwxr-xr-xTools/scripts/ftpmirror.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/scripts/ftpmirror.py b/Tools/scripts/ftpmirror.py
index 123f479..d546f33 100755
--- a/Tools/scripts/ftpmirror.py
+++ b/Tools/scripts/ftpmirror.py
@@ -141,8 +141,8 @@ def mirrorsubdir(f, localdir):
print 'Skipping symbolic link %s -> %s' % \
(words[-3], words[-1])
continue
- filename = words[-1]
- infostuff = words[-5:-1]
+ filename = string.join(words[8:])
+ infostuff = words[5:]
mode = words[0]
skip = 0
for pat in skippats: