Help Regarding FTPS - WeOnlyDo Discussion board

Help Regarding FTPS (wodFtpDLX / wodFtpDLX.NET)

by Raj, Monday, September 15, 2008, 17:41 (5694 days ago)

Hi,
Can someone help me with using the library to implement FTP over SSL using PASV mode?

Thanks for ur help.

-Raj

Re: Help Regarding FTPS

by woddrazen, Monday, September 15, 2008, 18:06 (5694 days ago) @ Raj

Hi Ray,


Yes of course, we will be glad to help you.

First of all you should change protocol to FTP over SSL using wodFtpDLX Protocol Property.

I'm not sure which type exactly of FTP over SSL protocol you need but you can check this out by changing Protocol Property value to: FTPSnodata, FTPSwithdata or FTPSimplicit. That will help you to determine which protocol you need to use.

More help about Protocol Property you can find here:
http://www.weonlydo.com/FtpDLX/Help/wodFtpDLXLib~wodFtpDLX~Protocol.html

Passive mode (PASV) you can enable by setting wodFtpDLX Passive Property to True.

More help for Passive Property you can find here:
http://www.weonlydo.com/FtpDLX/Help/wodFtpDLXLib~wodFtpDLX~Passive.html

Here is some basic example
[code]Set dlx1 = New wodFtpDLXCom

dlx1.Protocol = FTPSwithdata
dlx1.HostName = your.hostname
dlx1.Blocking = True
dlx1.Login = your.login
dlx1.Password = your.password
dlx1.Passive = True
dlx1.Connect[/code]

You can find samples that comes with wodFtpDLX in component Samples folder. Maybe they can also help you here.

Let us know how it goes.


Regards,
Drazen

Re: Help Regarding FTPS

by Raj, Monday, September 15, 2008, 20:03 (5694 days ago) @ woddrazen

Thanks for your help.
Where can I find the Dll that supports FTP over SSL?
The FTP server I wanted to connect changes its IP once authentication has been done. Does WeOnlyDo support such situation?

Thanks in advance for your help.

-Raj

Re: Help Regarding FTPS

by woddrazen, Monday, September 15, 2008, 20:15 (5694 days ago) @ Raj

Raj,


You can download wodFtpDLX ActiveX component here:
http://www.weonlydo.com/Samples/wodFtpDLX.exe

If you need NET component, you can download wodFtpDLX.NET component here:
http://www.weonlydo.com/Samples/wodFtpDLX.NET.msi

Usage of both component is much same. Samples are included for both components. You can find it in component Samples folder.

About change of IP when user is connect. Maybe you should use StrictHost Property and set value to True. That should be done before Connect Method.

More help for StrictHost Property you can find here:
http://www.weonlydo.com/FtpDLX/Help/wodFtpDLXLib~wodFtpDLX~StrictHost.html


Drazen