Create Folder and Files in url


I am making a console application and having requirement of upload files to virtual directory. there is already virtual directory created and I want to add directory and files to that folder.

That directory is not part of application, but other hosted application.

Kindly do needful.