cheatsheets devlog search

2023-04-30

Uploading and Downloading in BASIC

---
Title: Uploading and Downloading in BASIC
Date: 2023-04-30
Sequence: 2 
Tags: ["regex","BASIC"]
---

I wrote some wrappers in BASIC for the ftp, sftp and scp commands. This way i can stabilize the interface for all 3 commands so that they all look identical even if they work in different ways. This should mean that I can pretty much swap any of the 3 functions for each other depending on what I need in that moment.

I also wrote command line routines to call these subroutines so now I can also use these commands in PROCs which is quite nice. If I can get a wrapper for tar as well, this will make a pretty good backup solution written entirely in a PROC!