Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

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

Guest

Thanks, Martin. I was thinking that would be the case, but didn't know if you had discovered a secret for determining file completion on all platforms. So, thanks for the confirmation. - Scott
martin

Re: Can WinSCP tell if a remote file is finished being created?

That's not about client (WinSCP). That's about server allowing access to incomplete (opened) file. In general on Unix there's no way to determine that file is being written to. On Windows though, opened files may be (and generally are) locked from being access by another process.
Guest

Can WinSCP tell if a remote file is finished being created?

Can WinSCP tell if a remote file is finished being created? Will it throw an error if the file is not complete or will it try to transfer a partial file?
Explanation: On some platforms the size of a file is zero bytes until it is complete. On other platforms, the size increases as the file is being created. So one solution to this is to create a corresponding little flag file that indicates when a file is complete, so that when the little file is found, then an automated process knows it can FTP the full/complete file. So, I was wondering what WinSCP's various flavors of FTP (non-secure and secure) will do in determining file completion. Will it fail? Will it throw a warning?
Thanks,
Scott