Author Topic: Uploads Often Corrupted  (Read 839 times)

bcnya

  • Newbie
  • Posts: 2
Uploads Often Corrupted
« on: February 14, 2014, 10:37:02 AM »
On several occasions, I've had my files corrupted on the receiving server. Sometimes they're obviously incomplete, being smaller than the original. Other times, the size seems to be the same but the Photoshop files won't open. I have a theory, that my Mac goes to sleep and uploads stop. They might resume after awakening but not without damage (I'm guessing). File sizes are from 25 - 108MB or more.

I try to remember to set my Energy Saver Prefs to sleep after "3 hours" or "never" and that seems to help. Not sure if that's really the case but wonder what the difference is compared to an application like iTunes that will continue to stream audio almost forever after the Mac sleeps.

I'm using 1.9.2 and previous versions since 2005, currently with Mountain Lion. Is there a setting that will keep Yummy at work until the upload is complete?

Obviously, I love Yummy as proven by my using it for the last 8.5 years.
Thanks!
Thanks for

JD

  • Administrator
  • FTP Guru
  • Posts: 2513
Re: Uploads Often Corrupted
« Reply #1 on: February 14, 2014, 11:26:56 AM »
Hi,

This isn't an issue I'm aware of, certainly there are no similar reports.

Yummy has already been programmed to keep the Mac from sleeping when it is busy, so I'm very perplexed that the sleep occurs anyway. In fact, I added more support of this for the 1.9.2 version since Mavericks (OSX 10.9) added the AppNap feature. Are you using Mavericks?

As for resuming, as long as the server itself is working correctly, it should work just fine. I'd really need to see an FTP Transcript saved after the problem occurs to see how/why the broken connection and resume occurred. Please send me this if you can. Select Save FTP Transcript from the File menu and send to support AT yummysoftware.com

My suggestion for the time being would be to set the power saving Off if you want your Mac to stay awake reliably.

bcnya

  • Newbie
  • Posts: 2
Re: Uploads Often Corrupted
« Reply #2 on: February 14, 2014, 09:09:30 PM »
Setting the sleep to 3 hours kept the Mac awake, plus I've been using it most of the day but the problem continues with incomplete files. I have "put the hard drive to sleep when possible" checked and have unchecked that for a change but I suspect the problem is something else. Wondering if the receiving server isn't the problem and sending you the ftp transcript. Much of it's incomprehensible to me.
Thanks!

JD

  • Administrator
  • FTP Guru
  • Posts: 2513
Re: Uploads Often Corrupted
« Reply #3 on: February 15, 2014, 07:41:24 AM »
Again, I would recommend turning Energy Saver "Off" to be 100% sure your Mac going to sleep at 2am is the problem… it shouldn't be, but just to be sure.

Certainly, your transcript shows repeated dropped connections throughout the multi-file, multi-connection, transfer (even at 2am for example). In every single case Yummy reconnects, asks the server how much of the file its got, then resumes uploading at that exact place, so I can't see that Yummy is doing anything wrong at all. All other FTP apps would have given up long ago ;)

I do note that the server is PureFTPd and this keeps temporary files while you're uploading, so maybe it's got some bug with resuming reliably.

Perhaps you have a problem with your Internet connection. I note from the transcript that the server reports quite slow speeds for completed transfers, and I also notice many short periods (e.g. 30 - 60 secs) where there is simply no response from the server at all to the most simple of commands prior to a transfer.

So I would recommend checking with the server provider to check that there are no issues there, and also have your own Internet connection checked for reliability.

D2149

  • Full Member
  • Posts: 16
  • Bass Lake Ca.
Re: Uploads Often Corrupted
« Reply #4 on: March 06, 2014, 11:54:00 AM »
Never a good idea to SLEEP ANY machine that needs to do automated work. Too much of a risk that initial data can be corrupted if the machine does not wake fast enough.

Our weather computer (iMac 27) has been running constantly 24/7/365 for the last 4 years.  If you want to run automation reliably, you really need to bite the bullet and commit the machine to always on status.  That means NO ENERGY SAVER except the Display.  :)
Rick - Station Operator



http://basslake-weather.com