This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
    triasrahman
    
            
            
                    
                                            
        
    
        I need to build a web service that getting image from another website, for example http://domain.com/file.jpg. I can get the content easily using file_get_contents($url). But the problem is I can't put this data into the System File model by OctoberCMS. Anyone can help me please?
Thanks!
    alxy
    
            
            
                    
                                            
        
    
        You need to temporarily save it on your server, then you can create a file model from that path...
1-3 of 3