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 08-12-2009, 06:18 AM   #1
crusher88
LQ Newbie
 
Registered: Aug 2009
Posts: 2

Rep: Reputation: 0
lftp mirror problem


I'm using lftp mirror to copy my local files to a remote ftp-server.

The command is:
Code:
lftp -e "mirror --continue --verbose=3 --only-newer --reverse --log=/logfile.log /local/dir /remote/dir" ftp.ftpserver.com
Everytime I run this command, there are always four files that are not transferred.
The debug log shows this for the four files:

Code:
---> PASV
<--- 227 Entering Passive Mode (38,99,42,154,194,231)
---- Connecting data socket to (38.99.42.154) port 49895
---- Data connection established
---> ALLO 264642
<--- 200 OK
---> STOR RIMG0026.JPG
<--- 150 Opening BINARY mode data connection for file RIMG0026.JPG.
<--- 425 Can't open data connection.
---- Closing data socket
Someone please advice what to do?
All other files in the local directory are transferred correctly.

It is the same result with or without the --only-newer option.

Last edited by crusher88; 08-12-2009 at 06:21 AM.
 
Old 08-13-2009, 09:09 AM   #2
jeromeNP7
Member
 
Registered: Jun 2009
Posts: 101

Rep: Reputation: 19
Can it be that those image files are unusally large? Maybe there is some limit on the max. amount of a single file or some other quota setting not even related to the ftp server. Are those problem valid images for sure? Difficult to say what it is, the error feedback from the ftp server is not truly helpful.

Linux

Last edited by jeromeNP7; 09-04-2009 at 10:30 PM.
 
Old 08-14-2009, 02:03 AM   #3
crusher88
LQ Newbie
 
Registered: Aug 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Well, I've been testing a little more:

I made another copy of one of the files, and now it's just the new copy that doesn't work.

I also added another subdirectory containing some files, and now there's only one file in the subdirectory that doesn't come over.

Seems a little strange to me?

Oh... and everything works just fine when connecting to another ftp-server.

Last edited by crusher88; 08-14-2009 at 02:04 AM.
 
  


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
filezilla setting and lftp:mirror help samengr Linux - General 0 01-25-2008 06:51 AM
lftp problem mesh2005 Linux - Software 4 05-03-2007 08:06 AM
problem in lftp gopi_raghu Linux - Software 2 02-08-2007 06:31 AM
Question about lftp problem! CN_jianzi Linux - Software 1 10-11-2006 02:31 PM
lftp problem bipins1979 Linux - General 1 06-21-2006 11:20 AM


All times are GMT -5. The time now is 10:59 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