Login successful Remote system type is UNIX Using binary mode to transfer files ftp cd incoming

250 Directory successfully changed.

ftp> put afile local: afile remote: afile

229 Entering Extended Passive Mode (|||62494|) 150 Ok to send data. 226 File receive OK. ftp> ls

229 Entering Extended Passive Mode (|||50259|) 150 Here comes the directory listing. 226 Transfer done (but failed to open directory). ftp>

Notice how the put command succeeds, but the ls command fails. As we planned, the anonymous login now permits uploads, but restricts directory listing. Further, the uploaded files cannot be downloaded again by other users, so this is a fairly secure setup.

Was this article helpful?

0 0

Post a comment