l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
April 21: Google Glass
Next Installfest:
TBD
Latest News:
Mar. 18: Google Glass at LUGOD's April meeting
Page last updated:
2003 Sep 16 14:30

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Odd ncftp bug
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Odd ncftp bug



On Tue, Sep 16, 2003 at 11:21:43AM -0700, Bill Kendrick wrote:
> 
> I'm noticing an apparent bug in NcFTP (3.1.3; Mar 27, 2002)
> 
> This works:
> 
>   $ ftp ftp.server.com
>   Name: USERNAME
>   331 User USERNAME okay, need password.
>   Password: PASSWORD
>   230 Logged in
> 
> And this works:
> 
>   $ ncftp ftp://USERNAME:@ftp.server.com
>   Logging in...
>   Password requested by ftp.server.com for user "USERNAME".
> 
>     User USERNASME okay, need password.
> 
>   Password: PASSWORD
> 
>   Logged in.
> 
> 
> However, in SOME cases, the following does NOT work:
> 
>   $ ncftp ftp://USERNAME:PASSWORD@ftp.server.com
>   Logging in...
>   Could not open host ftp.server.com: username and/or password was not accepted
> 
> 
> Whatintheheck!?  This works for most of the other accounts I've tried
> (I'm writing a script to pull stuff off of various FTP accounts, en masse;
> specifically, my variation is:  "ncftpget -R ftp://USER:PASS@host";)
> 
> 
> The shell is GNU bash 2.05b.0(1)
> The FTP server is NcFTPd (can't tell which version).
> 
> 
> Many of the passwords in question include "?", "!", "=" and/or "+"
> characters.  However, this doesn't seem to be an issue, since I don't
> see any pattern where these characters DON'T work, versus when they DO.
> 
> I'm quoting them in the shell, too:
> 
>   ncftpget -R ftp://USER:"PASSWORD"@ftp.server.com
> 
> 
> *boggle*
> 
> 
> Besides changing the passwords to something that ncftpget CAN send
> properly, is there anything else I can look into!?
> 
> Thx!

Maybe turn off shell globbing? 


Its probably not it, but is a way to be sure...
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.