Page 1 of 1

server wont let load \lib\Swift\Authenticator\@PopB4Smtp.php

Posted: Mon Nov 05, 2007 2:46 pm
by fleaBag
Hi, first of all thank you Mr. Corbyn for putting Swift out on open source.

My question might be very simple and I might be drowning in a glass of water, I have searched the forum for some answer and haven't found any yet.

It appears my server won't let me load \lib\Swift\Authenticator\@PopB4Smtp.php (simply because it starts with an @ sign).

I keep getting this message when I load it:

553-The name you specified is not allowed.
553-Names must contain only ASCII letters (a-z,A-Z), digits (0-9), underscore, dot and dash.
553-Names must not start with a dot (.) or dash (-).
553-For additional info please visit:
553-See http://help.yahoo.com/help/us/webhosting/gftp/

Now my server as you can see is with yahoo, I chose them thinking nothing could go wrong, am I doing something wrong?

Posted: Mon Nov 05, 2007 3:15 pm
by feyd
Worst case, you can rename the file and change any code that points directly to it as well. I don't think much of the code would directly reference the file by name however.

Posted: Mon Nov 05, 2007 4:03 pm
by fleaBag
Thanks feyd.

I had thought of that, and now I will take a look at the code, just needed some confirmation on it.

I guess I'll just use a find and replace action on each file.

Cheers.

Posted: Mon Nov 05, 2007 5:16 pm
by Zoxive
I'm not 100% positive, but i think this happened to someone else before.

And Chris ended up renaming it in the newer versions.

What version do you have?

Posted: Mon Nov 05, 2007 5:45 pm
by Chris Corbyn
Those errors are SMTP responses. I doubt that has anything to do with a file name. Can you post the code please? :)

~feyd is right too, you're safe to rename that file... nothing else references it.

Posted: Mon Nov 05, 2007 6:29 pm
by fleaBag
Those errors are SMTP responses. I doubt that has anything to do with a file name. Can you post the code please? Smile
Hi Chis I haven't got any code, I'm barely trying to load the "lib" directory on to my server as the tut says. but my server won't let me load "\lib\Swift\Authenticator\@PopB4Smtp.php" (simply because it starts with an @ sign), dumping the following info:

Code: Select all

553-The name you specified is not allowed.
553-Names must contain only ASCII letters (a-z,A-Z), digits (0-9), underscore, dot and dash.
553-Names must not start with a dot (.) or dash (-).
And Zoxive thanks for the reply, I believe I downloaded the latest version since I just got it last night "Swift-3.3.2-php5".

Thanks again to all of you, this is great to have "Real human beings" behind Swift Mail and congrats on such a great forum.

Posted: Tue Nov 06, 2007 7:55 pm
by Chris Corbyn
fleaBag wrote:
Those errors are SMTP responses. I doubt that has anything to do with a file name. Can you post the code please? Smile
Hi Chis I haven't got any code, I'm barely trying to load the "lib" directory on to my server as the tut says. but my server won't let me load "\lib\Swift\Authenticator\@PopB4Smtp.php" (simply because it starts with an @ sign), dumping the following info:

Code: Select all

553-The name you specified is not allowed.
553-Names must contain only ASCII letters (a-z,A-Z), digits (0-9), underscore, dot and dash.
553-Names must not start with a dot (.) or dash (-).
And Zoxive thanks for the reply, I believe I downloaded the latest version since I just got it last night "Swift-3.3.2-php5".

Thanks again to all of you, this is great to have "Real human beings" behind Swift Mail and congrats on such a great forum.
The odd thing is, 553 is a SMTP error code for "I'm not letting you send a message because XXXX" -- typically 'relaying denied', but it could be 'User not permitted' for example.

The next odd thing is that multi-line SMTP responses take the syntax:

553-Line one
553-Line two
553-... etc etc

can you post the *full* error message please, not just this bit. Even a PHP error message will have something at the start of it like 'Notice: undefined xyz on line 123 in file foo.php'.

Cheers :)

Posted: Wed Nov 07, 2007 1:00 am
by fleaBag
Sure thanks, here goes the entire log

Code: Select all

Starting request
553-The name you specified is not allowed.
553-Names must contain only ASCII letters (a-z,A-Z), digits (0-9), underscore, dot and dash.
553-Names must not start with a dot (.) or dash (-).
553-For additional info please visit:
553-See http://help.yahoo.com/help/us/webhosting/gftp/
553 
553-The name you specified is not allowed.
553-Names must contain only ASCII letters (a-z,A-Z), digits (0-9), underscore, dot and dash.
553-Names must not start with a dot (.) or dash (-).
553-For additional info please visit:
553-See http://help.yahoo.com/help/us/webhosting/gftp/
553 
Transfer request completed with status: Failed, 1 SubItem(s) failed
PASV
227 Entering Passive Mode (68,142,212,99,143,126)
connecting data channel to 68.142.212.99:36734
data channel connected to 68.142.212.99:36734
LIST
150  Opening ASCII mode data connection for /upiorz/swift/lib/Swift/Authenticator .
transferred 346 bytes in < 0.001 seconds, 2703.125 Kbps ( 337.891 KBps).
:)

Posted: Wed Nov 07, 2007 3:53 am
by Chris Corbyn
Ah ha! Got you. I completely misunderstood, I thought you meant when you try to include() the file.

No problem, just rename the file like I said ;)

Posted: Wed Nov 07, 2007 11:02 am
by fleaBag
Ha ha, I had a feeling there was a bit of misunderstanding there, I did as you said and looked through all the files (there is none referencing that specific file) and now I'm loading my database, but another question arose (perhaps this belongs to a different thread) is there an easy way to load from or connect swift to an excel spreadsheet containing all my recipients?

Thanks a million for all the help... :D