LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 09-17-2009, 10:05 AM   #1
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Question Curiousity: FTP via Kget = "Username+pw req'd for this site" but FTP via Wget doesn't


Anyone have a clue why this might have been?

I was trying to download MOPSLinux from their Russian FTP server, using Firefox-->FlashGot-->KDE-Kget and it kept sitting there for about a minute, then popping up a dialog box asking for a Username & Password to access the FTP site.

I tried the usual anonymous type of login information combinations, to no avail; the box kept reappearing.

Finally for the heck of it, I tried Firefox-->FlashGot-->Wget and presto! It began downloading right away, no questions asked.

This is on Slack64 with the stock KDE installation + the KDE3 compat libs.

FWIW, here's the transfer currently going on the Wget window:

Code:
--2009-09-16 23:31:09--  ftp://ftp.rpunet.ru/iso/6.2/MOPSLinux-6.2.2-dvd.i
           => `/home/sasha64/Downloads/MOPSLinux-6.2.2-dvd.iso'
Resolving ftp.rpunet.ru... 89.222.147.20
Connecting to ftp.rpunet.ru|89.222.147.20|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /iso/6.2 ... done.
==> SIZE MOPSLinux-6.2.2-dvd.iso ... 4372584448
==> PASV ... done.    ==> RETR MOPSLinux-6.2.2-dvd.iso ... done.
Length: 4372584448 (4.1G)

49% [===================>              ] blah blah..

Last edited by GrapefruiTgirl; 09-17-2009 at 11:05 PM.
 
Old 09-17-2009, 10:22 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
Hi,

Although I'm not familiar with kget, the first thing that comes to mind is active vs passive mode ftp.

I know wget defaults to passive if no options are given to change it/changed in wgetrc.

Maybe kget defaults to active?

You did not mention checking this.....

Hope this helps.
 
Old 09-17-2009, 11:03 PM   #3
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Original Poster
Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Hi Druuna,

Yeah, I had thought about passive vs active, but basically discarded the idea since I've been using Kget for about 3 years now without ever having encountered this scenario. I'm sure that within that time, I've done both active & passive xfers with it. But, this is the "new" Kget, which all-in-all is much improved over the version from KDE 3.5.4 that I am familiar with, so maybe there's something different in it.

Also, before I posted this thread, and again after your reply, I did look in Kget for a setting to configure passive and/or active FTP, but there seems to be no such setting; in fact, there's not much in the settings area at all that deals with the network itself..

Thanks
Sasha
 
Old 09-18-2009, 12:04 AM   #4
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Original Poster
Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Another interesting discovery I just made:

Let's say I have a direct download link, such as for the Vector Linux ISO file.

A) I click it with the browser, and instantly it asks where to save it, and starts downloading..
B) But, using Flashgot-->KGet causes the username & password dialog to appear, and I can't get past it.
C) However: If I left-click+DRAG the download link onto KGet's window, it starts downloading instantly, no dialog box.

More ing
 
Old 09-18-2009, 07:27 AM   #5
lutusp
Member
 
Registered: Sep 2009
Distribution: Fedora
Posts: 835

Rep: Reputation: 101Reputation: 101
Quote:
Originally Posted by GrapefruiTgirl View Post
Another interesting discovery I just made:

Let's say I have a direct download link, such as for the Vector Linux ISO file.

A) I click it with the browser, and instantly it asks where to save it, and starts downloading..
B) But, using Flashgot-->KGet causes the username & password dialog to appear, and I can't get past it.
C) However: If I left-click+DRAG the download link onto KGet's window, it starts downloading instantly, no dialog box.

More ing
The reason is that all these FTP programs understand the protocol, which means they know to enter "guest" as both user and password.
 
Old 09-18-2009, 08:51 AM   #6
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Original Poster
Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by lutusp View Post
The reason is that all these FTP programs understand the protocol, which means they know to enter "guest" as both user and password.
Hi Paul,

Forgive me, but much of the time, the username/password is "anonymous"; however I admit, it didn't occur to me to try "guest" and see if it works. I'll try that next time too

Regardless of what it *usually* is, you can see in my paste of the Wget transfer above, the username is "anonymous".

BUT: your post doesn't make sense in the context of my original question, which basically is, "If this always worked fine before and I was never presented with a login dialog, then why suddenly NOW, am I getting these login dialog boxes from KGet?"

Surely KGet understands the FTP protocol as well as it ever has, no? Or, am I slightly missing your point, and what you're implying is that "FlashGot maybe has (or is inducing) a glitch?" EDIT: No, that can't be right either, because FlashGot+Wget worked, while FlashGot+KGet did not.

Thanks
Sasha

Last edited by GrapefruiTgirl; 09-18-2009 at 08:54 AM.
 
Old 09-18-2009, 02:23 PM   #7
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Original Poster
Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
With each successive item I download, it's looking more like an issue with KGet (though I'll update this thread if I eventually learn otherwise.)

I've decided to switch my FlashGot to use Wget by default, as it works flawlessly every time, plus there's the added benefit of one less KDE application in use. Wget's so simple & light, I don't know why I never tried it before now-- maybe because with KGet, I could stop a download, reboot later, and resume, which I'm not sure I can do with Wget. That doesn't matter nearly as much as it used to, because I was on Dial-up before now, and downloads typically took days or weeks.

It's all good

Sasha
 
  


Reply

Tags
ftp, kget, wget


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
Why "bash-2.05b$" in Terminal instead of "username@localhost username" jayelitumbiolo Linux - General 9 10-04-2009 04:16 AM
Using "baseurl=ftp://ftp.mondorescue.org/sles/9" in SLES9 knockout_artist Linux - Newbie 5 07-07-2009 02:41 AM
FTP Master Site and "fan out" options bshearer *BSD 1 07-02-2005 09:47 PM
C -communicating with system("ftp"); using "program|ftp>>myfifo" probably hansschmucker Programming 1 03-23-2005 02:39 PM
I want to download ftp-site files via wget and socks5 proxy server. jiawj Red Hat 2 10-28-2004 04:32 PM


All times are GMT -5. The time now is 01:51 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration