I used FileZilla for the first time. I have a question if I upload a Laravel project through ftp serve in cPanel but I don't have any access to cPanel means I only know ftp server host , username and password then how can I create database in server for the project.
Related
I have two different server. In first server laravel application is deployed and in second server some files are stored. I want to check if a specific file exists in second server from laravel application. I have ftp credentials of second server. I am using laravel filesystem to connect second server. I have defined ftp credentials in config/filesystem.php file. Below is the code what I have tried
Storage::disk('ftp')->exists('generated/file1.csv');
I am getting following error:
ftp_chdir(): Can't change directory to /home/username/public_html/: No such file or directory
i want to share my Laravel(version 5.4.12) project with client, but i didn't use BitBucket before and i have no idea how to upload my Local project on Bitbucket with Database and how to access. My client want to update him daily.. so please help me out
Just create a new repo on bitbucket, then select the option that reads
I have an existing project
They will give you all instructions how to upload existing project to bitbucket.
You cannot upload your local database to bitbucket by default, unless you manually download it and place it somewhere in your project, then on your next push, it will be uploaded.
But your project already goes online with all migrations. So you can use migration on the server to install the database.
How to link with website
Once on bitbucket, your code is now available online. Then you need to connect on your server on ssh. Once connected, you can navigate where you want to install it and clone the repo.
after cloning the repo on the server when you want to link the website, you can run usual commands like php artisan migrate --seed to create and populate the database.
Make sure you create .env file online. It won't be available on bitbucket.
You can use ngrok to expose your locally hosted project over secure tunnels to the public internet even if your local host is behind NATs and firewalls . It is very easy to use, for example after you have downloaded ngrok, by running ngrok http 8000 from the command line and it will give you a URL which will expose what is normally localhost:8000 for you. Give that URL to your client and they will be able to access your localhost.
You can find ngrok here - https://ngrok.com
You can only show the progress to the client if you have deployed the project on a server or if the client can pull from bitbucket and run on their own localhost but am assuming you are not going that way so upload it on a test server.
I am trying to login with FTP account on windows server vps hosting but in FileZill
giving me response
Response: 530 User cannot log in, home directory inaccessible.
The FTP user you're logging in don't have the access to the FTP site then this error will happen. So that check your credentials to connect with the FTP. For testing try to allow anonymous login and restart the FTP site and then connect to FTP via FileZilla.
I follow this video steps by steps to create a local FTP Server on Windows 8.1. They use IIS to make FTP sites and add a Windows local user to login. But at the end, when I go to the server's IP address and login (using FireFox), I got this error: 530 Login or password incorrect!.
Can anyone help me?
Thanks
Try it:
Select your FTP Site from IIS dashboard. than select FTP Authentications. Inside the FTP Authentications set the Basic Authentications Enabled.
I'm not too familiar with IIS but have used other FTP servers. Couple of things to check:
Are you logging in from the same machine / remote machine?
If you are on the same machine, do you need the DOMAIN/Computer Name in there
Does the user you are trying to login as set up in IIS as being able to access the FTP Server?
Try checking the following,
User exists
User can access the FTP site
User you are entering into the FTP client has the right username and password.
I am getting this error message when i tried to host my mvc website on local IIS server on my PC . and tried to access it from my web browser.
Please help me how to get rid of this problem. I want to host my mvc3 website on my local IIS server
Check whether the user account that is running the application has read and write access to %temp% folder