check_ftp_connection - return new ftp connection if its possible with status code 1. Else return status code 0
upload_price(file_name, zip_file) - trying to upload new file_name with images to server in specific dir. After that, you also need to try to download the zip_file to the desired directory and unpack it
images_zip_upload() - Upload and unpack archive with images in shop's server
Note:
Use Environment Variables in your own server to secure credentials
Add new class:
Functions Info:
check_ftp_connection
- return new ftp connection if its possible with status code 1. Else return status code 0upload_price(file_name, zip_file)
- trying to upload new file_name with images to server in specific dir. After that, you also need to try to download the zip_file to the desired directory and unpack itimages_zip_upload()
- Upload and unpack archive with images in shop's serverNote: