Python Forum
transfering files between server locations using ftplib
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
transfering files between server locations using ftplib
#1
Hi
I have a logging application that uploads hourly files to an ftp server (remotely using an Arduino). I then use a python script (once per day) that downloads the hr files from the server, appends them to a day file and uploads this file to an archive directory on the same server. This works fine but seems overly complicated. Is there a better way, for example is it possible to transfer the hour files from one server location and append them to the day file in an archive directory on the same server without the intermediate step of down loading them to the local hard-disk and processing them etc. I am using ftplib under python3.

Any help/ideas is much appreciated.

Cheers.
Reply
#2
Anybody have any ideas on this?

Cheers.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Using locationtagger to extract locations found in a specific country/region lord_of_cinder 1 1,267 Oct-04-2022, 12:46 AM
Last Post: Larz60+
  How to find employees clocked in at two different locations ToussaintOps 0 796 Aug-19-2022, 05:51 PM
Last Post: ToussaintOps
  How to take the tar backup files form remote server to local server sivareddy 0 1,895 Jul-14-2021, 01:32 PM
Last Post: sivareddy
  Reading txt files in ssh server. therenaydin 6 4,131 Aug-06-2020, 05:17 AM
Last Post: ndc85430
  Python 3.7.4 (FTPLib Deprecated). Now What? bmccollum 1 2,588 May-16-2020, 03:17 PM
Last Post: Larz60+
  Installing Numpy multiple locations dwhe 4 3,134 Dec-21-2019, 02:02 AM
Last Post: dwhe
  FTPlib - moving a file kerzol81 2 9,301 Mar-13-2018, 10:51 AM
Last Post: kerzol81
  Copying files from one server to another server folder. naresh 1 2,644 Aug-23-2017, 11:35 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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