Windows Sleep Stops Transfer

Advertisement

wsloand
Joined:
Posts:
5
Location:
USA

Windows Sleep Stops Transfer

Thank you for the great software!

I setup my mother's computer to download lots of kid pictures from me (about 30 GB in a single zip file). We set it up as a background transfer, and left it to go overnight. Her computer went to sleep, and the transfer paused. When she started using the computer again, the transfer restarted.

I think that this is similar to https://winscp.net/forum/viewtopic.php?t=5867, but I'm not sure if it's something different with Windows 10, background transfers, or something else. Is a pause during a background transfer expected?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
31,808
Location:
Prague, Czechia

Re: Windows Sleep Stops Transfer

I'm not sure what is the question.
Did you expect WinSCP to prevent the computer from going to sleep?

Reply with quote

wsloand
Joined:
Posts:
5
Location:
USA

Yes, based on what I saw in https://winscp.net/forum/viewtopic.php?t=5867 , I expected WinSCP to prevent the computer from going to sleep. As I'm thinking about it more, I think that it should only be an option for a transfer (and not a requirement), so perhaps a checkbox like "prevent computer from suspending or going to sleep during transfer" would help.

If that's not in scope for WinSCP, that's OK.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
31,808
Location:
Prague, Czechia

WinSCP should prevent the sleep. I'll look into it.

Reply with quote

wsloand
Joined:
Posts:
5
Location:
USA

martin wrote:

WinSCP should prevent the sleep. I'll look into it.

Thanks! In case it helps, the computer is a new Windows 10 laptop with all current updates applied.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
31,808
Location:
Prague, Czechia

Re: Windows Sleep Stops Transfer

For me it seems to work correctly.
A transfer prevents the sleep. Both foreground and background.
I didn't test it "overnight", just for few minutes. Windows goes to sleep only after the transfer completes and Sleep interval elapses after the transfer.
Are you able to reproduce the problem, when you set Windows Sleep interval to few minutes?

Reply with quote

wsloand
Joined:
Posts:
5
Location:
USA

I don't have ready access to the computer with the issue (it is my mother's, and it's about 1000 miles away). But, it was happening in just a few minutes (about 10 minutes, I think), and it corresponded with screen blanking and apparent sleep mode from what I could see.

I'm about to have another test of an almost identical system (my dad's computer broke, too, and we got him the same model laptop as my mom). I anticipate that it will go to sleep while we are transferring his many GB of pictures back to his new computer. Do you have specific recommendations of what I should do to test it more effectively? Are there any Windows settings that I should look for or report for those transfers?

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
31,808
Location:
Prague, Czechia

I do not think I have any unusual settings configured.
Windows 10 sleep settings are pretty simple.

Reply with quote

wsloand
Joined:
Posts:
5
Location:
USA

As I started on my dad's computer, I realized what may be an important detail. I am using the WinSCP background queue for transfer. If transfers are happening in the queue (instead of the foreground), do the no-sleep features take effect?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
31,808
Location:
Prague, Czechia

I know that you are using "background" transfer. You have mentioned that in your first post already.
And I wrote that "A transfer prevents the sleep. Both foreground and background."
I cannot reproduce your problem unfortunately.

Reply with quote

Advertisement

You can post new topics in this forum