LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 07-28-2004, 02:29 AM   #1
knappster
Member
 
Registered: Mar 2004
Posts: 175

Rep: Reputation: 30
lftp HELP


I've been having all sorts of problems with this ftp stuff. I finally found lftp, which happens to be about the only ftp program that doesn't senselessly disconnect after recursing into 2 subdirectories. Here's my problem:

When I mirror a directory that contains about 1.2 GB of files(and subdirectories), only the files in the root directory seem to copy correctly. There is definitely 1.2 GB missing from my hard drive, but I only see about 120 MB of it. When I open subdirectories, the files are sort of there. They are missing extensions and whenever I click on them they just vanish. What the hell is going on? If I delete the folder recursively, it will free up the 1.2 GB again. It's very strange.
Once I log into the ftp server, I type
Code:
mirror /D
or
Code:
mirror /D /home/brian/
Either way I get the same results. I would be happy if there was a way to recurse subdirectories using get or mget, but that doesn't seem possible. Could somebody please help me figure out what's going on with my lftp? Like I said, it's the only ftp client that even has some success, but I can't get it to work completely. Thanks.

-Knappster
 
Old 07-28-2004, 07:03 PM   #2
jhumeston
Member
 
Registered: Mar 2004
Posts: 50

Rep: Reputation: 15
I use the mirror command, however I dont specify any switches to recurse into directories. Perhaps you can turn on the verbosity -v to see where you are hanging. Are any of these file symbolic links? if so then you should set mirror to -L so it downloads the file not the link.

I use mirror -nev [remote dir] [local dir]


Hope that helps
 
Old 08-03-2004, 10:34 AM   #3
knappster
Member
 
Registered: Mar 2004
Posts: 175

Original Poster
Rep: Reputation: 30
I kept meaning to post a follow up to this. It was late at night when I figured it out, so I just crashed instead of explaining it.

What happened is that every directory it created on my hard drive had no permissions(000) so it was acting funky. Must be a default setting. So all I had to do was change the permissions on it so that I could read and execute, and it was like magic. (Actually I decided to cheat and mirror to a FAT32 drive).

Hopefully nobody else had this problem, and if so, hopefully they weren't as stupid as me, lol. It would be nice to just use gFTP, but it auto-disconnects after recursing into the second subdirectory. Dunno if my linux is broke or what, but at least lftp works.
 
  


Reply



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
lftp problem bipins1979 Linux - General 1 06-21-2006 10:20 AM
lftp Problem / Question LinuxGeek Linux - Software 5 11-02-2004 10:55 PM
LFTP , mget question sopiaz57 Linux - General 1 09-03-2004 12:09 PM
lftp Scripting kittani Linux - Software 1 06-19-2004 11:28 AM
about lftp oskernel Linux - Software 1 10-29-2003 02:14 PM

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

All times are GMT -5. The time now is 08:01 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
Open Source Consulting | Domain Registration