Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Target Management » ftp set defualt to passive
ftp set defualt to passive [message #760657] Sat, 03 December 2011 22:41 Go to next message
Anton  is currently offline Anton Friend
Messages: 2
Registered: December 2011
Junior Member
I browsed through bug list and noticed that it is listed there from 2009 Smile 269442

I'm not a Java developer myself but I use RSE every day for about 1000 different ftp hosts and 90% of time I need to go trough the painful path setting a ftp connection to be passive. I work in a support line and it is not unusual for me to deal with 40 different ftp connections per day.

create a connection > wait it to fail > open subsystem properties > ftp properties > change to passive

it seems that change keeps delayed all the time. Can someone pinpoint me to a place where this setting is coded in or defined in this project so I could just change this and build my self a special version (even if i need to learn how to build this for just this change)

[Updated on: Sat, 03 December 2011 22:57]

Report message to a moderator

Re: ftp set defualt to passive [message #761074 is a reply to message #760657] Mon, 05 December 2011 21:05 Go to previous messageGo to next message
David McKnight is currently offline David McKnightFriend
Messages: 244
Registered: July 2009
Senior Member
Hi Anton,

Given, an IHost for an ftp connection, you can set it to passive by using
this code:

...
IConnectorService conServ =
(IConnectorService)ftpHost.getConnectorServices()[0];
IPropertySet properties = conServ.getPropertySet("FTP Settings");
properties.addProperty("passive","true",PropertyType.getEnumPropertyType(new
String[]{"true","false"}));
...

Dave

"Anton" <forums-noreply@eclipse.org> wrote in message
news:jbe8jd$8t4$1@news.eclipse.org...
>I browsed through bug list and noticed that it is listed there from 2007
>:) 269442
>
> I'm not a Java developer myself but I use RSE every day for about 1000
> different ftp hosts and 90% of time I need to go trough the painful path
> setting a ftp connection to be passive. I work in a support line and it is
> not unusual for me to deal with 40 different ftp connections per day.
>
> create a connection > wait it to fail > open subsystem properties > ftp
> properties > change to passive
> it seems that there is no intent to make a change in this case on this
> eclipse plugin. What I'm wondering is that can someone pinpoint me to a
> place where this setting is coded in or defined in this project so I could
> just change this and build my self a special version so i have this set by
> default today (even if i need to learn how to build this for just this
> change)
Re: ftp set defualt to passive [message #761318 is a reply to message #761074] Tue, 06 December 2011 09:33 Go to previous message
Anton  is currently offline Anton Friend
Messages: 2
Registered: December 2011
Junior Member
Thanks David i'll digg in
Previous Topic:programmatically use RSE
Next Topic:Explore remote functions while working on a remote project
Goto Forum:
  


Current Time: Thu Apr 25 03:36:53 GMT 2024

Powered by FUDForum. Page generated in 0.03884 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top