Re: [lftp-devel] [lftp] Compressing data at destination machine

2014-12-02 Thread akshay gupta
I have tried using it. It does not update the files appearing in the mount
point if the files in zip changes. And it also does not retains
modification time of the file at the mount location this could affect the
mirror.

Do you have any other similar opensource software in mind that could also
support writes.


Thanks,
Akshay

On Fri, Nov 28, 2014 at 1:06 PM, Alexander V. Lukyanov l...@netis.ru wrote:

 On Fri, Nov 28, 2014 at 11:55:07AM +0530, akshay gupta wrote:
  I dont want lftp to extract data from archives, I want it to compress it
  into archive so that it occupies less space at the destination side. Is
  this feasible to do in lftp?

 Take a look at zipfs: https://github.com/hanwen/go-fuse

 Unfortunately it is read-only.

 So you can mount a zip file, run mirror over it with --script option, run
 the script with an empty target directory, then run zip to update the
 archive.

 --
Alexander.

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


Re: [lftp-devel] [lftp] Compressing data at destination machine

2014-12-02 Thread Alexander V. Lukyanov
On Tue, Dec 02, 2014 at 09:53:08PM +0530, akshay gupta wrote:
 I have tried using it. It does not update the files appearing in the mount
 point if the files in zip changes. And it also does not retains
 modification time of the file at the mount location this could affect the
 mirror.

You have to unmount it before changing the zip file.

 Do you have any other similar opensource software in mind that could also
 support writes.

You can try the other way: ftpfs.

-- 
   Alexander.


 On Fri, Nov 28, 2014 at 1:06 PM, Alexander V. Lukyanov l...@netis.ru wrote:
 
  On Fri, Nov 28, 2014 at 11:55:07AM +0530, akshay gupta wrote:
   I dont want lftp to extract data from archives, I want it to compress it
   into archive so that it occupies less space at the destination side. Is
   this feasible to do in lftp?
 
  Take a look at zipfs: https://github.com/hanwen/go-fuse
 
  Unfortunately it is read-only.
 
  So you can mount a zip file, run mirror over it with --script option, run
  the script with an empty target directory, then run zip to update the
  archive.
 
  --
 Alexander.
 

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

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


Re: [lftp-devel] Possible Bug in lftp mirror using mirror:sort-by option

2014-12-02 Thread akshay gupta
Are these feature present in LFTP implementation timeline? By when will
they be implemented?
___
lftp-devel mailing list
lftp-devel@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp-devel


Re: [lftp] Compressing data at destination machine

2014-12-02 Thread akshay gupta
I have tried using it. It does not update the files appearing in the mount
point if the files in zip changes. And it also does not retains
modification time of the file at the mount location this could affect the
mirror.

Do you have any other similar opensource software in mind that could also
support writes.


Thanks,
Akshay

On Fri, Nov 28, 2014 at 1:06 PM, Alexander V. Lukyanov l...@netis.ru wrote:

 On Fri, Nov 28, 2014 at 11:55:07AM +0530, akshay gupta wrote:
  I dont want lftp to extract data from archives, I want it to compress it
  into archive so that it occupies less space at the destination side. Is
  this feasible to do in lftp?

 Take a look at zipfs: https://github.com/hanwen/go-fuse

 Unfortunately it is read-only.

 So you can mount a zip file, run mirror over it with --script option, run
 the script with an empty target directory, then run zip to update the
 archive.

 --
Alexander.

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


Re: [lftp] lftp upload file from stdin not working with sftp

2014-12-02 Thread Jan Schmidle
I updated the lftp version now to 4.6.0. Same issue.

After some time the command stops and prints:
put: /dev/stdin: cannot seek on data source



On 28 Nov 2014, at 06:16, Jan Schmidle j...@jschmidle.org wrote:

 hello list
 
 I try to upload a file to my backup server via sftp. Because I pipe it 
 through gpg I use the 'put /dev/stdin -o filename' approach but this seems to 
 be broken with sftp or am I missing something?
 
 # echo test | /usr/bin/lftp sftp://user:p...@backupserver.de -c 'put 
 /dev/stdin -o lftp_test_stream.txt;'
 '/dev/stdin' at 0 (0%) [Sending data]
 
 the command stalls at that point and nothing else happens. Any idea?
 
 LFTP is Version 4.3.6


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


