| Description: |
ftp::Get <source> -variable <var> is used by ftpvfs
and fails everytime.
Test code:
package require ftp
set ftp [ftp::Open cdaftp.harvard.edu ftp
[email protected]]
ftp::Get $ftp
pub/science/ao03/cat4/3672/primary/acisf03672N001_1_sum2.html
-var
puts $X
exit
I don't see how this ever worked. If -variable is set
then $dest gets set to the $source.
If $ftp(inline) then no $dest should be expexted,
$dest should only be set on !$ftp(inline).
ftp.tcl:
1955c1955
< if {$ftp(inline) != 2} {
---
> if {$ftp(inline) == 0} {
|