LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-26-2005, 10:59 AM   #1
benw
LQ Newbie
 
Registered: Aug 2005
Posts: 2

Rep: Reputation: 0
Preventing FTP download and upload the same file simultaneously


Hi everyone,

We are running a PureFTP server on Red Hat 8. Our customers upload rather large data files to our box. We then have programs then will try to download these files throughout the day. The problem arises when the same file is being downloaded while it is being uploaded at the same time. We then get a file that is not complete. We are also able to move or copy the file while it is being uploaded.

My question is:

Is this a Linux OS behavior - you can copy/move a file while it is still being transferred? Or is this the PureFTP server issue? I tried doing the same thing in Windows (with a Windows FTP server) and it won't allow me to download the file while it is being uploaded.

Any other suggestions what I can do to solve this problem?

Thanks,
Ben
 
Old 08-26-2005, 12:32 PM   #2
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
Quote:
Is this a Linux OS behavior - you can copy/move a file while it is still being transferred? Or is this the PureFTP server issue?
It's a Linux OS behavior. You can move/rename/delete/blow up files while they are in use. In fact I _REALLY_ like this behavior.
I agree that in your case it is somewhat an headache... I am not aware of any function in pure-ftpd that would prevent users to download files that are being uploaded (but take a look at their documentation/forum just in case). However, it is possible to run a script after an upload/download in pure-ftpd. You could use this to change the right/owership of a file or to move the file somewhere else maybe??
 
Old 08-29-2005, 08:34 AM   #3
benw
LQ Newbie
 
Registered: Aug 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks. It looks like the latest version of PureFTPd will solve this problem.
 
  


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
File upload/download control/monitoring software? iges Linux - Software 2 11-25-2005 03:25 PM
No able to Upload file to FTP serve using squid proxy simplyrahul Linux - General 2 02-16-2005 04:01 PM
hdd-related download problem(upload 4-5MB/s, download ~1MB/s) tine Linux - Hardware 4 09-15-2004 03:06 PM
Permissions wrong on FTP file upload jwest44 Linux - Newbie 3 06-23-2004 10:15 AM
download ,upload to ftp ody1 Linux - Networking 2 11-13-2003 05:27 AM

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

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