I want to append the name of a directory, say 'abc' to
public:// uri of
sites/default/files directory, such that it will point to the 'abc' directory inside
Actually, whenever I try to do this
file_move($file_object, 'public://abc', FILE_EXISTS_REPLACE) it moves the file inside
sites/default/files and creates a file called 'abc'.
I want to move the file inside 'abc' directory, by appending 'abc' to
public://, how do I do this?
I have searched for this and found that
public://abc does the trick, but its not working for me.