ftp directly to a device

Daniel Montagnese plug-discuss@lists.plug.phoenix.az.us
Fri, 15 Nov 2002 12:20:36 -0800 (PST)


--0-266018767-1037391636=:14826
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

 
 


__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com
--0-266018767-1037391636=:14826
Content-Type: text/plain; name="ftp_to_device.txt"
Content-Description: ftp_to_device.txt
Content-Disposition: inline; filename="ftp_to_device.txt"

\_ SMTP quoth Daniel Montagnese on 11/14/2002 13:51 as having spake thusly:
\_
\_ Thu Nov 14 14:22:07 MST 2002
\_ 
\_ Group:
\_ 
\_ I saw an interesting setup for anonymous ftp.  The only thing in the
\_ directory, /var/ftp, was the name of a device.  No user name or password
\_ is required to log in.  Any file "put" in the directory would be written
\_ to the device and the results of "ls" would still be what it was before.
\_ The "put" file would not be added to the "ls" list.  I wonder how that
\_ was done.   ????????
\_
\_Dan

Keep in mind that if you control the server, you control everything.
It seems to me that clever use of named pipes and some standard ftp
settings and standard perms and you've pretty much got this.

David

########################################

\_ \_ SMTP quoth Daniel Montagnese on 11/14/2002 13:51 as having spake thusly:
\_ 
\_ I still wonder to what the standard perms would be set and how the
\_ "put" file could be written to the device without being listed in
\_ the directory. ???????
\_
\_Dan

Allow write but no read on the directory in question, set noclobber
depending on mood.

David

##############################################

Thanks for the help.  Changing the directory perms to 330 allows the
transfer of the file to the directory without showing the file in the
"ls" list that is generated from the client ftp command line.  The file
is, of course, visible on the server with the original name that it had
on the client.  I suppose, instead of writing directly to the desired
device, a process could poll and process and delete any files found.

I still wonder how the client can log in by just "ftp ip_address" without
a "user me"  "password mine" typed in subsequently, also.

Dan


--0-266018767-1037391636=:14826--