Please find the error itself here:
OpenFile(15ms): DllDate: Oct 2 2014 ChilkatVersion: 126.96.36.199 UnlockPrefix: Username: Architecture: Little Endian; 32-bit Language: Visual C++ 10.0 (32-bit) VerboseLogging: 1 SshVersion: SSH-2.0-Sun_SSH_1.1.6 SftpVersion: 3
Maybe you can advise what can be wrong here.
asked Apr 20 '15 at 07:12
The relevant information is this part of the LastErrorText:
remotePath: MO_Unmatched_Trade_Monitor20150409.csv access: writeOnly createDisposition: createNew
It says you are trying to create a new file for write-only in the HOME directory of your SSH/SFTP user account. (It is in the HOME directory because no path was provided in the remotePath.) If the MO_Unmatched_Trade_Monitor20150409.csv already exists, then you will get an error. You would want to tell the server to open the file "createTruncate" instead of "createNew". See the online reference documentation for the OpenFile method. Also, it could simply be a problem with directory permissions w.r.t. to your user account on the SFTP server..
answered Apr 21 '15 at 11:19
Thank you for your reply. I did try createTruncate after posting this, and still got the same reply. So it might be as you suggest - the account I use has some issues with permission for the home directory?
As for the path on the remote server, didnt have much influence over that.
answered Apr 21 '15 at 11:27