I try to use the function drupal_move_upload_file ($ filename, $ uri)
. It works correctly, but when I try to move file in the folder, it doesn't work. Permissions and settings are correct.
Any suggestions/troubleshooting?
are you trying to put the image in the public:// directory which is a URI or in a module or a custom folder ?
if you want to put it in a normal folder, try dirname( __FILE__ ) because it helps to get the absolute url.