Subject: | Problems with SFTP get |
Hi Jim,
This is more of an FYI, but I'm having issues when using xFTP_SFTP to
get remote files. While downloading a 10MB file, if I press Enter the
transfer is interrupted. Other keys to not seem to trigger this
interruption. Using debug in the xFTP constructor, I see the following
(note the space in the output is when the enter key is pressed):
...
mceub3lin: channel 1: window 16358 sent adjust 16410
mceub3lin: sftp: Received reply T:103 I:144
mceub3lin: sftp: In read loop, got 8192 offset 909312
mceub3lin: sftp: Sent message SSH2_FXP_READ I:145 O:917504
mceub3lin: sftp: Received reply T:103 I:145
mceub3lin: sftp: In read loop, got 8192 offset 917504
mceub3lin: sftp: Sent message SSH2_FXP_READ I:146 O:925696
mceub3lin: channel 1: window 16358 sent adjust 16410
mceub3lin: sftp: Received reply T:103 I:146
mceub3lin: sftp: In read loop, got 8192 offset 925696
mceub3lin: sftp: Sent message SSH2_FXP_READ I:147 O:933888
mceub3lin: sftp: Received reply T:103 I:147
mceub3lin: sftp: In read loop, got 8192 offset 933888
mceub3lin: sftp: Sent message SSH2_FXP_READ I:148 O:942080
mceub3lin: channel 1: rcvd eof
mceub3lin: channel 1: output open -> drain
mceub3lin: channel 1: rcvd close
mceub3lin: channel 1: input open -> closed
mceub3lin: channel 1: close_read
mceub3lin: channel 1: obuf empty
mceub3lin: channel 1: output drain -> closed
mceub3lin: channel 1: close_write
mceub3lin: channel 1: send close
mceub3lin: channel 1: full closed
Now it may completely lie with Net::SFTP as it seems to be in a state of
disarray. So for the time being I've change to using xFTP_SSH2 which
works perfectly.
Thanks,
-Chris