PDA

View Full Version : On the fly TAR SUPPORT


krad
05-06-2004, 07:00 PM
Being able to support on the fly tar would be a real cool feature to be able to have. If a directory tree has loads of really small files to transfere it takes ages even if you are both on a 100 meg connection

On the fly would tar the files server side then dl the tar and extract them all on the fly. Speeds thing up immensly as there is only one get commend

WUFTPD supports this functionality, and is a very common installation

There are some extensions to the FTP server such that if the
user specifies a filename (when using a RETRIEVE command)
such that:

True Filename Specified Filename Action
------------- ------------------ -----------------------------------
<filename>.Z <filename> Decompress file before transmitting
<filename> <filename>.Z Compress <filename> before
transmitting
<filename> <filename>.tar Tar <filename> before transmitting
<filename> <filename>.tar.Z Tar and compress <filename> before
transmitting

Also, the FTP server will attempt to check for valid e-mail
addresses and chide the user if he doesn't pass the test.
For users whose FTP client will hang on "long replies" (i.e.
multiline responses), using a dash as the first character of
the password will disable the server's lreply() function.

The FTP server can also log all file transmission and recep-
tion, keeping the following information for each file
transmission that takes place.

krad
05-06-2004, 07:02 PM
the unix ftp app ncftp is the only ftp client i know of that supports this at present it would be real cool if flashfxp would

MxxCon
05-07-2004, 05:46 PM
can you show some docs on this?

krad
05-08-2004, 12:51 AM
i have done some searching around but couldnt find much on it, apart from the stuff i pasted in from the wuftpd website.

I discovered the feature when downloading a load of stuff from mirror.ac.uk, using the unix ncftp client. I thought it was a really cool feature to be implemented. I dont know of any windows client that does such a thing.

The avalaunch xbox dash ftpd also does domething simlar as well i believe, but works in a different way, and is rather propriety i think.

You can get the source for ncftp from here http://www.ncftpd.com/ncftp/

So it should be fairly easy to see how its implemented. I'm sure the dev team there will have the relevent info as well.