Piwigo.org

You are not logged in. (Register / Login)

Announcement

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

fl0x
Guest

[resolved] No '!' with FTP Sync?

Tags: [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
Location: Paris, France, Europe
Registered: 2002-04-05
Posts: 11723
Website

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


Latest blog post on Piwigo.com: Piwigo 2.5 on Piwigo.com (March 7th, 2013)

Offline

#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
Location: Paris, France, Europe
Registered: 2002-04-05
Posts: 11723
Website

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

what is the exact name of your directory?


Latest blog post on Piwigo.com: Piwigo 2.5 on Piwigo.com (March 7th, 2013)

Offline

#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

About this website · Donate · Contact Piwigo project © 2002-2013