I’ve neglected my webpage since about 2005. Previously, I used a PC to edit HTML and I used CuteFTP to upload and download files. Now I’m on a Mac, running OS X Lion. I’ve downloaded Filezilla, and have connected to my server.
On the left side is ‘Local site’. I’ve found Macintosh HD, and I selected Pictures. I tried selecting a photo to upload to the site. I double-click, and it seems to do something. I also tried dragging the .jpg file to the file list on the right side of the Filezilla window. I typed in the webpage address and added the filename (including .jpg) to see if it came up. File not found.
How do I go about uploading a file using Filezilla?
In Filezilla, Remote site is ‘/www’. In the window below that, there is a file icon that is apparently names ‘/’. Below that (i.e., in ‘/’ file) are folders called ‘etc’, ‘ftp’, and ‘www’. I can see the files that are on my webpage when I click on the ‘www’ folder. When I click the arrow next to the ‘www’ folder, I see other folders where files reside on my webpage. I do not see the file I just uploaded in the list of files that is displayed when I click on the ‘www’ folder icon.
When I click on the ‘/’ folder (the one in which everything else lives), I see in the file list in the box below, a folder icon followed by ‘…’, a folder icon called ‘etc’, another called ‘www’, and finally, the file I uploaded. I’ve just tried dragging that file from there to the ‘www’ folder. The .jpg does not appear in that folder when I click on it.
I don’t know where to look in the ‘bottom pane’ I have two panes on the bottom: The left is the source directory (my computer), and the right is the website directory. The file does not appear in the website directory. When I transfer, I get a popup that asks if I want to replace the existing file, but I don’t see where it is. Here’s what the status box says:
Status: Starting upload of /Users/[Johnny L.A.]/Pictures/Cessna pics/N84823_Tail.jpg
Command: PASV
Response: 227 Entering Passive Mode (199,174,114,30,10,166).
Command: STOR N84823_Tail.jpg
Response: 150 Opening BINARY mode data connection for N84823_Tail.jpg
Response: 226 Transfer complete.
Status: File transfer successful, transferred 20,761 bytes in 1 second
Status: Retrieving directory listing…
Command: PASV
Response: 227 Entering Passive Mode (199,174,114,30,10,167).
Command: LIST
Response: 150 Opening ASCII mode data connection for file list
Response: 226 Transfer complete.
Status: Directory listing successful
Are you logging in anonymously? or did you specify a username and password when you connected?
Are you able to drag the file from the local side straight to the www folder?
Also, a directory lesson:
… refers to the folder that contains the current folder. If you picture an organizational chart (who’s in charge of who) this would be your current folders boss
. (single dot) refers to the current directory and may not be shown on some systems.
/ refers to ‘root’ directory level in an org. chart, this would be the CEO/President
You sure you have it in the right directory on your website? That is, are there other pictures in that directory that work? For example, on one of my webservers if I want to get to “mysite.com/mypicture.jpg” I have to put “mypicture.jpg” in the “/public” directory, not the root.
That’s the thing… I can use my web address to look at a photo I have in my webspace.
Adapting Musicat’s suggestion, I right-clicked on the www folder and tried to create a new directory. The dialogue box says:
/www/New directory
I would expect my address to be there. OTOH, my address doesn’t appear anywhere, and the pre-existing stuff from 2005 and before are there in the www folder.
Once upon a time I was selling 6-foot inflatable Hunt For Red October submarines. (I still have a box of them somewhere.) I’d made a webpage that I linked to from eBay or something, and the files are in a ‘red october’ folder. Somehow, a different photo that I attempted to upload earlier wound up in that folder. I can also see the test picture I have been trying to upload, by leaving off the subfolder name (i.e., under www and not www/hunt_for_red_october) and typing the .jpg filename. So I’m looking, and…
I now see the files in the www folder. I must have missed them because they are not in alphabetical order. Everything else is, but these two test files are not.
I’m leaning to the problem being one of “the right directory” and permissions thereof. It seems like you are communicating with the web site OK.
Web hosting services have differences and quirks, and they are often using Linux, which imparts a flavor that might be confusing. At this point, I would contact the host’s tech support. If it’s a company like GoDaddy, their tech support is extremely good. You’re halfway there, so it shouldn’t be a problem. Can you do that?
Why are you uploading to the www folder ? (Not being rude. ) That is just a shortcut to the public_html folder. The latter being for root files, whilst images etc. should really be stored in separate dedicated folders.
Since it said successfully transferred, it must be up there in some folder. Also, occasionally with FTP I’ve not seen the file until I forcibly refreshed the pane.
However, now I use FireFTP in Firefox for all my FTPing needs. Far better.
Or the file view may not have refreshed. I think filezilla’s pretty good about refreshing the view of the current folder after any transfers, but I’ve seen it fail to update many a time.
Also, have you checked the file and folder permissions? Linux and Mac OSX use a rather different permissions scheme than the windows world. I know there’s permissions option in the right-click menu on the PC version. Not sure how you access that on a Mac.
Finally, here’s a screencap of filezilla, showing the different parts of the interface and what they’re for. I suspect you’ve figured most of this out already.
I use Filezilla all the time between PCs and Linux/Unix and Windows-based servers.
Your hosting company should have basic FTP instructions for most FTP clients, including Filezilla. They should also have provided to you the basic structure of how web and non-web files are stored (and made available) under your FTP account access. Have you asked them?
FWIW, never, never, never ever use drag and drop. Always copy/paste. I cannot tell you the number of times I have coworkers come up to me for assistance as they transferred files between hard drives (same computer) and well as with a remote computer that drag and drop all too often results in permanent data (file) loss. It’s almost always user error, but the network transfers have that added “feature” of somewhere across the network something just fails.