// Example of Using Embedded commands to upload files to OneDrive
// Upload to OneDrive - Work Account (Enterprise Edition only)
// It requries Ent. pack license 

%%FTPEnable: True%%
%%FTPMethod: 5%% 	// OneDrive Work Account OAuth2 Upload
// Default using the Edge Browser for OAuth2 --> FTPOAuth2Browser: 1

%%FTPServerDir: /work jobs/upload%%

// upload as another name specified by DestDisplayName
%%DestDisplayName: Newly Generated PDF.pdf%%

//Upload additional files
%%FTPAttach: g:\temp\demo1.pdf; Hello Everyone2.png<g:\temp\hello1.png>%%

This is an example of Using Embedded commands to upload files to OneDrive. It requries Ent. pack license