ROCKINDANO Posted March 14, 2011 Share Posted March 14, 2011 hello all, i moved my inhouse website to a hosting company. now i have a few files that i used to upload data to the website, but every time i try uploading it gives me this error. Warning: move_uploaded_file(..\pdfs\htdocs\pdfs\citysect/03152011CCRM.pdf) [function.move-uploaded-file]: failed to open stream: No such file or directory in /data/26/2/13/16/2502179/user/2740540/htdocs/loginscripts/uploadpdf.php on line 34 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/data/20/tmp_new/php2GMXs3' to '..\pdfs\htdocs\pdfs\citysect/03152011CCRM.pdf' in /data/26/2/13/16/2502179/user/2740540/htdocs/loginscripts/uploadpdf.php on line 34 could not moved can anyone help me? Quote Link to comment https://forums.phpfreaks.com/topic/230638-help-uploading-files/ Share on other sites More sharing options...
JohnOP Posted March 14, 2011 Share Posted March 14, 2011 Read it.... Those files are not in the dir Quote Link to comment https://forums.phpfreaks.com/topic/230638-help-uploading-files/#findComment-1187499 Share on other sites More sharing options...
ROCKINDANO Posted March 14, 2011 Author Share Posted March 14, 2011 i know, but the directory is there so why can't it upload them? Quote Link to comment https://forums.phpfreaks.com/topic/230638-help-uploading-files/#findComment-1187504 Share on other sites More sharing options...
Spock Posted March 14, 2011 Share Posted March 14, 2011 my guess is the backslashes, try changing the backslashes to forwardslashes! Quote Link to comment https://forums.phpfreaks.com/topic/230638-help-uploading-files/#findComment-1187511 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.