file size decreased during transfer
get and mget return smaller file sizes - including 0 byte size
using default mode of binary
Files are .pgp (encrypted zip files)
Environment: Ubuntu 16.04
lftp: 4.6.3a
See test example below:
1) Do an ls to show file sizes on FTP server
2) get an encrypted zip file (note message: "file size decreased during transfer"
3) get a simple text file (contents are: helloWorld): no messages - appears to be a successful transfer
4) ls of Unix directory (note file size differences)
The same steps are done using filezilla without error or problems. Need lftp for command line scripting so filezilla is not an option.
lftp:/> ls
-rw-r--r-- 964372 2018-05-19 10:31:45 F1.pgp
-rw-r--r-- 11 2018-05-19 11:09:58 t1.txt
lftp:/> get F1.pgp
get: F1.pgp: file size decreased during transfer
lftp:/> get t1.txt
lftp:/> quit
ubuntu@Dev:~/test4$ ls -l
total 928
-rw-rw-r-- 1 ubuntu ubuntu 950272 May 19 11:55 F1.pgp
-rw-rw-r-- 1 ubuntu ubuntu 0 May 19 11:09 t1.txt
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu lftp Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask ralph for more information if necessary.