Transferring file via SSH
From: AT (atchumel_at_hotmail.com)
Date: 06/12/03
- Next message: Christopher Denney: "Re: password expires on solaris"
- Previous message: Marmos: "Re: sftp and fSecure-ssh-server problem: Error 128"
- Next in thread: Hactar: "Re: Transferring file via SSH"
- Reply:(deleted message) Hactar: "Re: Transferring file via SSH"
- Reply: Ales Berka: "Re: Transferring file via SSH"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 12 Jun 2003 10:31:45 -0700
People, HI!
Help me please!
Basic data and sequence of operations:
1. Have SSH client with program interface (can call get and send
methods).
2. Connect to the AIX/Solaris/HP-UX (standard SSH Server).
3. Send next commands:
stty -echo
cat >file1 2>/dev/null
... here I open file on the client machine, read buffers (or) strings
and send them to the server
" pSSHControl->send(pBuff);"
... when reach end of the file I send
\x04\x04
stty echo
... and close connection.
THE PROBLEM: the transferred file on the server is corrupted - some
packets what I sent from client are missed. SSH client sends packets
right (checked by tracing).
Single known solution at this moment - send small bits (packets with
small size or single source file line) and wait (call sleep ~ 1...1000
ms) after every bit sending. But in this case the sending time is very
long...
Seems that SSH Server or tty, cat.. , don't know who well on the
server side, can't process incoming packages so quickly as client
sends and loses them.
May be anybody have any idea about this issue?
May be somebody had similar problem.
In other words - welcome any suggestion!
Thanks.
- Next message: Christopher Denney: "Re: password expires on solaris"
- Previous message: Marmos: "Re: sftp and fSecure-ssh-server problem: Error 128"
- Next in thread: Hactar: "Re: Transferring file via SSH"
- Reply:(deleted message) Hactar: "Re: Transferring file via SSH"
- Reply: Ales Berka: "Re: Transferring file via SSH"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|