Re: [lftp] Problem with lftp and

2013-12-24 Thread Alexander V. Lukyanov
On Tue, Dec 17, 2013 at 11:34:04PM +0400, Rodriguez Garcia, Jose Luis wrote:
> I have compiled lftp-4.4.14 and lftp-4.4.8 versions of lftp on Solaris.
> 
> The problems is that when I do a put *, the wildcard isn't recognized. It 
> says:
> 
> put *
> 
> put: /software/src/lftp-4.4.14/src/*: No such file or directory

You have to use mput (and mget) command for wildcard expansion.

-- 
   Alexander.
___
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp


[lftp] mirror hangs itself / gets stuck

2013-12-24 Thread Matthias Kauer
Hi,

I am trying to sync my wordpress installation from my host's FTP to my home
computer. I have ssh access, but the server is very limited in what commands
it offers; in particular, there's no rsync.

My version is:
matthias@volcano:~$ lftp --version
LFTP | Version 4.3.8 | Copyright (c) 1996-2012 Alexander V. Lukyanov
on a ubuntu 13.04 computer.

Therefore, I tried to go ahead with something like this:
lftp -u A,B -e'mirror --parallel=10 httpdocs/
website_backup/matthiaskauer.com' matthiaskauer.com
This command got stuck after a while, only retrieving directory information
after a while and then reaching max retries after a really long time.

I figured this may be caused by symlinks on the server that create a loop.
I tested only synchronizing a subdirectory (about 46M) with less
parallelization and -n and it worked.
lftp -u A,B -e'mirror -n --parallel=4 --no-symlinks httpdocs/dokuwiki/
test3;exit' matthiaskauer.com

I added debugging and tried the same for the entire server structure again:
lftp -d -u A,B -e'mirror -n --parallel=4 --no-symlinks httpdocs/ test3;exit'
matthiaskauer.com 2> lftplog.txt

The messages I get in the command prompt are:
 dokuwiki/lib/plugins/indexmenu/conf: Getting directory contents (0)
[Delaying before retry]
 tt-rss-bef1.7.10/schema/versions/pgsql: Getting directory contents (0)
[Delaying before retry]
owncloud/owncloud/apps/files_trashbin: Getting directory contents (0)
[Delaying before retry]
 dokuwiki/lib/plugins/indexmenu/conf: Getting directory contents (0)
[Connection idle]

The debug log is quite lengthy. At the end, the following seems to repeat
itself (pasted below)

Thanks for your help and best regards,
Matthias Kauer

---> PASV
---> PASV
<--- 227 Entering Passive Mode (212,224,89,152,153,160).
 Connecting data socket to (212.224.89.152) port 39328
<--- 227 Entering Passive Mode (212,224,89,152,180,98).
 Connecting data socket to (212.224.89.152) port 46178
 Data connection established
---> LIST
 Data connection established
---> LIST
<--- 150 Opening ASCII mode data connection for file list
<--- 150 Opening ASCII mode data connection for file list
Certificate: C=US,ST=Virginia,L=Herndon,O=Parallels,OU=Parallels
Panel,CN=Parallels Panel,EMAIL=i...@parallels.com
 Issued by: C=US,ST=Virginia,L=Herndon,O=Parallels,OU=Parallels
Panel,CN=Parallels Panel,EMAIL=i...@parallels.com
WARNING: Certificate verification: Not trusted
WARNING: Certificate verification: certificate common name doesn't match
requested host name ‘matthiaskauer.com’
Certificate: C=US,ST=Virginia,L=Herndon,O=Parallels,OU=Parallels
Panel,CN=Parallels Panel,EMAIL=i...@parallels.com
 Issued by: C=US,ST=Virginia,L=Herndon,O=Parallels,OU=Parallels
Panel,CN=Parallels Panel,EMAIL=i...@parallels.com
WARNING: Certificate verification: Not trusted
WARNING: Certificate verification: certificate common name doesn't match
requested host name ‘matthiaskauer.com’
<--- 425 Unable to build data connection: Operation not permitted
 Closing data socket
<--- 425 Unable to build data connection: Operation not permitted
 Closing data socket
---> PASV
---> PASV
<--- 227 Entering Passive Mode (212,224,89,152,160,245).
 Connecting data socket to (212.224.89.152) port 41205
<--- 227 Entering Passive Mode (212,224,89,152,188,96).
 Connecting data socket to (212.224.89.152) port 48224
 Data connection established
---> LIST
 Data connection established
---> LIST
<--- 150 Opening ASCII mode data connection for file list
<--- 150 Opening ASCII mode data connection for file list
Certificate: C=US,ST=Virginia,L=Herndon,O=Parallels,OU=Parallels
Panel,CN=Parallels Panel,EMAIL=i...@parallels.com
 Issued by: C=US,ST=Virginia,L=Herndon,O=Parallels,OU=Parallels
Panel,CN=Parallels Panel,EMAIL=i...@parallels.com
WARNING: Certificate verification: Not trusted
WARNING: Certificate verification: certificate common name doesn't match
requested host name ‘matthiaskauer.com’
Certificate: C=US,ST=Virginia,L=Herndon,O=Parallels,OU=Parallels
Panel,CN=Parallels Panel,EMAIL=i...@parallels.com
 Issued by: C=US,ST=Virginia,L=Herndon,O=Parallels,OU=Parallels
Panel,CN=Parallels Panel,EMAIL=i...@parallels.com
WARNING: Certificate verification: Not trusted
WARNING: Certificate verification: certificate common name doesn't match
requested host name ‘matthiaskauer.com’
<--- 425 Unable to build data connection: Operation not permitted
 Closing data socket
<--- 425 Unable to build data connection: Operation not permitted
 Closing data socket
---> PASV

---> PASV

___
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp


[lftp] Weird behavior using get command in lftp

2013-12-24 Thread Rey Guillen
Hi.

I'm getting a weired behavior when doing a get command in lftp.  one the
flat files I'm trying to extract from the sftp server  becomes empty (zero
byte file) when it gets to the destination folder.

I'm using lftp so I can automate the extract from the sftp server.

Do you know the reason for this behavior?

Please advise.


Thanks.
Rey
___
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp