SFTP WS_FTP OpenFile “Folder not found” Error

If you pass a filename with no path to the SFTP OpenFile method, and the SFTP server is WS_FTP, you may get a “Folder not found” error. An SFTP server *should* open or create the file in the home directory of the logged-in account. This doesn’t seem to be the case with the WS_FTP server. The fix is to call […]

osErrorInfo: Access is denied.

If you find the error “osErrorInfo: Access is denied.” in LastErrorText, it means that the file could not be opened because of file permissions problems. The “Access is denied” message originates from the Windows operating system. Check the file and directory permissions to make sure the calling process has permission to open the file for read and/or write access. Check […]