[ASP]Omzetten code

Pagina: 1
Acties:
  • 35 views sinds 30-01-2008

  • mmniet
  • Registratie: Oktober 2002
  • Laatst online: 10-04 20:06

mmniet

De beetje weter

Topicstarter
Tweakers,

Ik wil eerst zeggen dat ik er een paar dagen mee bezig geweest ben en het me maar niet lukt. Ik heb hetvolgende script (mysmartupload script):
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<%
'  Variables
'  *********
   Dim mySmartUpload
   Dim intCount
        
'  Object creation
'  ***************
   Set mySmartUpload = Server.CreateObject("aspSmartUpload.SmartUpload")

'  Upload
'  ******
   mySmartUpload.Upload

'  Save the files with their original names in a virtual path of the web server
'  ****************************************************************************
   'intCount = mySmartUpload.Save("../Data/")
   ' sample with a physical path 
   ' intCount = mySmartUpload.Save("c:\temp\")

    ' uploadpath = "../"
    uploadpath = "../../USERFILES/"
    if not mySmartUpload.Files("FILE1").IsMissing then
        if sFilename <> "" then
            Call deletefile(server.mappath(pdfpath & sFilename))
        end if
        sFilename = mySmartUpload.Files("FILE1").FileName
        sFilename = replace(sFileName, "\", "_")
        mySmartUpload.Files("FILE1").SaveAs (uploadpath & sFilename)
        sgrootte = mySmartUpload.TotalBytes
    end if

%>


dit script werkt niet op een vevida server, daar werken ze met dundas en aspupload script. Ik heb enkel al uren geprobeerd om het om te zetten, maar het lukt me maar niet, kan iemand me helpen om dit bovenstaand script om te zetten naar Dundas script of aspupload script?

hartstikke bedankt alvast

It's me Mario


  • Janoz
  • Registratie: Oktober 2000
  • Laatst online: 09-05 08:08

Janoz

Moderator Devschuur®

!litemod

Nee, dat doen we hier niet. Problemen kunnen besproken worden en over ontwikkelingen kan worden gediscusieerd, maar het is hier niet de bedoeling dat we scriptjes voor anderen in elkaar gaan zetten.

Ken Thompson's famous line from V6 UNIX is equaly applicable to this post:
'You are not expected to understand this'


Dit topic is gesloten.