LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-01-2006, 09:37 PM   #1
username132
Member
 
Registered: Jul 2005
Posts: 73

Rep: Reputation: 15
Entering Password with a Space via CLI


I'm trying to use a CLI FTP client but my password contains a space. The client thinks the second word is the server name (open -u username -p pass word ftp.someserver) <<< ncftp thinks I want to connect to server "word". Is there any way around this? I thought to try %20 but that doesn't work...
 
Old 04-01-2006, 09:43 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally Posted by username132
I'm trying to use a CLI FTP client but my password contains a space. The client thinks the second word is the server name (open -u username -p pass word ftp.someserver) <<< ncftp thinks I want to connect to server "word". Is there any way around this? I thought to try %20 but that doesn't work...
Try quotes around it or don't place it in your command, but rather let the FTP server prompt you for the password.
 
Old 04-01-2006, 09:57 PM   #3
username132
Member
 
Registered: Jul 2005
Posts: 73

Original Poster
Rep: Reputation: 15
Perfect! I didn't think it would prompt (rather just reject me) but it did. Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bash scripting: entering a password sibtay Programming 1 12-27-2005 11:12 PM
Running a script as root with sudo without entering the user password kloss Linux - General 8 10-10-2005 11:39 AM
Sunbird - entering username and password hamish Linux - Software 1 06-15-2005 10:14 AM
xscreensaver hangs on entering a wrong password on fedora 2 kcn_viper Linux - General 0 12-25-2004 05:33 PM
I install slackware 9 now how do i login after entering password? lava Slackware 5 03-26-2003 12:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration