FVSDK_ERROR_CODE FVSDK_RemoteEdit(FVSDK_Session* pSession, LPCTSTR pszFilePath);
Downloads a file, then brings up the editor for that file type. Once the user is done editing the file, the user is prompted whether or not the file should be uploaded.
pSession
A pointer to the FVSDK_Session that is to perform the operation. The nAutoUpload element of the FVSDK_Session structure is used to control how the file is uploaded after changes are made by the user.
pszFilePath
A NULL terminated string containing the full remote path to the file to edit.
FVSDK_OK if successful; error codes can be found in FVSDK_ErrorCodes.h.
NOTE: If the session structure is valid, this function always returns FVSDK_OK. This is done because transfers can be asynchronous if bConnectionSaver is set to FALSE. To be notified of transfer errors, use the appropriate callback function found in the FVSDK_Session structure.
// edit the remote file
FVSDK_RemoteEdit(pSession, "/pub/rhinosoft/00index.txt");