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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
09-17-2009, 09:05 AM
|
#1
|
LQ Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594
|
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 10:05 PM.
|
|
|
09-17-2009, 09:22 AM
|
#2
|
LQ Veteran
Registered: Sep 2003
Posts: 10,532
|
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.
|
|
|
09-17-2009, 10:03 PM
|
#3
|
LQ Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594
Original Poster
|
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
|
|
|
09-17-2009, 11:04 PM
|
#4
|
LQ Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594
Original Poster
|
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
|
|
|
09-18-2009, 06:27 AM
|
#5
|
Member
Registered: Sep 2009
Distribution: Fedora
Posts: 835
Rep:
|
Quote:
Originally Posted by GrapefruiTgirl
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.
|
|
|
09-18-2009, 07:51 AM
|
#6
|
LQ Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594
Original Poster
|
Quote:
Originally Posted by lutusp
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 07:54 AM.
|
|
|
09-18-2009, 01:23 PM
|
#7
|
LQ Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594
Original Poster
|
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 08:56 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|