[lftp] WebDAV delete

2014-12-02 Thread Paul Rankin
When attempting to delete a file on a WebDAV connection to a server I
get:

Operation not supported: 400 Bad Request (DELETE)

The delete operation works if I use FTP instead.

Is this a limitation of the current WebDAV implementation, or something
going wrong with the server?

Thanks,

-- 
Paul W. Rankin
http://www.paulwrankin.com

Before printing this email please take a moment to think about the
environment. Just stop and think about it. Think about the last time you
were walking alone in a forest, how you felt at peace, how a wave of
clarity seemed to overcome you and you had to stop and reevaluate your
life, what you're doing with the limited time you have here. Damn, you
thought, life is so precious. I should really be doing __. Are you
doing that now? Why not? Go on, pick up your computer and throw it out
the window! It'll be great, like that scene from Network where everyone
starts yelling I'M MAD AS HELL AND I'M NOT GOING TO TAKE THIS ANY
MORE. That'll be you, but it will be real. Now's your moment.
___
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp


Re: [lftp] Compressing data at destination machine

2014-12-02 Thread Alexander V. Lukyanov
On Tue, Dec 02, 2014 at 09:53:08PM +0530, akshay gupta wrote:
 I have tried using it. It does not update the files appearing in the mount
 point if the files in zip changes. And it also does not retains
 modification time of the file at the mount location this could affect the
 mirror.

You have to unmount it before changing the zip file.

 Do you have any other similar opensource software in mind that could also
 support writes.

You can try the other way: ftpfs.

-- 
   Alexander.


 On Fri, Nov 28, 2014 at 1:06 PM, Alexander V. Lukyanov l...@netis.ru wrote:
 
  On Fri, Nov 28, 2014 at 11:55:07AM +0530, akshay gupta wrote:
   I dont want lftp to extract data from archives, I want it to compress it
   into archive so that it occupies less space at the destination side. Is
   this feasible to do in lftp?
 
  Take a look at zipfs: https://github.com/hanwen/go-fuse
 
  Unfortunately it is read-only.
 
  So you can mount a zip file, run mirror over it with --script option, run
  the script with an empty target directory, then run zip to update the
  archive.
 
  --
 Alexander.
 

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

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


Re: [lftp] Possible Bug in lftp mirror using mirror:sort-by option

2014-12-02 Thread akshay gupta
Are these feature present in LFTP implementation timeline? By when will
they be implemented?
___
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp


Re: [lftp] WebDAV delete

2014-12-02 Thread Lars Viklund
On Wed, Dec 03, 2014 at 04:30:53PM +1000, Paul Rankin wrote:
 When attempting to delete a file on a WebDAV connection to a server I
 get:
 
 Operation not supported: 400 Bad Request (DELETE)
 
 The delete operation works if I use FTP instead.
 
 Is this a limitation of the current WebDAV implementation, or something
 going wrong with the server?

What lftp version is this?
What kind of WebDAV backend are you using, and are you authorized to
perform this action?

On my site we use Jetty and Milton, and lftp 4.3.3 can DELETE fine.

lftp example.com:/ops/zao rm foo.s
 dns cache hit
 Connecting to example.com (10.0.0.1) port 443
 Sending request...
--- DELETE /ops/zao/foo.s HTTP/1.1
--- Host: example.com
--- User-Agent: lftp/4.3.3
--- Accept: */*
--- Depth: 0
--- Connection: keep-alive
---
***snip certificates***
--- HTTP/1.1 204 No Content
--- Server: milton.io-2.0.0
--- Date: Wed, 03 Dec 2014 07:43:17 GMT
--- Accept-Ranges: bytes
--- ETag: A73292177EA5491A981A6C6C6E7AA862_253383220
---
 Receiving body...
rm ok, `foo.s' removed
lftp example.com:/ops/zao

-- 
Lars Viklund | z...@acc.umu.se
___
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp