Robert Granlund
asked on
SSH Comand line
I need to upload a large SQL file to my DB. However, it is larger than what the default php.ini file will allow. (65MB)
My host told me I needed to edit the php.ini file via SSH Command line. I tried to use my ftp (FileZilla) but it would not overwrite the file.
Do I use a program to overwrite via SSH Command line?
My host told me I needed to edit the php.ini file via SSH Command line. I tried to use my ftp (FileZilla) but it would not overwrite the file.
Do I use a program to overwrite via SSH Command line?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If you connect via SFTP on filezilla you can right click the file and change the permissions so you can overwrite it.
If you have SSH access then usually your host will have a terminal you can use online, log into your hosting control panel with the host and see if there is an SSH terminal
Use scp to transfer the file, then move it to where you need it:
scp filename.sql remotehost.domain.com:/hom e/username /
scp filename.sql remotehost.domain.com:/hom