VB.NET 2005

I have been using the FTP and SFTP for a while with no issues. Now i need to also use SSL/FTP. My references are all under c:program filesrebextotal pack for .net 2.0\

FTP SLL for .NET 2.0\bin\rebex.net.ftp.dll   3.0.4086.0
FTP SSL for .NET 2.0\bin\rebex.net.proxysocket.dll   2.0.4086.0
FTP SSL for .NET 2.0\bin\rebex.security.dll   1.5.4086.0

SFTP for .NET 2.0\bin\rebex.net.sftp.dll   2.0.4086.0
SFTP for .NET 2.0\bin\rebex.net.ssh.dll   2.0.4086.0

But, when i try to dim a new ftp:

dim xFTP as new rebex.net.ftp
xftp.connect(xserver,990,nothing,rebex.net.tpsecurity.explicit)

i receive an error: Overload resolution failed because no accessible 'Connect' accepts this number of arguments.

Which is really strange because as i typing in everything it is explaining each argument.

Any Ideas?

asked 12 Nov '11, 02:07

dchorton's gravatar image

dchorton
151
accept rate: 0%

edited 13 Nov '11, 18:47

Lukas%20Pokorny's gravatar image

Lukas Pokorny ♦♦
2.4k28


There are two editions of Rebex.Net.Ftp.dll - one comes from "Rebex FTP/SSL for .NET" and the other one comes from "Rebex FTP for .NET". Only the FTP/SSL edition supports this variant of Connect method. The filename and version of the two DLLS is the same, but you can distinguish them by right-clicking the DLL in Windows Explorer and selecting "Properties" - their description differs.

Alternatively, download and install Rebex FTP/SSL into a new folder - that will install the right DLLs.

link

answered 13 Nov '11, 18:58

Lukas%20Pokorny's gravatar image

Lukas Pokorny ♦♦
2.4k28
accept rate: 31%

I understand that, but my reference is only to the FTP SSL for .NET 2.0binRebex.net.ftp.dll, which my understanding is has both FTP and FTP/SSL. And i can't include both in my project because both are named the same for the DLL.

link

answered 13 Nov '11, 19:01

dchorton's gravatar image

dchorton
151
accept rate: 0%

If the 4-parameter variant of Ftp.Connect method is missing, it really looks like it's Rebex FTP DLL. not Rebex FTP/SSL DLL (another difference is the absence of Secure metod or TlsSocket property).

You don't hve to include both variants of the DLL in your projects because Rebex FTP/SSL DLLs supports both plain and SSLified variants of FTP protocol. Installing Rebex FTP/SSL in a new folder and copying the DLLs over would ensure that you have the correct ones.

And some good news: In the next release, there will only be one FTP DLL with FTP/SSL support.

(13 Nov '11, 19:07) Lukas Pokorny ♦♦

Interesting. I removed (from Control Panel) the Rebex FTP program. I then reinstalled the total pack 2.0. i then made sure the references were correct and i tried to do the .secure - it said i had to include SecureSocket. When i included that the 4 argument connect worked. So, i beleive it is now working. Thanks.

link

answered 13 Nov '11, 19:17

dchorton's gravatar image

dchorton
151
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×152
×13

Asked: 12 Nov '11, 02:07

Seen: 351 times

Last updated: 13 Nov '11, 19:17