Closed Bug 160608 Opened 22 years ago Closed 22 years ago

Downloaded files don't get copied to destination

Categories

(Camino Graveyard :: General, defect)

PowerPC
macOS
defect
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED
Chimera0.5

People

(Reporter: jail_bait60, Assigned: ccarlen)

References

Details

Attachments

(2 files)

this is using chimera 0.4 official release. 
i download file's to a seperate hard drive, basically: download file to non-boot
disk, file download's fine, when i look in the folder i downloaded it too, it's
not there. after this dosn't work, i eventually tried downloading to my bood
disk. the file downloaded in a split second (ie, didn't download, just moved
from somewhere else, cache maybe) and the file is downloaded fully working. the
download window appears and disapears instantly, on a 56K modem, dwonloading a
1Meg file, "1.2 MB per second" :). has happened three times, with three
different urls, every time a tried to download to the seperate disk. this bug
was not in v0.3

sys stats:
os x 10.1.5
Beige G3 233Mhtz, 352 MB RAM
booted off 4Gig hd (chimera also on this drive.)
downloading to 40Gig drive failes.
WorksForMe using Chimera/20020801. Files downloaded to a non-boot volume
download completely successfully.
Summary: downloaded file's disapear → Downloaded files disappear
I've had this happen many times (in 4.0 and nightly builds thereafter); it has
only occured when I was saving to a non-boot disk, and only when I downloaded by
single-clicking, not using the context menu.

The file was actually gone (not a Finder refresh problem; ls couldn't see it
either), but if I downloaded it again using the context menu, it would be
instantly loaded from cache, so the download itself was successful.
the bug we discussed in macdev, there has to be a dup of this...
Assignee: saari → pinkerton
Blocks: 147975
related to bug 159350 - Downloading fails with non-standard Users directory
location?
159350 is exactly the problem with this that I have; if jail can confirm that on
his setup, I would say that this is a dup.
I had the same problem, I downloaded a 53 MB file twice and wondered where it went.

This is not bug 159350: my Users directory is in the usual place (/Users/nicholas).

FWIW, the file I was trying to dwonload was the XonX install:

http://umn.dl.sourceforge.net/sourceforge/xonx/XInstall_10.1.sit

and the location I was trying to download it to was:

/Volumes/GrayExtra/Received/XInstall_10.1.sit

Where it ended up:

-rw-r--r--    1 nicholas wheel         54M Aug  4 22:45 /tmp/if0hq301.sit
-rw-r--r--    1 nicholas wheel         54M Aug  4 22:42 /tmp/rcxmzcl6.sit
d/l issues -> conrad
Assignee: pinkerton → ccarlen
Is this the same as bug #159792 ?
I see the problem:

If I download to /Volumes/OtherDrive/file.sit, it works.
If I download to /Volumes/OtherDrive/Stuff/file.sit, it fails.

Now, I know that, time to see what's happening in the debugger...
Status: NEW → ASSIGNED
Target Milestone: --- → Chimera0.5
*** Bug 159792 has been marked as a duplicate of this bug. ***
What I said in comment #9 is 100% reproducible with 0.4 and also the nightly
from 08/06. It is not reproducible at all with my current debug build (with any
local changes to the file code removed)
Smells like a compiler bug (or a static build thing). I wonder if the same issue
is affecting the disk cache code?
Well, I'm not sure if this should go here or another bug, but what the heck.

The "disappearing download" bug just bit me, too.  I was downloading to 
/Users/haasd/Desktop/Dec2001DevToolsCD.dmg.bin   The download finished, but no
file was there.   However, in /tmp , I've got a file (randomstring).bin , which
looks like it's the exact right size as the file I was downloading.

This machine has 1 HD & just 1 partition, so that's not the issue.

So it looks like the dl starts saving in /tmp & just never moves the file to
where it should end up.

Hope this helps.
> So it looks like the dl starts saving in /tmp & just never moves the file to
where it should end up.

Yes, that's exactly this problem. From the comments and what I have observed,
"disappear" is misleading - making summary more accurate.

See also bug 156250 which caused this when replacing an existing file. That
wasn't  fixed until 7/31.
Summary: Downloaded files disappear → Downloaded files don't get copied to destination
Attached patch patchSplinter Review
nsLocalFile::GetParent() had 2 variations - one for DEBUG and not. The !DEBUG
case was broken. It turns out not to need two variations so I went with the one
that worked in both cases. Tested the reported problem as well as when building
new component.reg and xpti.dat.

Looking for review.
It looks from the diff that you removed the entire method. Can you post one with
more context?
This was fixed by checkin for bug 159987.
The problem that it fixes is the one where it wasn't possible to download to
"/Volumes/SomeDrive/SomeFolder/SomeFile.sit" The problem as reported in comment
#13 is something I have never been able to repro.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Verified in 2002-08-11-05 NB.
Status: RESOLVED → VERIFIED
*** Bug 163383 has been marked as a duplicate of this bug. ***
No longer blocks: 147975
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: