How to Upload Images to Another Server Through FTP in Laravel

preview_player
Показать описание
Do you want to upload your files from your Laravel application to another server through FTP? Laravel comes with the built-in support for uploading files to external server or cloud. In this video, we show you how to upload files(images) to another server through FTP in Laravel website.

Рекомендации по теме
Комментарии
Автор

also u didnt show how display this in blade view

agamurat
Автор

How can I encrypt the image before uploading and then decrypt it before displaying? Otherwise if someone gets the URL and the filename pattern then the images can be accessed by anyone using the URL.

rajshah
Автор

im able to do this on FTP but I want to do it on SFTP but even after adding Sftp library showing
"Error
Class not found"

hardeepshiyani
Автор

hi, error - Class not found- when use ftp on other server. pls

luisolave
Автор

Hey dude, Is FTP can be use in uploading data into ubuntu server?

ermetanyoPh
Автор

how can i connect to my own machine which is localhost. i am on ubuntu.



'driver' => 'ftp',
'host' => env('FTP_HOST'),
'username' => env('FTP_USERNAME'),
'password' => env('FTP_PASSWORD'),
'root' =>




i am not sure what to write for host, username and password.

agamurat