How to set PassiveMode to False

To the Ipswitch web site

Ipswitch Forums
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



How to set PassiveMode to FalseExpand / Collapse
Author
Message
Posted 2/26/2005 12:07:18 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 2/26/2005 12:05:00 AM
Posts: 1, Visits: 1

Hello All...

I want to overload the passiveMode attribute to false... any ideas?  Is this property available through the dot operator and I'm simply missing it?

Thanks

Post #5040
Posted 9/21/2005 9:45:40 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 12/8/2005 10:53:00 AM
Posts: 5, Visits: 1

It's in the help under the IWsftpApi interface section

Using the VB6 SDKTest sample from the SDK folder:

Set pApi = CreateObject("WsftpSDK.WsftpApi")
Log.AddItem "   Passive currently set to '" & pApi.PassiveMode & "'"
pApi.PassiveMode = False
Log.AddItem "   Passive now set to '" & pApi.PassiveMode & "'"

Running the project will open the connection and show you a before / after picture

of PassiveMode in the Log box on the form.

 

Hope this helps

Post #10715
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Dave, Mark Singh, kevin r gillis, Jason Benton, Brandon Felger, Ben Henderson, Tripp Allen, Will Sansbury, Jason Williams, Hush, FTPplanet.com, LDW, Hugh Garber, WUP-PM, mmulryan@ipswitch.com, mswimm, Travis G.

PermissionsExpand / Collapse

All times are GMT -5:00, Time now is 5:37am

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.047. 9 queries. Compression Enabled.