Differences between Linux and Windows Server

Xarzu

New member
Oct 15, 2011
5
0
1
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?
 
Differences are so many I don't know where to start.
Regarding your question, the answare is yes, linux can have file names with spaces.
A folder is also a file in linux so that means folder names can also contain spaces.

What seems to be the problem in your case is that you actualy don't use the server but and shell commands directly but you let your FTP client handle that in background.
What the client does I do not know.

It might also be a problem in encoding that is different in Windows server and linux. If you are transfering the files as they are, linux might not understand the encoding Windows has made on the files and vice versa.

Edit:
Tryed creating some files with spaces (using touch command) and it works fine :)
I'm sure it has to do with your ftp client.
 
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?
Good luck, rather you then me.
 
avatar1.jpg
Thank you!
 
I'm disappointed, I thought FileZilla was better behaved. To work with spaces in filenames in Linux, you need to quote the filename.

eg. cp "file name with spaces" file-name-without

FileZilla should be doing this for you as other ftp clients do. Generally, Linux people avoid spaces in filenames because of the extra work involved.
 

Members online

Forum statistics

Threads
334,058
Messages
2,257,028
Members
428,731
Latest member
RamseyNaglee