Differences between Linux and Windows Server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • xarzu
    Junior Member
    Junior Member
    • Apr 2007
    • 2

    Differences between Linux and Windows Server

    I have been studying a web site that uses ASP.NET and so it resides on a Windows Server but it also uses some JScript so it is worth studying. Anyway, I am moving it to a Linux server and I have noticed some differences in the way it handles files. First of all, the Windows Server is not case sensitive. But I also noticed something else. It seems that the Windows Server can have file names with spaces in them like this: "Creative%20Design%20vert_S" where the "%20" is a space. But, when I try to upload this directory to the Linux server using FileZilla it does not seem to work. And then when I try to create the directory, I get an error "Forbidden command argument". So is using %20 in a direcory name illegal in Linux?
  • MilesAhead
    Eclectician
    • Nov 2006
    • 2665

    #2
    %20 is an HTML thing. The ASCII number for a space character is 32. 20 hexadecimal is 32 decimal. Try uploading using a space instead of the %20. Just surround the filename with double quotes. It's been awhile since I ran Linux. I would suggest you search on tutorials for apache server aimed at people coming from Windows. Usually those have links to Linux basics in general such as file systems, user permissions, file attributes handy shell scripts etc.. If you rent space on an apache server it's likely running "bash" shell by default.

    If you have to configure stuff on your apache account there may be a control panel to help you. Another handy thing to use are .htaccess files. Often to control what users can see in a directory you can just make an .htaccess file in that directory with specific commands or settings. There are plenty of .htaccess tutorials and examples on the web. Just search.
    Last edited by MilesAhead; 28 Feb 2012, 07:29 PM.

    Comment

    Working...