Reply to file not uploaded to the wanted location

file not uploaded to the wanted location new!
by Tom Benjamin, 17 years, 5 months ago
Hi,

Fits time using this script so this is a newbie question.

I'm getting this result trying to upload an image:

file not uploaded to the wanted location
Error: No source file. Can't carry on a process


source is an uploaded file
- upload OK
- file name OK
- source variables
    file_src_name         : sunset.jpg
    file_src_name_body    : sunset
    file_src_name_ext     : jpg
    file_src_pathname     : /data/temp/phpSiUizO
    file_src_mime         : image/jpeg
    file_src_size         : 7459 (max= 134217728)
    file_src_error        : 0
process file to /data/in/b/beverley/www/select/locations/test/
- file size OK
- file mime OK : image/jpeg
- file name safe format
- destination variables
    file_dst_path         : /data/in/b/beverley/www/select/locations/test/
    file_dst_name_body    : sunset
    file_dst_name_ext     : jpg
- image operation, keep extension
- checking for auto_rename
- destination file details
    file_dst_name         : sunset.jpg
    file_dst_pathname     : /data/in/b/beverley/www/select/locations/test/sunset.jpg
- sunset.jpg doesn't exist already

The dst_pathname is set to a sub-directory of the website.

Is my problem that the src_pathname is outside my directory on the server (/data/d/in/b/beverley/www/select is the root directory of the website, the user account's home directory is /data/d/in/b/beverley/). If so how do I control where the source pathname directory ( /data/temp/phpSiUizO in the above) is created?

Thanks,

TomReply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important