Home     Products      Support      Corporate     Sign In 
Support Knowledge Base, Article 763
Product
FileUp
Title
Does FileUp support DFS (Distributed File System) paths?
Solution

Yes, the Path property and the SaveAs, Delete and SaveBinaryAs methods support the use of DFS (Distributed File System) style paths. Below is an example of using a DFS path with FileUp's Path property.

    '--- Declarations
    Dim oFileUp

    '--- Instantiate the FileUp object
    Set oFileUp = Server.CreateObject("SoftArtisans.FileUp")

    '--- As with any style path, not just DFS,
    '--- set the Path property to the location you wish to
    '--- temporarily cache the incoming file before saving
    '--- Note: This property must be set immediately after
    '--- instantiating the FileUp object

    '--- DFS Path: "\\[Host Domain]\[DFS Root Name]\directory
    oFileUp.Path = "\\int.softartisans.com\dfs\My_Upload_Directory"
    ...

For more information on DFS, please see Microsoft's Distributed File System white paper at: http://www.microsoft.com/windows2000/techinfo/howitworks/fileandprint/dfsnew.asp

Created : 12/16/2003 4:44:52 PM (last modified : 12/16/2003 4:44:52 PM)
Rate this article!
 
Comments