LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-15-2003, 07:36 AM   #1
amanu1
LQ Newbie
 
Registered: Nov 2003
Posts: 8

Rep: Reputation: 0
vsftp - locking files?


When a file is being uploaded, it is available for simultaneous download. But the downloaded file is usually incomplete and therefore corrupt.

Is there a way to prevent this? ie can a file be locked etc?

Thanks

Aman
 
Old 11-15-2003, 07:46 AM   #2
jim mcnamara
Member
 
Registered: May 2002
Posts: 964

Rep: Reputation: 36
Download to a directory that only the download process can read/write.
Upon completion, cp the file to a world read directory.

This is a general solution for production systems and requires different user groups, and a background process that can perform the cp.
 
  


Reply



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
Need Vsftp To Use Multiple .conf Files Goma_2 Linux - Networking 0 06-09-2004 09:07 AM
RH 9 Locking Up ScooterB Linux - Newbie 2 06-04-2004 04:00 PM
vsftp user hiden files intruder Linux - Software 1 12-21-2003 03:18 PM
RH keeps locking up synaptical Linux - General 7 07-05-2003 03:22 AM
Locking down everything ldubin Linux - Security 3 03-14-2003 03:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:28 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