Rebex.Net.FtpException

0 votes
asked Dec 14, 2011 by Rushdeep (160 points)
edited Dec 15, 2011

The software that uses the Rebex FTP dll to upload/download files from FTP, is installed on over 300 computers. Now, some of the clients (not all) are having an issue while uploading to FTP, the software would crash when it executes the statement :

m_FTP.PutFile(localFileName,this.RemoteFilePath);

The Rebex FTP dll version I am using is 2.0.0.7

Here is the windows event log for the error that happens. Again its not happining to all the clients. But the one's who are getting it, get it every time they upload any file. Please help ????

Upload problem - Rebex.Net.FtpException: An existing connection was forcibly closed by the remote host ---> Rebex.Net.FtpTransferException: An existing connection was forcibly closed by the remote host ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host

at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)    
at Rebex.Net.ProxySocket.Send(Byte[] buffer, Int32 size, SocketFlags socketFlags)    
at Rebex.Net.FtpDataUpload.DoTransfer()    
at Rebex.Net.FtpData.Transfer()    
at Rebex.Net.Ftp.ReadData()    
--- End of inner exception stack trace ---    
at Rebex.Net.Ftp.ReadData()    
at Rebex.Net.Ftp.ReadResponse(Int32 success)    
at Rebex.Net.Ftp.Transfer(String command, FtpData data, Int64 serverOffset)    
--- End of inner exception stack trace ---    
at Rebex.Net.Ftp.Transfer(String command, FtpData data, Int64 serverOffset)    
at Rebex.Net.Ftp.UploadFile(String command, String remotePath, Stream sourceStream, Int64 remoteOffset, Int64 length)    
at Rebex.Net.Ftp.UploadFile(String command, String remotePath, String localPath, Int64 remoteOffset, Int64 localOffset, Int64 length)    
at Rebex.Net.Ftp.PutFile(String localPath, String remotePath)    
at Cp.Client.Edit.AudioMediaControl.UploadToFTP(String tempFileName)

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Applies to: Rebex FTP/SSL

2 Answers

0 votes
answered Dec 15, 2011 by Frantisek Bosek (660 points)
edited Dec 15, 2011

Hello,

Unfortunately, you are using a very old version of Rebex FTP component. See the component releases history: http://www.rebex.net/ftp.net/history.aspx

Its probable, that your problem is already solved by some of our newer version of this component. Please try to download the free trial of the recent version of Rebex FTP for.Net. You can use this link: http://www.rebex.net/ftp.net/download.aspx

If it works for you, you can renew to a recent version of Rebex FTP for.NET. I have send you the link in e-mail.

0 votes
answered Dec 15, 2011 by Rushdeep (160 points)
edited Dec 15, 2011

Hey Frantisek,

Thanks for the reply, my application is .net framework 1.1 based and I did see that your latest versions for rebex ftp would only work from .net framework 2.0 upwards.

The download link you gave me in the post would let me download the FTP component that is .net 2.0 or greater compliant. I request you to please provide me with the link to the component that would work with framework 1.1. and off course greater then FTP 2.0.0.7

Thanks & Regards Rushdeep Singh

P.S. Any other kind of leads or help to solve this issue that I have, would be greatly appreciated. Thanks again.

commented Dec 15, 2011 by Martin Vobr (12,820 points)
edited Dec 15, 2011

Microsoft has stopped .NET 1.1 support in 2008. I'm sorry, but we cannot fully support component running on frameworks not supported by the framework vendor, sorry. For details on our support policy see http://www.rebex.net/kb/framework-support-policy.aspx . However I have good news for you too. We still offer a latest (unsupported) version of Rebex File Transfer Pack for .NET 1.1 from 2010. The Rebex FTP is part of this File Transfer Pack. You can download trial here: http://forum.rebex.net/questions/363/filetransfer-pack-net-1-1 . Full version can be download with active support contract.

...