Mit ASP Fileserver (Directorylist) auslesen

J

Josef Buergi

Hallo

Ich möchte aus unserem Fileserver die Directorystruktur inkl Filenamen
via ASP auslesen und diese in eine DB Tabelle eintragen. Der Webserver
(IIS) läuft auf einem anderen Rechner.

Ich habe verschiedene Ansätze probiert, aber leider scheitert das
Vorhaben am Fehler "The Path parameter for the MapPath method must be
a virtual path. A physical path was used. "

Ich versuche mit rd = RecursiveDir
(server.mappath("t:/Plandaten/Inhalte")) den Pfad rekeursiv
aufzulösen.

Kann mir jemand einen Ansatz für eine solche Aufgabenstellung geben ?

Gruss aus Bern

Joe
 
R

Ray at

Ich kann Deutsche nicht gesprechen. If you have the physical path already,
you don't have to server.mappath. Also, is T a local drive? If not, use a
UNC path, \\server\share. But you will have to synchronize IUSR accounts on
the two machines, use a domain account, or create an account on \\server
with the same name and password as you use on the IIS server.

Ray nach Arbeit
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top