[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
[sqr-users] Reg Reading FileNames from RemoteServer using PeopleCode
- Subject: [sqr-users] Reg Reading FileNames from RemoteServer using PeopleCode
- From: "Karunakaran Perumbrayoor" <karunp@hexaware.com>
- Date: Wed, 12 Jan 2005 15:13:47 +0530
- Delivery-date: Wed, 12 Jan 2005 04:41:52 -0500
- List-id: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." <sqr-users.sqrug.org>
- Thread-index: AcT4il+Cwf1DkJSlSz205wWZsLIkCw==
- Thread-topic: Reg Reading FileNames from RemoteServer using PeopleCode
Hi All,
My Query is connected with PeopleCode. Incase U Guys have an idea abt
this, please respond. I have been trying all possible ways to get a good
solution.
I am actually writing an AE Program to read the FileNames present in a
RemoteServer Path.
I was thinking of using FindFiles PeopleCode Function which fetches the
FileNames. But this is not possible without mapping the Drive.
Because these Files are present in a Remote Server, I need to pass the UserID,
PassWord etc to access the RemoteServer Path.
Once the File Read is successful, I will be storing all these File Names in a
Custom Table. I have to run a process which will FTP all the Files (prompted
from the Custom Table in the Run Control Page) from the remote server and load
them into the Local Server (FileServer). But that is working... and there seems
to be no problem with that.
The Problem, I am facing at the moment is "Reading the FileNames" from the
Remote Server. I tried using Exec and provided a script for execution... But it
isnt working either. Is there any way by which I can read the FileNames from
Remote Server Path...
At present I am trying to use MapNetworkDrive Function present in
NetworkDriveMapping DLL File. Once the mapping is successful, I think I might
be able to use FindFiles...
Hope to get some kind of a suggestion or advices from U, on how to proceed from
here on..
Regards...
Karun
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users