>"Richard" wrote:
> We had a request to copy a file from the 400 to a PC, we have been using
> CPYTOSTMF to copy the file to the IFS but the user wants us to
> take it a step further and copy the file to a directory on the PC server
> so everyone does not have to map a drive to access the file.
> Anyone have an easy way to do this? Preferably without using FTP

Richard -

If you have Netserver running and the PC server is in the same subnet and
domain as the AS/400, then you can copy files directly to shared folders on
the PC server using CPYTOSTMF.

You'll need to use the MD command on the AS/400 to create a link to the
shared folder on the PC server so that you can use CPYTOSTMF or CPYTOIMPF to
copy the file directly to the shared folder on the PC server.

IIRC, the copy command must be run by a user profile that exists on both
systems (AS/400 and PC server) with the same userid/password on _both_
systems for the authentication to work properly...

Steve Landess
Austin, Texas
(512) 423-0935

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.