Welcome to WebmasterWorld Guest from 18.104.22.168
Forum Moderators: phranque
A friend asked me to upload a file to his host's server. He gave me the info for FTP and this all sounded simple enough. But upon uploading the file it will not show up on my browser, and yes I've hit refresh a couple gazillion times. I also receive an error message from FTP saying the file or directory doesn't exist. Oddly, when I try uploading the file to my own server it works perfectly.
What am I doing wrong?
I apologize in advance if I'm missing something painfully obvious here.
your ftp problem sounds like it might be a path issue. Different webservers have mildly different ways that they map for public html files. If you give me a little more info about the paths I'd be happy to look into it for you.
Once at the server's directory, the public files seem to be located in the directory: www.
One thing I also noticed are duplicate file names (for exp. intro.htm)in another directory called: _vti_cnf, but these identically name files were of a smaller size.
nifty ascii diagram [mivox.com]
So, if you ftp'd without specifying your upload directory, it would upload all the files to /domain_root/users/username/www/ (when you wanted it going to domain_root/www/) and you'd have to type in www.domain.com/username/ to reach the front page. I checked www.domain.com/ about five times (like you did) and never found the site I uploaded.
When I finally specified /www as the upload directory, I could access the site through www.domain.com like normal.
[edited by: mivox]
No, it just happened to me on my own leased server on a domain I host for my daughter. As it turns out, the server guys had set her directories up as a ~user and put some sort of unix voodoo on them. I was seeing everything as usual, directory setups etc., but the path that the ftp used ended up being something like adm/home/something/username/www rather than /html/www/domainname.