Hi,
Does the SFTP server component have a event that fires after a file has been successfully uploaded?
I want to do some processing on certain file name after they have been fully uploaded(unix to DOS CRLF conversion and other things like that)
SFTP Server Question
Re: SFTP Server Question
TScSFTPServer doesn't generate a separate event after the file is successfully loaded. You can implement file loading validation by yourself. For this, you can use the OnOpenFile event handler. In it, you need to detect whether the file is open for writing. After the client writes all the data, the OnCloseFile event is called. You can handle this event to detect file loading success.
Re: SFTP Server Question
Thanks,
I am looking at this now.
How do I get the filename in the OnCloseFile Event?
I am looking at this now.
How do I get the filename in the OnCloseFile Event?
Re: SFTP Server Question
SecureBridge doesn't pass the file name to the OnCloseFile event handler as a parameter.