Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.5k views
in Java FTP by
Hello all :-)
I am new to using edtftpj but I am seeing something unusual and need help.

I am using edtftpj as a client to connect to a WindRiver tFTP server. All works GREAT when the file size being transfered exceeds 16KB otherwise I am getting a Connection Reset by Peer error, but when the file transfer is initated from the command line using the OS it works fine.

Any suggestions????

Thanks in Advance
CowgirlClass

1 Answer

0 votes
by (162k points)
Try ftp.setTransferBufferSize(512) before doing the transfer ... does that make a difference?

Hello all :-)
I am new to using edtftpj but I am seeing something unusual and need help.

I am using edtftpj as a client to connect to a WindRiver tFTP server. All works GREAT when the file size being transfered exceeds 16KB otherwise I am getting a Connection Reset by Peer error, but when the file transfer is initated from the command line using the OS it works fine.

Any suggestions????

Thanks in Advance
CowgirlClass

Categories

...