Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 78476783d46dc3b54adb7482fb9c09f46f3bd764
Ticket: 1840814fffffffffffffffffffffffffffffffff
Error in ::ftp::Put
User & Date: nobody on 2007-11-29 09:10:49
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Hello,
    
    I have some problems with the ftp package of the TCL library (version 1.8-1) by transferring (put and get) some test files from a host system to a test device (an embedded board with a Linux kernel). 
    
    After the transfer of approx. 1700 files I got the following error:
    
    [ ERROR ] 20071129_050202: err: can't read "ftp(Start_Time)": no such element in array
    
    [ ERROR ] 20071129_050202: errorInfo: can't read "ftp(Start_Time)": no such element in array
        while executing
    "expr {$stop_time - $ftp(Start_Time)}"
        (procedure "ElapsedTime" line 5)
        invoked from within
    "ElapsedTime $s [clock seconds]"
        (procedure "::ftp::Put" line 87)
        invoked from within
    "::ftp::Put $fd $file "
        (procedure "Ftp::Put" line 4)
        invoked from within
    "Ftp::Put $ftpfd $testfile put_delta_ms "
        (procedure "linux_wlan::Start" line 92)
        invoked from within
    "linux_wlan::Start --device=wlan0 --essid=dev_test_1 --count=100 --sizes=1M,2M,4M,8M --sleep=1 --dhcp --rates=1M,11M,24M,54M,auto --sysload --config-fi..."
        ("eval" body line 1)
        invoked from within
    "eval [ subst { $testname $testargs } ] "
    
    
    As you can see the error is coming from the ftp script, the procedure `::ftp::Put' seems the be the root of the problem.
    
    About my script (see attachment): It opens a FTP session only one time, and then it starts with the transfers waiting 1 second before starting the next one.
    
    
    The hardware/software components of my host system are:
    
    - Linux 2.6.18-5-486 (Debian 4.0)
    - Intel Pentium 4 (3.0GHz)
    - Tcl: 8.4.12 (Tcllib 1.8-1)
    - Ftp package version: 1.39 (2005/09/30)
    
    
    
    Regards and thanks,
    
    
    Luis Galdos
    
    
    
    
  4. foundin changed to: "obsolete: 8.4.12"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "nobody"
  10. subsystem changed to: "07. Variables"
  11. title changed to: "Error in ::ftp::Put"
  12. type changed to: "Bug"