Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.8k views
in .NET FTP by (120 points)
Hi there,

we are using edtftp.net 1.1.6.

At the present, we are migrating our various components to .NET 2.0 (Final release).

We were wondering when a version compiled against the .NET Framework 2.0 will be available from you guys. Also, we are interested to know if such a version will take advantage of the various improvements in .NET 2.0 or if it will be a simple conversion (Recompile).


Thanks.

2 Answers

0 votes
by (162k points)
We do plan to compile against 2.0 at some point soon. However you should be able to compile against it yourself. If you do so please let us know if you are successful or if there are any problems.

Hi there,

we are using edtftp.net 1.1.6.

At the present, we are migrating our various components to .NET 2.0 (Final release).

We were wondering when a version compiled against the .NET Framework 2.0 will be available from you guys. Also, we are interested to know if such a version will take advantage of the various improvements in .NET 2.0 or if it will be a simple conversion (Recompile).


Thanks.
0 votes
by
Sorry for the previous post, I was testing if anonymous posting is allowed here :)

I'll made a version of edtftp.net in 2.0 today. Weel, it was not very hard, just two lines to change.

The first is in FTPClient.cs, at the Connect() method. Replace
Connect(Dns.Resolve(remoteHost).AddressList[0], controlPort, timeout); 

by
Connect(Dns.GetHostEntry(remoteHost).AddressList[0], controlPort, timeout); 


and the second is in FTPControlSocket.cs, at the SetDataPort() method. Replace
byte[] hostBytes = BitConverter.GetBytes(ep.Address.Address);

by
byte[] hostBytes = ep.Address.GetAddressBytes();


It seems to work great, but maybe you have more tests than I ;)

So let us know if I made a good work :)

Categories

...