[Solved]Potential ftp client problem

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[Solved]Potential ftp client problem

Postby mackowiakp » Jul 24th, '17, 16:19

I use to create images of Mageia filesys, such script )part of):

Code: Select all
for i in 8 5 7
do
dd if=/dev/sda$i | gzip -c > /home/maciek/back/RSYNC/piotr_sda$i.img.gz && md5sum /home/maciek/back/RSYNC/piotr_sda$i.img.gz | awk '{ print $1 }' > /home/maciek/back/RSYNC/piotr_sda$i.img.gz.md5 && ncftpput -u user -p passwordmedia /home/Piotr_ISO /home/maciek/back/RSYNC/piotr*
rm -f /home/maciek/back/RSYNC/piotr_sd*
done


After creating ISO file and MD5, files are FTP`ed to QNAP NAS.
It works properly on my wife M5 based desktop and formerly on my M5 based PC. After update of my PC to M6, large ISO files transmission is interrupted in random moments:

Code: Select all
...back/RSYNC/piotr_sda7.img.gz:   ETA:   1:00    5.13/  9.42 GB   72.91 MB/s  Remote write failed after 5529239552 bytes had been sent: Connection reset by peer.
Remote host has closed the connection.
/home/maciek/back/RSYNC/piotr_sda7.img.gz:               9.42 GB   72.52 MB/s 
ncftpput /home/maciek/back/RSYNC/piotr_sda7.img.gz: socket write error.
ncftpput /home/maciek/back/RSYNC/piotr_sda7.img.gz.md5: remote host closed control connection.


I use similar tools to create ISO image of Windows partition (under Windows itself) >
So. Such tool works properly in Win, M5 base my wife PC, not updated to M6 yet, but crasches in M6.

What the problem is?
Last edited by mackowiakp on Jul 25th, '17, 13:23, edited 1 time in total.
Linux is like wigwam. No Windows, no Gates but Apache inside

WARNING ! The administrator has the right to refuse to install WINDOWS, invoking the conscience clause
mackowiakp
 
Posts: 660
Joined: May 23rd, '13, 07:32
Location: Gdynia, Poland

Re: Potential ftp client problem

Postby doktor5000 » Jul 25th, '17, 08:59

That may be because ncftp recently saw a new release and the version is different then the one from mga5 - http://www.ncftp.com/ncftp/doc/changelog.html

Tried another ftp client already?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18056
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Potential ftp client problem

Postby mackowiakp » Jul 25th, '17, 09:20

No, I dont try another FTP client. So what rpm package (client) You suggest?
Linux is like wigwam. No Windows, no Gates but Apache inside

WARNING ! The administrator has the right to refuse to install WINDOWS, invoking the conscience clause
mackowiakp
 
Posts: 660
Joined: May 23rd, '13, 07:32
Location: Gdynia, Poland

Re: Potential ftp client problem

Postby wintpe » Jul 25th, '17, 12:26

lftp

SYNTAX
lftp [-d] [-e cmd] [-p port] [-u user[,pass]] [site]
lftp -f script_file
lftp -c commands
lftp --version
lftp --help

lftp-4.7.3-1.mga6.x86_64 or newer if available.

regards peter
Redhat 6 Certified Engineer (RHCE)
Sometimes my posts will sound short, or snappy, however its realy not my intention to offend, so accept my apologies in advance.
wintpe
 
Posts: 1204
Joined: May 22nd, '11, 17:08
Location: Rayleigh,, Essex , UK

Re: Potential ftp client problem

Postby mackowiakp » Jul 25th, '17, 13:23

Ok . THX
Linux is like wigwam. No Windows, no Gates but Apache inside

WARNING ! The administrator has the right to refuse to install WINDOWS, invoking the conscience clause
mackowiakp
 
Posts: 660
Joined: May 23rd, '13, 07:32
Location: Gdynia, Poland


Return to Basic support

Who is online

Users browsing this forum: Google [Bot] and 1 guest