It is currently Wed Apr 24, 2024 4:47 am

All times are UTC - 7 hours [ DST ]

Recent News:



Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sun Feb 26, 2012 2:29 am 
Offline
Newbie
Newbie

Joined: Sun Feb 26, 2012 2:26 am
Posts: 1
Thanks: 0
Thanked: 0 time in 0 post
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?


Top
 Profile  
Thanks  

Attention Guest: Remove this ad by Registering with the MediaSmartServer.net Forums. It's Free!
PostPosted: Sun Feb 26, 2012 10:54 am 
Offline
Founder
Founder
User avatar

Joined: Tue Jul 31, 2007 11:54 am
Posts: 10735
Location: Fort Collins, Colorado
Thanks: 630
Thanked: 931 times in 885 posts
%20 is the html encoding format of the space and is used for URL's, I don't think the filesystem will honor the %20 but you can use normal spaces in the filenames.

_________________
Alex Kuretz
Remote Notification: Monitoring and alerting for your Home Server via email, Twitter, text message, RSS, push notifications, and on your Mac desktop
Have you tried our Add-Ins?


Top
 Profile  
Thanks  
PostPosted: Sun Feb 26, 2012 9:12 pm 
Offline
Top Contributor
Top Contributor

Joined: Sat Feb 09, 2008 7:50 pm
Posts: 765
Thanks: 18
Thanked: 119 times in 44 posts
In Linux you can use quotes (ie: "My Documents") or the escape character '\' (ie: My\ Documents) when working with directories that have spaces in them.


Top
 Profile  
Thanks  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 7 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group