Overview
Features
Download
Documentation
Community
Add-Ons & Services

Choose explicitely between EPSV and PASV

Discussion of ideas for features and new projects based on POCO.

Choose explicitely between EPSV and PASV

Postby cdelmas » 12 Feb 2008, 17:11

Can we choose explicitely between EPSV and PASV ?
I add a parameter to my distribution (1.3.2) to do so :
Code: Select all

void setPassive(bool flag, bool useExtendedPassiveMode = true); // .h

void FTPClientSession::setPassive(bool flag, bool useExtendedPassiveMode) { // .cpp
   _passiveMode = flag;
  _supports1738 = useExtendedPassiveMode;
}


Is there another way to do this, or is this code valid and could be integrated in future release ?

ps : I know it is a curious request, but for some (very bad) reasons (not depending on me), I need to force the use of PASV mode instead of EPSV on a server that supports both.

Thanks in advance.
cdelmas
 
Posts: 46
Joined: 22 Sep 2006, 10:04
Location: France

Re: Choose explicitely between EPSV and PASV

Postby guenter » 13 Feb 2008, 09:30

sounds reasonable. I have opened a patch on the SF tracker for this item.
guenter
 
Posts: 1092
Joined: 11 Jul 2006, 16:27
Location: Austria


Return to Wishlist

Who is online

Users browsing this forum: No registered users and 1 guest

cron