php - Laravel 5 FTP Upload -


i'm working on laravel project uses ftp service, used https://github.com/harishanchu/laravel-ftp . can't make upload work. have proper connection , able make new directories remote server. upload doesn't work. doin wrong parameters?

$ftp_upload     = ftp::connection()->uploadfile($file_loc, $current_dir); 

when var_dump() $file_loc

string 'c:\wamp\www\callrec\public\uploads\joene1212\01313313116_soniasantos482uk_2015-04-28-20-22-25.wav' 

which totally exists in directory , $current_dir in remote directory is

string '/callrecordingsupload/joene1212' 

where $file_loc local source , $file_loc remote directory uploaded.

if making directories not uploading file, chances php file upload limits set @ default 2mb.

try adding following lines .htaccess

memory_limit = 512m upload_max_filesize = 100m post_max_size = 100m 

Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -