Python Forum
Automating the code using os.walk
Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Automating the code using os.walk
#17
(Apr-04-2017, 06:48 PM)kiton Wrote:
(Apr-04-2017, 06:40 PM)zivoni Wrote: I would just try
Output:
wget https://archive.org/download/archiveteam-twitter-stream-2012-01/archiveteam-twitter-2012-01.tar
on your remote machine. wget is usually quite reliable.

Thank you for suggestion. I am downloading the file this way now and will test it. The speed, however, is relatively slow--1-2MB/s on a 10 Gigabit channel.

Your Python code isn't that fast either. There are better protocols than HTTP to transfer large files. FTP is already somewhat faster but it will not take advantage of all the bandwidth.

As a minimum compute the MD5 on both sides of the transfer and compare them.
Unless noted otherwise, code in my posts should be understood as "coding suggestions", and its use may require more neurones than the two necessary for Ctrl-C/Ctrl-V.
Your one-stop place for all your GIMP needs: gimp-forum.net
Reply


Messages In This Thread
Automating the code using os.walk - by kiton - Mar-09-2017, 09:48 PM
RE: Automating the code using os.walk - by wavic - Mar-09-2017, 09:54 PM
RE: Automating the code using os.walk - by kiton - Mar-09-2017, 10:21 PM
RE: Automating the code using os.walk - by zivoni - Mar-09-2017, 10:51 PM
RE: Automating the code using os.walk - by wavic - Mar-09-2017, 11:02 PM
RE: Automating the code using os.walk - by kiton - Mar-09-2017, 11:46 PM
RE: Automating the code using os.walk - by kiton - Apr-03-2017, 12:10 AM
RE: Automating the code using os.walk - by Ofnuts - Apr-03-2017, 07:26 AM
RE: Automating the code using os.walk - by zivoni - Apr-03-2017, 08:12 AM
RE: Automating the code using os.walk - by kiton - Apr-03-2017, 04:34 PM
RE: Automating the code using os.walk - by zivoni - Apr-03-2017, 05:46 PM
RE: Automating the code using os.walk - by kiton - Apr-04-2017, 03:27 AM
RE: Automating the code using os.walk - by zivoni - Apr-04-2017, 07:54 AM
RE: Automating the code using os.walk - by kiton - Apr-04-2017, 06:28 PM
RE: Automating the code using os.walk - by zivoni - Apr-04-2017, 06:40 PM
RE: Automating the code using os.walk - by kiton - Apr-04-2017, 06:48 PM
RE: Automating the code using os.walk - by Ofnuts - Apr-04-2017, 07:32 PM
RE: Automating the code using os.walk - by zivoni - Apr-04-2017, 07:54 PM
RE: Automating the code using os.walk - by kiton - Apr-04-2017, 11:23 PM
RE: Automating the code using os.walk - by zivoni - Apr-04-2017, 11:44 PM
RE: Automating the code using os.walk - by kiton - Apr-13-2017, 06:15 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Automating to generate multiple arrays Robotguy 1 1,837 Nov-05-2020, 08:14 AM
Last Post: Gribouillis
  Automating PyTables Dataset Creation and Append Robotguy 1 1,841 Oct-18-2020, 08:35 PM
Last Post: jefsummers
  Automating to save generated data Robotguy 3 2,310 Aug-12-2020, 03:32 PM
Last Post: Robotguy

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020