Comments (3)
- Get an
Object
instance to the existing folder usingClient::fetchObject($objectId)
- Use
Folder::createFile($name, $content)
on the returned object and pass it your file's contents/handle as the second parameter
Please see the documentation in the source code for more details on the function interfaces.
from onedrive-php-sdk.
There is one way. You can find the folder id by reading all the folders in OneDrive.
from onedrive-php-sdk.
@aravintha thank you. I found the solution 👍
from onedrive-php-sdk.
Related Issues (20)
- How to save token to reuse later automatically
- how to access @microsoft.graph.downloadUrl HOT 1
- fetchObject problem HOT 1
- Code undefined in $_GET ,getting this issue
- Cron Job : Uploading DB file to One Drive (Question)
- Undefined function when calling complete() on UploadSessionProxy class
- Getting items (children) in a folder
- Error with Client->obtainAccessToken HOT 3
- Fatal error: Uncaught GuzzleHttp\Exception\ClientException HOT 1
- Can't get thumbnails
- Obtain Access Token Without User Login
- Method copy in DriveItemProxy.php is failing
- Question - how to provide my own drive for clients to interact with it? HOT 2
- composer guzzlehttp/guzzle version HOT 1
- Exists any problems with IIS ?
- About show file/image preview on my site HOT 2
- creating a folder inside another folder with onedrive api HOT 1
- guzzle error while creating a file in a shared onedrive directory under another user
- How can I delete already uploaded files on one drive folder
- AUTH_URL and TOKEN_URL are constants
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from onedrive-php-sdk.