[Hpr] There may be issues with the FTP server
jknapp85 at gmail.com
Tue Dec 29 05:59:03 PST 2015
I'll be able to fix it for good tonight when I finally land
On Tuesday, December 29, 2015, Dave Morriss <perloid at autistici.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
> On 29/12/15 10:33, Ken Fallon wrote:
> > After the server move we noticed that the FTP upload is not working and
> > it fails with "No Route to host". Dave and Josh tracked the issue down
> > and have fixed it.
> Sadly there's still an issue with FTP, but there's a work-around until
> it's finally fixed.
> The problem is that the HPR server is not currently set up to allow the
> modes "extended passive" (EPSV) and "passive" (PASV). These modes are
> where an FTP server tells the client to open a data channel on a port of
> its choosing.
> It's possible to use the older method of establishing a data channel.
> This uses the "PORT" command which makes a connection from the server to
> the client. This works fine (assuming your firewall doesn't prevent it),
> but many modern FTP clients default to EPSV/PASV.
> Using the ancient 'ftp' command is one solution. I just tried it, though
> I had to install it first.
> I use 'curl' like this:
> curl -T "file_to_upload" -K .hpr_curlrc -P -
> The '-P -' tells curl not to use EPSV/PASV.
> The file .hpr_curlrc contains the two lines:
> url: ftp://hackerpublicradio.org
> user: shows at hackerpublicradio.org:**PASSWORD**
> Obviously **PASSWORD** should be replaced with the FTP password.
> This makes me think that I should do an HPR episode on the FTP protocol
> some time (cue collective groan...) ;-)
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
> -----END PGP SIGNATURE-----
> Hpr mailing list
Sent from my iPhone. Please excuse any grammar, spelling or auto-correct
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Hpr