Resumable data transfer using Windows-based ftp.exe

Source: Internet
Author: User

Animation: http://www.chinesehack.org/soft/book/goonftp-jc.rar

Full Screen viewing is recommended.

FTP breakpoint resume (advanced for hackers)

Hotmail has a question. If you do not use ftp tools such as wget CuteFTP

Does it take advantage of Windows's ftp.exe to implement resumable data transfer?

After discussing about 5 or 6 pages of posts, we all come to the conclusion that this is not acceptable.

I even asked babybat. She thinks UNIX is okay, but it cannot be done without programming in windows.

But I am still unwilling to give it away.

After analyzing CuteFTP commands, I used remote commands to simulate sending them to the FTP server.

The result is a failure...

The following three commands are used:

Quote

Rest

RETR

InProgramThe RETR operation fails.

Later, after zzzevazzz research, it was necessary to add the suffix TMP temporary file before it could be successful (I have also considered the problem of temporary files, so I don't know why)

In addition, you must use the GET command.

Then merge the files with copy/B.
Bytes ----------------------------------------------------------------------------------------------------------------------------

The following animation demonstrates resumable Upload by using only the FTP program provided by windows.

OK now begin down

We use the www.20cn.org file to download

Simulate interrupted download at a certain time

And then use resumable upload.

View downloaded file bytes

Remote reply download using the REST command

Remember to rename the downloaded file with the suffix TMP

Use get to download

Have you seen it? The transfer is complete.

Then merge the files with copy/B.

Let's test it

OK pass

Thanx: zzzevazzz Hotmail babycat

Made by CAT
Bytes ----------------------------------------------------------------------------------------------------------------------------

Note: tired .... In this tutorial, The Machine crashes once every hour... I did not pay attention to the operation... So when I was a child

WriteCompositionYou need to write a draft (there is a typo in the tutorial... Depressed ...)

Byebye

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.