|
> I have successfully used the Sorcerer's Guide to write files to the IFS. Now > I want to write to QNTC. I have full admin rights to the server I'm aiming > at. I can create the file, but when I try to open it a second time to write > to it, it bombs. Can you be more specific? What do you mean by "bombs?" Is it just that open() is returning -1? Or is something more serious happening? If open() is returning -1, then you need to check errno to see what the error message is. Have you done that? What was the error? > I'm wondering if the codepage parm on the create is the problem. I'm > using codepage 437 (for IFS)and I think I need to change it, but am not > sure to what. I was going to search the archives, but they appear to be > down. It seems unlikely that the codepage would be a problem. Certainly, 437 (which is US-ASCII for MS-DOS) is a valid code page. However, if you really think that's the problem, you might try a few different ones -- since it's very easy to do so -- A few that you might try are 819 (ISO-8859-1, used for the Latin 1 character set in most Unix machines) or 1252 (Windows ASCII used in USA/Canada/most of Western Europe) But, I doubt very much that the code page is the problem. You need more information, and to get that, you'll probably want to check errno. I wrote a tutorial on IFS access, if you're interested, you can find it here: http://www.scottklement.com/rpg/ifs.html
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.