Hello guys.
I`m currently working in my spare time on a FTP backup software. - Like we did not have enough of FTP backup tools already ...
I`m trying to mimic the teach pendant backup types .. Ascii, AOA, TP programs, System files, etc. Do you know how I can translate those in to FTP commands?
I`m currently able to get files with a certain extension -ftp.mget("*.*")- -ftp.mget(".ls")-, and as far as I noticed some backups have mixed extensions.
If this is an impossible task what other "kinds" of backups I would be able to do except "ALL FILES" and "ASCII"?
[FTP BACKUP SOFTWARE] ftp requests
-
yootommy -
April 21, 2023 at 2:12 AM -
Thread is Unresolved
-
-
I'm not sure there is much value in doing anything but *.*
Why not just backup everything?
-
Well, it`s a hobby.
I`m trying to push the limit on what`s possible on this kind of app and maybe learn something new in the process . -
I would agree with HawkME, back it all up, and then filter out what you need
However, I have split up things in the following ways in some of my tools:
- AOA - mget *.*
- ASCII - Mget *.ls, Mget *.va, Mget *.dat, Mget *.dg, Mget *.xml
- Vision - Mget *.vd, , Mget *.vda, Mget *.zip
- Application - Mget *.Tp, Get Numreg.vr, Get Posreg.vr
- Sysvars - Mget *.sv
- Tp only - Mget *.tp
-
Add strreg.vr to your application list to get string registers too.