PDA

View Full Version : mod to built in /tivolib/tcl/ftpd



angra
08-02-2002, 03:35 PM
Hello all,

I was having problems getting correct file transfers using the tivo built-in ftpd. I found this while reviewing some index files.

Anyway, what I found is that this program does not properly configure a fcopy command to match the set transfer mode in the proc ::ftpd::command::RETR {sock list} { routine.

I fixed this problem by adding, before line 1148, the following line:
fconfigure $f -translation $data(mode)

with that change, ftp works properly for me now.

I hope this helps someone :)