On Thursday 03 Aug 2017 08:13:18 Walter Dnes wrote: > I'm trying to upload files from an OS/2 VM in machine A to anononymous > upload on another machine on my home LAN. I'm using the allegedly "very > simple" ftpd and getting nowhere, and Google isn't helping. To simplify > things, I built vsftpd without ssl, and iptables is off on both > machines. I don't think it's related to PASV, because the ancient ftp > client on the OS/2 VM doesn't understand the "ftp -p" option. My > /etc/vsftpd/vsftpd.conf file is... > > listen=YES > local_enable=NO > anonymous_enable=YES > anon_upload_enable=YES > write_enable=YES > anon_mkdir_write_enable=YES > anon_root=/home/ftp
Is this writeable? > pasv_enable=YES > pasv_min_port=30000 > pasv_max_port=30100 > port_enable=YES > allow_writeable_chroot=YES > > I successfully log in as user "anonymous", password "anonymous", > execute "bin". When I try uploading a file, I get the 500 PORT error. > Anybody have a working config? Or another simpler ftpd server? For these kind of jobs I tend to default to netcat (nc) or socat in listening mode, because of its simplicity. However, I am not familiar with OS/2 to know what it comes with. If it has busybox or you can install it there you can use busybox nc and/or busybox ftpd. In answering your question, I think the error you are getting is related to the client not using a passive connection type. Can you enable passive *after* it connects? ftp> passive ls Alternatives are the busybox ftpd service or tftp, both of which are relatively easy to run. -- Regards, Mick
signature.asc
Description: This is a digitally signed message part.

