-----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: [email protected]:**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...) ;-) Dave -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJWgpEpAAoJEEglyQpFdYohlf8P/3r5tnbwjpCkbBHma8hM3Im/ NznQZeFbhKmMNH3aKipVAHJB1xVeOpxHNWFSEgICeyMsuq2O96y53TBBrAtdtx4C ZASeG2dOrWrpM87+yAnB+T6MOVL79xKWNKBYcH4uWMGgPBw+IIpvh3yWC4tBeoDw e70uyPYATdV+gcZcdEn/qBZjbbAn+EClDAESwxplUPXaA4gwLxN570Cc7oaMrsIJ QtnEQ8LV3GhDR+Vd6h2wVqOaoXo4j2Pu+Idy3J3+fEGdBLFzoEl0bxFD688ZKU1k 59v/kYmD27dywvWHxlvS0Q+1uth49dmwPF+LqDzmPZLO02RFoFnR/pF4zuQgJRGO ap3Aikkx5e8Bt3WfXWOORvJK7puDG2dUswSLXst+lJyx+SlEKUixQloSy0OxVzb/ 8xK+xsS6zWgQGTDckhYxzweGKR31lvdI2CasTaQ3hmcZHN184JczaK0yaDzKO2p2 UJj3cSc3Ayqn3kx8a9vzZoCJDbYRVVFgpV3/B80RyoaN5g118DtFRHOAjh2apgaM gquIz1xsHgI0WxK7AlkOo/1Mqc2QYSBCq7nmWX3Oh6pQiciVo8BNH+u+3Oa3ROMn HdMQgBhBz42Treb+n5ag4wlvZcvOs49UdHJ/yOxAJ/S4w1r9S1NvrQrek3BxvuRE KQVUqSA2Ra0XDw4YYGe5 =7tmo -----END PGP SIGNATURE----- _______________________________________________ Hpr mailing list [email protected] http://hackerpublicradio.org/mailman/listinfo/hpr_hackerpublicradio.org
