goGPS-Project/goGPS_Java

Use passive FTP

Closed this issue · 1 comments

Currently goGPS uses active FTP in order to fetch Rinex files.
Active FTP has many limitations and is not supported on some cloud web server, for example Google App Engine.
The only change that is required is to switch to passive mode after logging in:

ftp.connect(server);
 ftp.login("anonymous", "info@eriadne.org");
 reply = ftp.getReplyCode();
...
 ftp.enterLocalPassiveMode();