PutData to create empty file (General questions)
Hi,
I am trying to use PutData to create empty file on FTP server.
Code is like this (VC++):
VARIANT var;
var.vt = VT_BSTR;
var.bstrVal = SysAllocString(_T( /test.txt ));
SFtp->PutData(_T( ), var);
But COleDispatchException occured.
What I am doing wrong?