Re: SSHServer not receving full file (General questions)
We have run the test again with the #4 example from SFTP (upload and download) and the #5 example from SSHD (SFTP Server).
If the code from both examples are used without modification, things work fine. The file is transferred correctly.
However, we are transferring files on demand from an application called from another. Therefore, we disconnect immediately after wodSFTP tells us the transfer was successful. To simluate this, in the SFTP example, we put a SFTP1.Disconnect in the DONE event. If this is placed here, an imcomplete file is transferred.
In our code we issue the putfile command then loop until the done event fires and a flag is set. We then immediately disconnect.
Regards,
Darren
Complete thread:
- SSHServer not receving full file - dschmidt, 2005-04-19, 17:14
- Re: SSHServer not receving full file - wodSupport, 2005-04-19, 17:20
- Re: SSHServer not receving full file - dschmidt, 2005-04-19, 18:15
- Re: SSHServer not receving full file - wodSupport, 2005-04-19, 18:24
- Re: SSHServer not receving full file - dschmidt, 2005-04-19, 18:44
- Re: SSHServer not receving full file - wodSupport, 2005-04-19, 18:24
- Re: SSHServer not receving full file - dschmidt, 2005-04-19, 18:15
- Re: SSHServer not receving full file - wodSupport, 2005-04-19, 17:20