Koozali.org: home of the SME Server

FTP and Resuming tranfers

MONDON David

FTP and Resuming tranfers
« on: May 10, 2002, 05:20:25 PM »
Hi,

I've set up my account on my SME Server v5.1.2.

I can upload dwnld files from my ofice to my house on this server and from house to office.

But I can't resume transfers !!!

Is there a parameters in my FTp client that I sghould turn on/off to enable this function ?
Is there a parameter on my SME Server that I should activate/deactivate to enable "file resuming" ??

thx in advance :)

David M

Mike Ritche

Re: FTP and Resuming tranfers
« Reply #1 on: May 11, 2002, 04:02:44 AM »
There is a simple directive to set in the proftpd.conf (/etc/proftpd.conf) to control upload resuming; download resuming should be permitted by default. It can be set in the section of your proftpd.conf, using the AllowStoreRestart directive. An example of using it would be:

AllowStoreRestart on

You'll have to edit the appropriate template for the changes to be reflected permanently in the proftpd configuration file (of course). Also, ensure your FTP client supports resuming transfers. Most current clients should not have a problem with this.


Mike

dj-ad

Re: FTP and Resuming tranfers
« Reply #2 on: May 11, 2002, 05:21:29 AM »
Hello all,

was looking to what you said Mike but didn't manage to find any section in /etc/proftpd.conf... i added "AllowStoreRestart on" at the beginning of the file just before the section beginning... and i went in /etc/e-smith/templates/etc/proftpd.conf but i don't know where to add the line... I putted it in the file "05DissallowChmod" but don't seem to work at all... I think the file where i add the line doesn't have any importance since it is not in a directory file but it don't work...

Can you give to David and i some extra explanations please ?

Thanks a lot... :Þ

Mike Ritche

Re: FTP and Resuming tranfers
« Reply #3 on: May 11, 2002, 11:02:09 AM »
My apologies. I've been tinkering with the FTP server configuration for a while, and I don't even remember what the orignal looks like. I just added a template "06Global" to the proftpd.conf directory, and then added the and at the beginning and end of the file, with any global directives (as per the ProFTPd documentation) in between. You can look at a list of ProFTPd directives and documentation on them at:

http://proftpd.net/docs/directives/linked/by-name.html


Mike

dj-ad

Re: FTP and Resuming tranfers
« Reply #4 on: May 11, 2002, 02:41:55 PM »
Yessssssss.....

Thanks Mike :Þ that's cool, it works.... and the link you shared is really great, thanks a lot...

Les Mikesell

Re: FTP and Resuming tranfers
« Reply #5 on: May 12, 2002, 10:52:06 AM »
If you are transferring files regularly among the same set of machines it is probably better to use rsync instead of ftp.  It not only can be told to save partial copies and resume on the next try but it can do compression and will transfer only the changes in existing files or directories, and it can run over ssh.    It is included in the cygwin package for windows and the windows/unix versions interoperate nicely.