|
(Hopefully, moved to Midrange-L from RPG400-L...) Aaron Bartell wrote:
9. RE: Easy way to move RPG code from one machine to another (albartell)I was thinking it would be cool to have a small utility that would allow you to enter an option on a source member in PDM, prompt on it, and then selectthe predefined FTP location (or a create a new one) of where the source should be sent to. The destination iSeries would need to have the samesmall utility loaded so it could easily go and retrieve the source from the remote FTP location. I realize that for one time source code transfers this is a lot of steps, but if you need to transfer code even twice it sure does beat trying to copy/paste into an SEU window.
Aaron:Some of this request was confusing because of the originally stated condition that the two client systems were not on the same LAN. That seemed to open the possibility that the two systems had no route between them. Also, your later comments bring in firewall port restrictions between clients -- and of course firewalls will be a problem no matter what protocol is used for communications.
But if an internet route exists and ftp can be done from one to the other, then...
You might want to do some reading in the RFC for ftp. There are capabilities that are rarely used or discussed. One feature that might be particularly useful to you is using your PC to start ftp-control sessions to the two client systems and telling them to open an ftp-data session between them. I.e., your PC is in control but the data route directly from one client system to the other.
To get you thinking, try reading: http://www.ietf.org/rfc/rfc0959.txt...starting down at [Page 8], the paragraph beginning "In another situation a user might wish to transfer files between two hosts, neither of which is a local host." The little text-diagram following that paragraph is pretty simple, though it can take some practice to get it working.
Maybe you can manipulate this ability by way of some simple PC scripting, etc.
Even if you can't get different client systems linked together, there seems to be the chance that your mowthelawn.com site can act as an intermediary... So, if you can ftp between two remote hosts, I suppose nothing stops you from doing it between three remote hosts or switching protocols in the middle...
Tom Liotta
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.