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

Was this answer helpful?

 Print this Article

Also Read

2 questions about setting up domain registration!!

Posted by 21inchguns, 09-13-2001, 09:41 AMHi there, I just have two questions regarding setting...

Second slash on production server

Posted by Morecoffee, 03-07-2010, 01:52 PMHello, When I develop PHP scripts on my local server...

how to config my domain ???

Posted by hangnguyen, 03-27-2008, 12:50 PMPlease move this post if I posted on wrong box . I...

Hosting Related Press Releases

Posted by SoftWareRevue, 04-29-2009, 10:30 AM Post your press release for the WHT community...

php script security issues

Posted by CleverWebHost, 09-15-2008, 01:12 PMi am on a shared server with php script security...