aboutsummaryrefslogtreecommitdiff
path: root/lib/ftp.exp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ftp.exp')
-rw-r--r--lib/ftp.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ftp.exp b/lib/ftp.exp
index e1cc1a9..ad3d8e9 100644
--- a/lib/ftp.exp
+++ b/lib/ftp.exp
@@ -186,7 +186,7 @@ proc ftp_download {host localfile remotefile} {
set loop 0
set remotefile ""
}
- -re "(^|\[\r\n\])150.*connection for (.*) \[(\]\[0-9.,\]+\\)\[\r\n\]" {
+ -re {(^|[\r\n])150.*connection for (.*) [(][0-9.,]+\)[\r\n]} {
set remotefile $expect_out(2,string)
exp_continue
}