Solved

FTP operation when attempting to download "almostexisting" files...

Posted on 1998-01-28
3
199 Views
Last Modified: 2013-12-23
I've tried the following:
Uploading a 10MB file from one client.
While uploading is in progress, a second client starts
downloading the very same filer client.  
The Second client then starts downloading the actual
filesize on disk (say 160KB)instead of the "soon to be 10MB"
filesize.
The first clients continues uploading its 10MB.
The second client ends it download-session when 160KB
is recieved.
Finally the first client finishes with uploading 10MB and
ends its session.

WILL THIS ALWAYS BE THE CASE WITH OVERLAPPING UPLOADS/DOWNLOADS WHEN USING FTP, or is this
server-depentent???  (E.g UNIX allows this, but an NT server
would block the file completely)
Or...  are there different FTP-protocol versions which operate different?

Best Regards,
     mdhq
0
Comment
Question by:mdhq
3 Comments
 

Author Comment

by:mdhq
ID: 1583088
Edited text of question
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1583089
Not an answer, but a hint (if your ftpd supports it):
  you may block reading a file currently uploaded by setting its
  permissions (600 for example) with umask while uploading
  After upload completed set new permissions with chmod
0
 
LVL 5

Accepted Solution

by:
n0thing earned 100 total points
ID: 1583090
Hi,

   With FTP, when you try to download a file. It will check
for the filename & size. The size will be the size of that file
at that moment. So it will termine the transfer when the total
bytes to download/transfer reach the initial size. Yes, it's
the same on Unix, NT ... So to answer your question, yes you
will need the full transfer to be done before downloading it.

Regards,
Minh Lai
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Lets look at the default installation and configuration of FreeProxy 4.10 REQUIREMENTS 1. FreeProxy 4.10 Application - Can be downloaded here (http://www.handcraftedsoftware.org/index.php?page=download) 2. Ensure that you disable the windows fi…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now