LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Curiousity: FTP via Kget = "Username+pw req'd for this site" but FTP via Wget doesn't (http://www.linuxquestions.org/questions/linux-software-2/curiousity-ftp-via-kget-%3D-username-pw-reqd-for-this-site-but-ftp-via-wget-doesnt-755912/)

GrapefruiTgirl 09-17-2009 09:05 AM

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..


druuna 09-17-2009 09:22 AM

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.

GrapefruiTgirl 09-17-2009 10:03 PM

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. :scratch: 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

GrapefruiTgirl 09-17-2009 11:04 PM

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 :scratch:ing

lutusp 09-18-2009 06:27 AM

Quote:

Originally Posted by GrapefruiTgirl (Post 3688011)
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 :scratch:ing

The reason is that all these FTP programs understand the protocol, which means they know to enter "guest" as both user and password.

GrapefruiTgirl 09-18-2009 07:51 AM

Quote:

Originally Posted by lutusp (Post 3688353)
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

GrapefruiTgirl 09-18-2009 01:23 PM

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


All times are GMT -5. The time now is 12:05 AM.