Click to See Complete Forum and Search --> : FSO questions


CrazyGaz
07-30-2003, 09:16 AM
If I copy a file from one place on the server to another will that work.

i.e. copying a file from http://crazygaz.com/files/ to http://crazygaz.com/files2/?

Cheers, Gaz

CrazyGaz
07-30-2003, 09:30 AM
ahh good that means my method of PMing will still work.

cheers for the help Dave (as usual :P)

Gaz.

CrazyGaz
07-30-2003, 10:11 AM
set f2=fs.CreateTextFile("htdocs/imageupload/" & fileNameType)
set fs=Server.CreateObject("Scripting.FileSystemObject")
set f=fs.OpenTextFile(usrAv)
response.write fileNameType
do while f.AtEndOfStream = false
f2.writeline(f.readline)
loop

this works on my localhost, will it work on any server?