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?
Complete thread:
- PutData to create empty file - Oleg, 2007-08-16, 17:06
- Re: PutData to create empty file - wodSupport, 2007-08-16, 21:37
- Re: PutData to create empty file - Oleg, 2007-08-17, 00:20
- Re: PutData to create empty file - wodSupport, 2007-08-17, 00:26
- Re: PutData to create empty file - Oleg, 2007-08-17, 00:48
- Re: PutData to create empty file - wodSupport, 2007-08-17, 00:26
- Re: PutData to create empty file - Oleg, 2007-08-17, 00:20
- Re: PutData to create empty file - wodSupport, 2007-08-16, 21:37