Hi In my work, I have to use vbscript upload a file to the BOX when needed. Unfortunately, after run the code, I failed to see any file uploaded in the Box. By the way, I am using the developer token for a trial. dim oShell set oShell = WScript.CreateObject("WScript.Shell") oShell.Run "curl https://upload.box.com/api/2.0/files/content -H ""Authorization: Bearer BaTcsvhh2ZWaF9vcLqasq88Ps9i88ELG"" -X POST -F attributes='{""name"":""C:\Users\myAccount\opLog_11182016125853.txt"", ""parent"":{""id"":""0""}}' -F file=@C:\Users\myAccount\opLog_11182016125853.txt" set oShell = Nothing It makes me very confusing. Anyone encountered the same problem before? If you could help, very appreciate for the reply.
Question
Upload files using VBScript with cURL
Sign up
Already have an account? Login
Community access is available only with a Box Account.
Sign in with your Box AccountSign in to the Box Community
Community access is available only with a Box Account.
Sign in with your Box AccountEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.
