Skip to content

Empty files on server when deploying to server for the first time #73

@teanocrata

Description

@teanocrata

I ran the script after configuring the ini files. It made empty files on the server. All the files were just empty. (Maybe related with #48)

[opensmartcountry]

skip = false
user = "*@*.com"
host = "ftp.*.com"
port = 21
path = "/public_html/*.com"
passive = true

I've check file size with this code and all files have >0 bytes:
Helpers::logmessage("File: " . $file . ' size: ' . filesize($file) . ' bytes');

Files PREVIOUS_REVISION and REVISION are succesfully created, both with 40 bytes size.

Thanks a lot!


git version 2.7.4
PHP 5.6.25-1+deb.sury.org~xenial+1 (cli)
Linux Mint 18 Sarah (GNU/Linux 4.4.0-21-generic x86_64)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions