How to upload file in sub folder using JSOM in SharePoint

M.A. Farooqui 21 Reputation points
2021-10-02T15:12:51.647+00:00

Hi,

How can I upload a file to Subfolder in Document Library using JSOM...
At some pointer , i tried..fileCreateInfo.set_url but not working...
Any idea/suggesiton ..please
Thanks & BR

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,297 questions
SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,596 questions
0 comments No comments
{count} votes

1 additional answer

Sort by: Most helpful
  1. M.A. Farooqui 21 Reputation points
    2021-10-04T08:18:28.617+00:00

    Thanks Michael,
    I think I was missing slash (/) after folder name , now it worked...

    0 comments No comments