Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Read an Inaccessible File
Message
De
19/12/2008 07:11:14
Steven Dyke
Safran Seats USA
Texas, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
How to Read an Inaccessible File
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01368762
Message ID:
01368762
Vues:
58
In an earlier post I mentioned that I have a dual development role I have to develope and maintain a complex application in both Foxpro(first and about 7 years in the making-always adding new features) and Websphere. I use an AS400(iSeries) machine to store my data. Anyway I have a slight problem with file access. In one of the functions I build a cursor for a report. This process includes doing an Append General field to a RichText file. These files have been all along stored in a Network directory working fine. But now with the web based app I can not rely on anything I have tried as far as accessing the file short of storing the files on the iSeries box. But when I do this my FoxPro app has a hard and reliable time getting to the file as a share. This is due to security settings. I have created an FTP process(using a specific user ID) for writing the file. It works great for writing the file. But in the process I have a need to check that the file has been written and do a file open and close function on it this uses the local user id. For users that have security set correctly it all works good for others it fails. The same thing happens when the report I mentioned above is accessed. The file cannot be accessed by some using the share name.

My solution to both of these is to be able to use http to access the file but I don't know how using the fopen, fclose or Append General functions.

Is there some other way of doing all of this?
Répondre
Fil
Voir

Click here to load this message in the networking platform