get file from php client