[Pmwiki-users] Re: spaces in uploaded files
Sun Apr 11 18:01:42 CDT 2004
thanks for your help, but your suggestion did not work. when using
[[Attachlist:]], files with spaces are listed with the spaces are
replaced with +'s. thus, when i click on it, it can't find that file.
any other ideas?
at what point is the file name being converted with the spaces replaced
On Apr 9, 2004, at 2:47 PM, Christian Ridderstr?m wrote:
> On Fri, 9 Apr 2004, Wayne Lee wrote:
>> i think i've been able to use uploaded files with
>> space by changing in upload.php:
>> SDV($UploadNamePattern,'[A-Za-z0-9][ -\w.]*[A-Za-z0-9]');
>> to include a space in the middle characters [ -\w.]
>> however, i'd like to add this in the UploadExtended
>> updates that Christian Ridderstr?m made:
> You could try the thing I wrote here:
> I haven't tested it though.
>> also, what's wrong with spaces in filenames anyhow?
> Historically speaking, when using a command line interface, spaces have
> been used to separate arguments. E.g. if you write:
> dir My Documents
> you're trying to do dir on 'My' and 'Documents', instead of 'My
> Christian Ridderstr?m
> Pmwiki-users mailing list
> Pmwiki-users at pmichaud.com
More information about the pmwiki-users