PT-9230 Mobile Computer SDK Programming Manual 69
PutFTPFile
Send file to share folder in the connected device.
DWORD PutFTPFile
{
LPCWSTR pSourceFile,
LPCWSTR pTargetPath
}
Parameters
pSourceFile
[in] The source file in the share folder to transfer to connected device.
pTargetPath
[in] The target path in the connected device to save file.
Returned Values
If the action succeeds, the returned value is E_FUNC_SUCCEED. If the action fails, possible returned values are
E_FUNC_ERROR, E_FUNC_PAR_ERROR, BT_ERR_DEVICE_NOT_CONNECT.
Example
if(PutFTPFie(_T(\\Temp\\record.txt, _T(\\Collect)) != E_FUNC_SUCCEED)
AfxMessageBox(_T("Put file fail"));
Requirements
OS Versions: Windows CE 6.0 or beyond.
Header: sysapiax.h
Link Library: sysapiax.lib
Link DLL: sysapiax.dll
Device: PT90