// 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: 6%% 	// OneDrive Personal Account OAuth2 Upload

%%FTPUserName: %MSLiveEmail% %%
// It can now set to launch Browser (Edge/Chrome) using the specific profile for OAuth2
// Default using the Edge Browser for OAuth2 --> FTPOAuth2Browser: 1
%%FTPOAuth2Browser: 2%% // 1: Edge, 2: Chrome 

// Users can set FTPBrowserProfileEmail to the email address of the Browser profile.
// The email address of a Browser profile usually means the email address signing the Browser.
// For example, in Edge, it is the email signing in Microsoft365. Or it is the Google account in Chrome.
%%FTPBrowserProfileEmail: %%
// set the below setting to True, it will use the Browser profile with email addr as the FTPUserName
%%FTPBrowserProfileByFrom: True%%

%%FTPServerDir: /jobs files/upload%%

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

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

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