$_FILES does not store the original file path so we were losing the folder name. Fixed by explicitly passing the full filepath in via the ftp-upload-hook.sh script |
||
---|---|---|
.. | ||
ftp-upload-hook.sh | ||
message_sender.php | ||
php-amqplib | ||
test-hook-script.sh |
$_FILES does not store the original file path so we were losing the folder name. Fixed by explicitly passing the full filepath in via the ftp-upload-hook.sh script |
||
---|---|---|
.. | ||
ftp-upload-hook.sh | ||
message_sender.php | ||
php-amqplib | ||
test-hook-script.sh |