| 
 | 
[SNIP]
> PUT MYFILE.xml  /HOME/DTAFL/MYFILE.xml
[SNIP]
> NOT AUTHORIZED TO ACCESS FILE MYFILE in library QGPL.
> What's going wrong?
You are telling your FTP client to send the member called "xml" of the
file called "MYFILE" from your AS/400 to another server.  You are telling
the other server to store the new file in the place called
/HOME/DTAFL/MYFILE.xml
The error is that you don't have authority to the file called MYFILE,
and therefore you cannot send it.
If, like you say, you are really trying to *get* a file from the SQL
server, then you probably wanted to use the GET command instead of PUT.
i.e.   FTP RMTSYS(SQLSERVER.EXAMPLE.COM)
       <user>
       <password>
       NAMEFMT 1
       cd /my/favorite/dir
       binary
       get MYFILE.XML /path/in/ifs/MYFILE.XML
       quit
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.