Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

huangsijun17

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?