|
If you are going to use the target machine's FTP server (instead of http server, for example) you could the the FTP classes in the AS/400 Toolbox for Java. Toolbox Mod 3 includes FTP classes that do get, put, list, etc. The FTP client is one of the files in our open source project so if don't like our inplementation maybe you can pull what you need out of the source. The open source page is http://oss.software.ibm.com/developerworks/opensource/jt400/. There is also a set of FTP classes on IBM's alphaworks site (http://www.alphaworks.ibm.com/, then search the alphabeans section for FTP). David Wall AS/400 Toolbox for Java Marco_Van_Maris@ept.lu@midrange.com on 09/11/2000 04:51:13 AM Please respond to JAVA400-L@midrange.com Sent by: owner-java400-l@midrange.com To: JAVA400-L@midrange.com cc: Subject: How to put using FTP Dear all. I am trying to write a programm in Java which should transfer a file from the machine on which resides my Java pgm to a different platform using FTP PUT. The documentation which I am using only tells me how to GET stuff using URLs. Can anybody help me how to do the PUT ? Or am I simply missing something important ? Thanks in advance Marco van Maris EPT Luxembourg Electronic information is not secure, therefore the Entreprise des Postes et Télécommunications accepts no responsibility whatsoever for the contents of this message, which is intended for the addressee only. Its contents and any attached files are strictly confidential. If you have received this message in error, please telephone the following number 4765-1. +--- | This is the JAVA/400 Mailing List! | To submit a new message, send your mail to JAVA400-L@midrange.com. | To subscribe to this list send email to JAVA400-L-SUB@midrange.com. | To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com. | Questions should be directed to the list owner: joe@zappie.net +--- +--- | This is the JAVA/400 Mailing List! | To submit a new message, send your mail to JAVA400-L@midrange.com. | To subscribe to this list send email to JAVA400-L-SUB@midrange.com. | To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com. | Questions should be directed to the list owner: joe@zappie.net +---
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.