473,396 Members | 1,970 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Mit ASP Fileserver (Directorylist) auslesen

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
Jul 19 '05 #1
1 2143
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

"Josef Buergi" <jo**********@bve.be.ch> wrote in message
news:fd**************************@posting.google.c om...
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

Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Christoph Weis | last post by:
Hallo, folgendes kleines Skript zeigt leider kein Ergebnis an: <?PHP function getImagesFromPath($path) { $result = array(); $handle=opendir($path);
3
by: Marco Aschwanden | last post by:
Hi I would like to install Python on a fileserver. All the machines (all Win2K) should afterwards use this Python installation. The (Python) apps I am developing will be as well placed on the...
0
by: Karl Rhodes | last post by:
Ok, we think we have a problem which SHOULD be simple to resolve but appears to be impossible (unless we're not as good as we thought we were!!!) We have seperate workstations on which we do our...
5
by: haltestelle | last post by:
Hallo, ist es möglich rauszufinden auf welchen filesystem sich meine datei befindet ? zbsp. habe eine datei auf nen nfsserver liegen. es möchte ich gerne rausfinden, das die datei auf nen...
1
by: Phane01 | last post by:
Hallo, ich habe eine Frage bezüglich des auslesens von Controls von Programmen. Ich schreibe an einem Programm, welches ein externes Tool starten soll. Das starten an sich ist kein Problem. In dem...
1
by: Adam aku | last post by:
Hi! I suppose this is an easy problem but despite searching through manuals I have not as yet been able to solve it I have a asp .net web form which needs to access files from our fileserver. The...
1
by: Phane01 | last post by:
Hallo, ich habe eine Frage bezüglich des auslesens von Controls von Programmen. Ich schreibe an einem Programm, welches ein externes Tool starten soll. Das starten an sich ist kein Problem. In dem...
1
by: marcel.stallmach | last post by:
Hallo, ich bin ehrlich schon am verzweifeln. Ich habe eine lokale Anwendung (Access) von wo aus eine HttpSendRequest an eine Website gesendet wird. Im HttpSendRequest werden die Daten per...
0
by: dotnettester | last post by:
Hi, I want to know, what will be a good solution to have indexing on a site. I want to provide users ability to search for documents on a fileserver, on the same network. IIS is running on...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.