Page 1 of 1

If an upload is deleted in the middle will it complete the upload?

Posted: 2020-11-15 02:57
by nbdayan
I am trying to transfer a file of 20GB to my webhost. During the transfer, there was a file that was 100MB which in retrospect was the partial backup. My host deleted it thinking it was an old backup and not the partial one that I was trying to backup.
The transfer kept upload despite the partial upload being deleted.
My question is, will the final uploaded file be complete or will it be missing the section that was deleted? I am no sure if it will just reupload what was deleted or just be missing files.
If the final upload is not going to be complete is there a way to complete it?

I would just start from scratch but I don't want to lose 2 hours of upload time.

Re: If an upload is deleted in the middle will it complete the upload?

Posted: 2020-11-15 05:59
by boco
When you upload a file, it is written to on the server. Files open for write access are locked, so, the host should not even have been able to delete it. And, if it did. your upload would throw an error and start over completely (with the previous stub missing).

Either the host deleted an unrelated file or something odd is going on.

Re: If an upload is deleted in the middle will it complete the upload?

Posted: 2020-11-15 08:11
by nbdayan
Great. Thanks!

I would hate to have to start again. It is taking me about an hour for each GB. Does that sound right or is there anything I can do to speed it up. I saw some old posts on how to speed things up but maybe it doesn't work with the latest version as I didn't see that option.

Re: If an upload is deleted in the middle will it complete the upload?

Posted: 2020-11-16 01:32
by boco
Don't get me wrong: It's impossible to know if the copy on the server is OK. The only way to find out would be downloading it back and comparing to the original. Match = integrity proven.


The speed depends on many factors,
-your upload speed (usually slower than download speed; taking my ISP as example, my download speed is about 10x the upload speed, 575MBib/s to 53MBit/s);
-the server bandwidth and load;
-bandwidth and load of each hop along the network route;
-used security software that could slow down operations;
-used hardware (weak CPU and low RAM can slow down transfers, especially FTP over TLS / SFTP);
-...

No definite answer possible. Your 1GB per hour is approx. 284KB per second, which would be an ISP advertised speed of ~2.2Mbit/s. Sounds a bit slow. My calculated (ideal, not real) amount of data transferred per hour would be approx. 23.3GB.