Se här, plötsligt har detta script slutat funka, felet jag får är:
Server.MapPath() error 'ASP 0174 : 80004005'
Invalid Path Character(s)
/kund/swe/PicEdit2.asp, line 22
An invalid '/' or '\' was found in the Path parameter for the MapPath method.
' Variables
' *********
Dim mySmartUpload
' Dim intCount
' Object creation
' ***************
Set mySmartUpload = Server.CreateObject("aspSmartUpload.SmartUpload")
' Upload
' ******
mySmartUpload.Upload
Set skapamapp = mySmartUpload.Form("Namn")
' Save the files with their original names in a virtual path of the web server
' ****************************************************************************
intCount = mySmartUpload.Save("/Kund/kund/" & skapamapp)
' sample with a physical path
' intCount = mySmartUpload.Save("c:\temp\")
------------------
His Divine Shadow is the most despicable being ever created, short and to the point.
http://forums.planetdivine-shadow.com
Sprit löser inga problem. Men det gör inte mjölk heller.