Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zftp annoyance



On May 24,  3:08pm, Oliver Kiddle wrote:
} Subject: zftp annoyance
}
} Unfortunately, every time the connection times out and zftp reconnects
} the transfer type is reverting to ASCII. Surely it ought to be restoring
} the transfer type when it reconnects?

How are you managing reconnect on timeout?  Using zfautocheck?

Looks like the zfconfig parameter maintained by the function system should
be storing the transfer type, which it isn't.

} This may just be something related to the particular ftp server

The doc (for raw zftp, not the function system) says:

     The FTP default for a transfer is ASCII.  However, if zftp finds
     that the remote host is a UNIX machine with 8-bit byes, it will
     automatically switch to using binary for file transfers upon open.


-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



Messages sorted by: Reverse Date, Date, Thread, Author