Announcement

#1 2010-07-30 10:51:57

fl0x
Guest

[resolved] No '!' with FTP Sync?

Why cant i use a '!' character in a FTP folder? I have like 70~ folders (categories) that i have to upload. Do i have to manualy rename all categories in the admin page? Thats just nuts...

 

#2 2010-07-30 11:22:59

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13182

Re: [resolved] No '!' with FTP Sync?


Latest blog post (November 9th 2018) Why Flickr could not remain free for ever

Online

 

#3 2010-07-30 11:35:33

fl0x
Guest

Re: [resolved] No '!' with FTP Sync?

I've added '!' to the Regex match, but it didnt work (wierd).

Like so:

if (!preg_match('/^[a-zA-Z0-9-_.!]+$/', $bfilename))

 

#4 2010-07-30 11:41:38

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13182

Re: [resolved] No '!' with FTP Sync?

what is the exact name of your directory?


Latest blog post (November 9th 2018) Why Flickr could not remain free for ever

Online

 

#5 2010-07-30 11:42:50

fl0x
Guest

Re: [resolved] No '!' with FTP Sync?

Oops!

It works, i changed the wrong preg_match(). Like 234 is the right one ;)

Thanks!

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2019 · Contact