Auto writes data buffered in memory out to disk before logout

Advertisement

huangsijun17
Joined:
Posts:
1

Auto writes data buffered in memory out to disk before logout

I have some embedded devices connected via FTP. I need to power off the device after copying files via WinSCP. However, powering off the device directly will result in some data loss, so I need to run the "sync" command to write the copied files to the disk. Can I automatically execute the command to write the files to the disk when WinSCP disconnects?

Reply with quote E-mail

Advertisement

You can post new topics in this forum