helpdavfs2 - Support: sr #109244, How to know when a file was...

 
 

sr #109244: How to know when a file was actually finished uploading to server

Submitted by:  None
Submitted on:  Tue Jan 31 09:27:14 2017  
 
Category: NonePriority: 5 - Normal
Severity: 3 - NormalStatus: In Progress
Privacy: PublicAssigned to: Werner Baumann <wbaumann>
Originator Email: -unavailable-Open/Closed: Open
Operating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed Feb 1 17:34:09 2017, comment #1:

By default davfs2 transfers files to the server asynchronously. Because of this it is not well suited for your task of measuring upload speed. A tool like curl is probably better suited,

If you for some reason must use davfs2 you can

  • set option "delay_upload 0": davfs2 will now upload the file as soon as it is closed. But note: the file is first written to the local cache and only when it is closed it is transfered to the server.
  • set option "debug http": davfs2 will write all HTTP-request lines and all final response lines into your log facility. You can use the time stamps of these log entries to calculate transfer time.

ls stucks forever:
davfs2 is single threaded and so it will not respond as long it is uploading some file. But nothing should stuck forever. If this really happens then something is going wrong.

Werner Baumann <wbaumann>
Project AdministratorIn charge of this item.
Tue Jan 31 09:27:14 2017, original submission:

I need to measure upload speed of our webdav server, So I've mounted a number of davfs2 folders. However I see that if it takes for example 4 seconds to copy 100 files of 1MB to such folder, in reality when I check it on Server side, it may take about 2 minutes. Moreover, when I try to just `ls` on my davfs2 in between (before it actually uploads to server), `ls` stucks forever. Can you probably help with some idea, how to know when actually all files are uploaded?

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by wbaumann (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed Feb 1 17:34:09 2017wbaumannStatusNone=>In Progress
      Assigned toNone=>wbaumann

    Back to the top


    Powered by Savane 3.1-cleanup1