Resume a broken transfer possible?

Need help with FileZilla Client? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
jwka
550 Permission denied
Posts: 27
Joined: 2008-11-28 20:13

Resume a broken transfer possible?

#1 Post by jwka » 2008-11-28 20:20

Hi,

I live in southern Spain, and unfortunately, there are power outages sometimes.

I used FZ to ftp a 590MB file (which takes somewhat 2:40 hours in my region havon only poor internet support).

The transfer was broken by power outage 38 seconds (!!!! MURPHY !!!!!) befor complete.

Is there any way to start another FTP session/download to just get the few bytes left?

The thing here is: Starting a new download could easily end with the same trouble since outages here are "quite usual".

Thanks so much for any help!
jwka

User avatar
botg
Site Admin
Posts: 35566
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: Resume a broken transfer possible?

#2 Post by botg » 2008-11-28 21:12

there are power outages sometimes.
http://www.apc.com/

I've got some to protect my systems. Even though there have been only 6 power incidents this year (2 blackouts, 1 lighting strike hitting the building and frying my neighbors' PCs and 3 unspecified cases in which the UPS went into battery mode for 2 seconds), it is well worth the money.
Is there any way to start another FTP session/download to just get the few bytes left?
FileZilla has full resume capability. Note that the server also needs to support this, not all do (basically just Micro$oft servers not supporting it).

And back to square one, if power suddenly goes out, you might get filesystem corruption manifesting in lots of interesting effects. Disappearing of the file you were transferring before the outage is one possible outcome. That's where a UPS helps a lot.

User avatar
boco
Contributor
Posts: 26939
Joined: 2006-05-01 03:28
Location: Germany

Re: Resume a broken transfer possible?

#3 Post by boco » 2008-11-29 00:54

Yes, I have an UPS, too. Definitely well-spent money. :wink:
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

jwka
550 Permission denied
Posts: 27
Joined: 2008-11-28 20:13

Re: Resume a broken transfer possible?

#4 Post by jwka » 2008-11-29 08:56

Thanks for the replies.

I ran FZ on a Notebook (I utilize only Notebooks BECAUSE of the outages) that easily survived the outage. They mostly take 5 to 10 minutes max.

BUT: The outage here is "global" which means that also the next master ADSL-Node is down and therefor to maintain local power supply does not do the job.

I found the tick "how to treat existing files .." now. And got the file downloaded. It was corrupt anyhow, no glue why. Investigating if the original is broken as well (which is not that easy with poor connection and a 580 MB file ...)

Thanks
jwka

User avatar
boco
Contributor
Posts: 26939
Joined: 2006-05-01 03:28
Location: Germany

Re: Resume a broken transfer possible?

#5 Post by boco » 2008-11-29 16:17

Depending on the server, it may support the (unofficial) XMD5 comand. Well, Filezilla doesn't, but maybe you can send it through custom command to get the MD5 fingerprint. Then calculate the local MD5 and compare them.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

jwka
550 Permission denied
Posts: 27
Joined: 2008-11-28 20:13

MD5

#6 Post by jwka » 2008-11-29 17:03

That's basically what i am searching for.

But: Being an FTP newbee, how do I send the MD5 Request to the server? And where to get a MD5 hash program to calculate the MD5 from my file?

Thanks so much!
jwka

da chicken
226 Transfer OK
Posts: 619
Joined: 2005-11-02 06:41

Re: Resume a broken transfer possible?

#7 Post by da chicken » 2008-11-30 01:42

The easiest way would be to find an FTP server and client that support the XMD5, XCRC, or XSHA command. FileZilla Server and Client don't support the command because they're not RFC standard. If the server supports it, then it should list this command in response to the FEAT command sent at login (check the log).

The "proper" way to do it would be to obtain SSH access and then transfer an .md5 or .asc checksum file and login to the remote shell and check the files. SFTP supports checksumming this way, but again, you need to have a client that can send the command and a server that will respond to it.

User avatar
boco
Contributor
Posts: 26939
Joined: 2006-05-01 03:28
Location: Germany

Re: Resume a broken transfer possible?

#8 Post by boco » 2008-11-30 03:38

Provided the server supports it,

-Server - Enter custom command
-now enter: XMD5 <filename>
-Look up the reply in the log.

Example:

04:35:12 Command: XMD5 249.gif
04:35:12 Response: 250 AD015FCB7DD9B13818505DECCE09D48B
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

jwka
550 Permission denied
Posts: 27
Joined: 2008-11-28 20:13

Re: Resume a broken transfer possible?

#9 Post by jwka » 2008-11-30 11:31

Thanks so much.

Will try out.

That will probably take a few days because I am to travel for some days now. If I get trouble, I will be back here.

Thanks
jwka

Post Reply