LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-07-2002, 09:58 AM   #1
JimKyle
Member
 
Registered: Dec 2001
Location: Oklahoma City, OK, USA
Distribution: Xubuntu 16.04 LTS
Posts: 214
Blog Entries: 1

Rep: Reputation: 39
Resuming upload with Proftpd


I'm having trouble getting Proftpd to resume an interrupted upload, in the anonymous incoming directory, although I've allowed world write permission to the directory and set all the options (AllowOverwrite, AllowStoreRestart) in proftpd.conf per the documentation. My detail logs show that all goes as expected through the REST command, but then the STOR that the client sends next is rejected with a 550 code and the text "cannot overwrite file"...

The client is a special-purpose one I distribute to my customers (I recover munged Btrieve databases and many files are in the hundreds of MB), but it worked perfectly when I was using the "Serv-U" server under Win95. I think it was working initially with Proftpd also, but cannot vouch for that. However in the past week or so it's failing consistently. When a 5-MB upload via 56K dial-up gets disconnected after 2 hours, with only 100K left to go, the absence of the Resume capability is murderous (that happened yesterday).

Anybody have any ideas as to (a) how to find out exactly what's wrong and (b) how to fix it? I'll be happy to make the url available via private Email if anyone is willing to help me test it...
 
Old 03-07-2002, 10:18 AM   #2
Eternal
Member
 
Registered: Feb 2002
Location: Austria
Distribution: LFS based opon debian or course
Posts: 38

Rep: Reputation: 15
Exclamation Are you Shure??

Are you shure you /etc/proftpd.conf contains :

AllowStoreRestart on
AllowRetrieveRestart on

Also try to chown -R nobody.nogroup $FTPHOME/incoming then chmod -R 7777 $FTPHOME/incoming

But i *wont* suggest that unless your running a lame warez server
 
Old 03-07-2002, 10:30 AM   #3
JimKyle
Member
 
Registered: Dec 2001
Location: Oklahoma City, OK, USA
Distribution: Xubuntu 16.04 LTS
Posts: 214

Original Poster
Blog Entries: 1

Rep: Reputation: 39
Re: Are you Shure??

Quote:
Originally posted by Eternal
Are you shure you /etc/proftpd.conf contains :

AllowStoreRestart on
AllowRetrieveRestart on

Also try to chown -R nobody.nogroup $FTPHOME/incoming then chmod -R 7777 $FTPHOME/incoming

But i *wont* suggest that unless your running a lame warez server
I don't have AllowRetrieveRestart but I probably should. I'm a bit paranoid about security so I'm not about to give total permissions; in fact clients cannot even see a directory listing for "incoming" and that's the only place they can write...

The problem turned out to be trivial; I had created a test-case, and it did NOT have write permissions. Once I set it to have the same permissions as normal client-uploaded files, the restart worked as expected!

Thanks for the reminder that I need to be sure they can restart downloads if need be...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
proftpd resume upload question eggo Linux - Software 3 05-09-2005 12:44 PM
proftpd User Upload Location Chryzmo Slackware 1 05-05-2004 09:34 PM
proftpd upload problem help help automicro Linux - Software 0 08-20-2003 08:32 PM
Proftpd upload problem kelper Linux - General 0 06-25-2003 08:40 PM
ProFTPd, all works except upload. vexer Linux - Software 0 06-17-2003 11:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration