My tar files is invisible!
Posted by hbhb, 03-28-2008, 12:07 PM Hi, I need help, I just execute a command to tar a directory #tar -zcvf folder.tar.gz /home/user/public_html/folder #chown user:user folder.tar.gz #chmod 777 folder.tar.gz #ll folder.tar.gz -rwxrwxrwx 1 user user 100468712 Mar 28 23:10 folder.tar.gz* So when I try to go http://domain.com/folder.tar.gz to download the files, it says 404 Not Found When I try to wget from another server, it says 404 Not Found When I try to FTP from another sevrer, I cannot see the files at all. Why is my tar files becoming invisible, and how to solve this problem?
Posted by tracerouteme, 03-28-2008, 12:18 PM Please check the apache error log to know where apache is looking for the file.
Posted by hbhb, 03-28-2008, 12:59 PM 404 Not Found Even my FTP client can't see the file. I can't see from http I can't wget from http I can't list the file or get from ftp I can only see folder.tar.gz inside SSH! It's so weird...
Posted by tracerouteme, 03-28-2008, 02:02 PM It seems that you ran the command to tar the file from a different directory. Run the command 'pwd' where you can see the tar file. If it is not /home/user/public_html/, move the tar file to /home/user/public_html/ using the following command mv folder.tar.gz /home/user/public_html/ Hope it helps