This project is read-only.

How to use EPSV on IPv4?

Jan 27, 2012 at 6:07 AM


I would like to use "EPSV" command on IPv4 to overcome NAT on server side.

In this below topic, "EPSV" have been already implemented for IPv6 support from Version 1.1.

How can I use "EPSV" mode, when I connect to IPv4 server? Or is there any way to make enable "EPSV"?

Thank you!

Jan 27, 2012 at 11:45 AM

At the moment EPSV is supported for IPv6 only.

I will prepare you a build with IPv4 support in order to include it in the next release.



Alessandro Pilotti


Jan 30, 2012 at 2:40 AM

Thank you very much, Alex!

I'm looking forward to your next version release.


I'm expecting this AlexFTPS library for our implementation.

What I want to do is that access to FTP server behind NAT router with SSL/TSL.

When I access in current situation, FTP server replied the IP address for the internet access, not for publish. That means FTP server is translated IP address only when access to internet.

And I confirmed I can resolve this issue when I used EPSV command for Data connection. 

(FYI. I confirmed it using FTP command manually on telnet. But in this way, I couldn't implement SSL/TLS for Data connection.)

So I expect this AlexFTPS library. Thank you very much and !

Satoshi Takahashi