in reply to Re^2: Is there a workaround for @ symbol in FTP username?
in thread Is there a workaround for @ symbol in FTP username?

A peek at the Net::FTP sourcecode shows that $user is almost everywhere getting @host.com appended before being used. Which begs the question, why do you create a new ftp object to host.com, then try to connect to domain.com through the username?

I don't know if credentials such as user@domain.com@host.com are allowed, but it looks fishy and overcomplicated. I can't immediately see where the error message is coming from, but maybe a troll with the debugger will set you straight?

Have you tried setting the hostname only in new?

-QM
--
Quantum Mechanics: The dreams stuff is made of

Replies are listed 'Best First'.
Re^4: Is there a workaround for @ symbol in FTP username?
by blackmage37 (Initiate) on Feb 20, 2013 at 11:24 UTC
    I wondered the same thing originally, but thought it was maybe my naivety. I'll speak to admin about it now though, since it looks like the problem isn't on my end (as per my reply to tmharish).

    Thanks for the assist!