Good Evening Folks,
Issue : Uploading a file works in local folder ..but not in the remote folder which is on server in WIN SCP..
Description : I have set all the permissions of the folder checked .. However , I don't see the file to be uploaded in the intended path .
This is path where the file needs to be uploaded : home/int/libscrip/html/webtest/helpdesk/uploads
The code which was written in the PHP file regarding the destination path is as shown below.
$my_path = "tmp/";
$my_destinationpath = "uploads/";
if(!file_exists($my_path))
mkdir($my_path,0777,true);
if(!file_exists($my_destinationpath)
mkdir($my_destinationpath,0777,TRUE);
Note : The folder and the file in which the code was written resides in the same folder due to which the above PHP variable was set as "tmp/".. ( Kindly assist me if this is correct practice to specify a folder on remote server)..
However , Iam not posting the code related to upload as the code works fine on local without any issues.
Unfortunately, this upload functionality is not working on remote server which needs to be solved.
Your help is greatly appreciated !!!!