Following code is used to upload file to SFTP:
\SSH::into('server')->put($localFile, $remotePath);
It uses phpseclib/phpseclib/Net/SFTP.php behind the scenes.
Upload does not work when trying to upload file with special characters in it e.g. "file_ü_e.jpg"
Uploading such file via GUI tool to given server works so the question - is it possible and what should be done to upload it via script?