|
You're probably not getting the proper authority on your drive mapping because your PC and AS/400 are probably not using the same userid/pwd to identify you. You didn't say what PC OS you are on. With Win2K, when I map a drive, I can tell it to use a different userid than what I am logged onto Win2K with. I then enter my OS/400 userid/pwd and NetServer domain, and I get the correct access priveleges. I think this also works under NT4. With 95/98, I don't think you can do this, but if you set up identical userids and passwords on the AS/400 and your PC, and make sure you are logged onto both using the same id, that should make it work. The final way I know of to make it work is to configure NetServer on your AS/400 to use a default userid, and grant that userid permissions to the directory you need. Beware, however, that all other users connecting will also be granted the same access based on the default user. Someone has already explained what you should do to get FTP to work, and I agree with that explanation, if you prefer to go that route. I have just started working with java myself and I find a mapped drive to be much less cumbersome than FTP, if you don't mind a little more setup. -Marty --__--__-- From: "Xu, Weining" <Weining.Xu@AIG.com> To: "'JAVA400-L@midrange.com'" <JAVA400-L@midrange.com> Subject: transfer Java source file into AS400 IFS Date: Thu, 11 Oct 2001 09:00:30 -0400 Reply-To: java400-l@midrange.com Hi, all, This is a general question about transfer Java code/class files from Window PC to AS400 IFS in order to run Java program on AS400. Currently, I am using Operation Navigator to drag and drop the files from PC to AS400. It is very easy and works. But some of our clients do not have Operation Navigator. I have tried some other ways, but none of them works: 1. I mapped AS400's IFS directory into my PC's driver, then copy/paste the file into the mapped driver. I got access denied error. The directory on AS400 was created by me. I have full control on it. I don't know why. 2. I tried FTP from PC to AS400. But I can only FTP to an AS400 library, not in a IFS directory. Of cource, I could then copy the files from the library into IFS using CPYTOSTMF. But that will take two steps and I have a lot of files to transfer. Is there any other ways to do this?
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.