Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

To start off I run Ubuntu 10.04 x64 with Windows XP SP3 in VirtualBox for Photoshop.

I created an image in Photoshop and saved it to a common NTFS partition (accessible to Ubuntu and WinXP). I used Filezilla (on Ubuntu) to upload the image to my web host (HostGator, CentOS server).

When I am browsing the server with Filezilla I can see the image I uploaded. I can download it and view it in multiple applications on Ubuntu and WinXP.

The funny thing is if I browse the file system with a browser (Firefox or IE) I get a 404 not found error. I set the directory to list contents and the image does not show in the browser when looking at the directory contents.

Could this be an encoding issue? Filezilla sees the file but the browser/server does not.

Any ideas?

UPDATE: I have tried the following things

  • CTRL+F5 to clear the browser cache.
  • Viewing the page the image is on (doesn't show)
  • Typing the direct URL to the images (gets 404)
  • Setting the server to list folder contents (file is not listed)

UPDATE 2:

  • I forgot to mention that I have created the file in PNG, JPEG, GIF (Photoshop Save for Web) and it hasn't made a difference. I think I am going crazy.
share|improve this question
    
When using the browser, are you using ftp:// or http:// for the URLs? –  DMA57361 Oct 29 '10 at 14:49
    
when using direct url and browsing directory listing I am using http:// –  modernzombie Oct 29 '10 at 14:51
    
OK, try using ftp:// instead, and see if that helps, FileZilla is an FTP client so it connecting to a different server process than the HTTP requests your browser is sending, so maybe it's a permissions issue on the server end. –  DMA57361 Oct 29 '10 at 14:54
    
I get 550 Can't change directory to /path/to/image.png: No such file or directory. It's like it doesn't exist. –  modernzombie Oct 29 '10 at 14:57
1  
@DMA I am going to give you the credit for solving this because you lead me to the error. It turns out to be an extreme case of stupidity on my part. When I setup the site I used a temp subdomain but when I launched it CPanel setup up a new directory with a copy of the old directory. I uploaded to the original directory but everything is now pointing to the new directory. Wow sorry! –  modernzombie Oct 29 '10 at 15:01
show 3 more comments

1 Answer

up vote 0 down vote accepted

@DMA I am going to give you the credit for solving this because you lead me to the error. It turns out to be an extreme case of stupidity on my part. When I setup the site I used a temp subdomain but when I launched it CPanel setup up a new directory with a copy of the old directory. I uploaded to the original directory but everything is now pointing to the new directory. Wow sorry!

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.