|
From: Scott Klement <klemscot@xxxxxxxxxxxx> Reply-To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx> To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx> Subject: Re: FTP xml file to IFS Date: Tue, 22 Apr 2003 02:50:28 -0500 (CDT)
[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
_______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo.cgi/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
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.