|
Several things that may help you become acquainted with the Unix operating system your Web host is using -- Unix and Linux are widely used for Web hosting with the Apache Web server, which is a free software.
In Unix versus Windows, FilenameS are case sensitive, and you should avoid using spaces and capital letters in your file names, just to cut down on potential confusion. Sky.jpg is not the same in Unix as sky.jpg. These are two different files, yet they will overwrite each other if you download them into Windows. Likewise an a href pointing to Sky.jpg will not see sky.jpg.
Instead of New Folder, use new_folder or new-folder, and that brings up another point in the *nix world: These are still called directories, where Windows calls them folders.
Unix has a different line ending in text files from what Windows uses. So you want to upload using ascii format, not binary, for any page script code.
You will want to use an .htaccess tutorial (Google search) to learn how you can exert control over your Apache server, so that it will not, for instance, show the world your directory index, which you reproduced in your post. And Microsoft Windows offers up complaints when you try to name a file with a name starting with a period. I use a free NotePad replacement called MetaPad, and there are a slew of others out there. MetaPad will let you save a file as ".htaccess" without having to take special measures as one must with NotePad.
Unix files that begin with a dot ht (.ht) are system files, all text format. You can save these files by their Unix name in Windows by downloading them with your ftp client in ascii mode, and by using 3rd-party software in Windows to edit and save them.
I run an Apache server on my Windows machine at a local address such as Localhost, and have it set up in every way to mimic my Linux host's Apache, so I can develop in Windows, display it, then upload it to my web host.
One last note also, if you are using Perl scripts, you will need to give permissions with the chmod command on your ftp client. Windows does not use chmod, but Unix and Linux do.
Larry
|