|
|
|
|
¿ÀÁ¤¼® / 2000-07-11 / ¿ÀÈÄ 4:58:34 / 203.251.13.116
Á¶È¸¼ö : 122
|
[Áú¹®] ¿¡·¯ Á» ºÁÁÖ¼¼¿ä.. µÆ¾ú´Âµ¥..^^ |
¾È³çÇϼ¼¿ä..
ÀÚ·á½Ç ¶«¿¡ ±×·¯´Âµ¥¿ä..
Á¦ÄÄ¿¡¼´Â µÆ¾ú°Åµç¿ä..
±×·¡¼ ¼¹ö¿¡ ¿Ã¸®´Âµ¥..
ÆÄÀϾ÷·Îµå°¡ ¿¡·¯°¡ ¶ß³×¿ä..
°£¸¸¿¡ ¼Ò½º¸¦ ºÁ¼ Àß ¸ð¸£°Ú³×¿ä..
¿¡·¯³»¿ëÀº¿ä
=======================
SiteGalaxyUpload.Form.1 error '80070006'
Failed to write to the file
/diy-kit.co.kr/diykitfreeepds/write_ok.asp, line 92
========================
À̱¸¿ä..
ÁÖº¯ ¼Ò½º´Â ¿ä..
========================
if Len(ImageFile) > 0 then ' ÷ºÎÆÄÀÏÀÌ ÀÖÀ» ¶§¸¸ ¾÷·Îµå
Set FSO = CreateObject("Scripting.FileSystemObject")
'strDirectory = "c:/local project/brand/brand_local/brand114v3/file_brand114/bbsUpfiles/" ' ¼¹ö³» ÆÄÀÏÀÌ ÀúÀåµÇ´Â À§Ä¡
strDirectory = "d:/diy-kit.co.kr/diykitfreepds/bbsUpfiles/"
' °°Àº ÆÄÀϸíÀÌ ÀÖÀ» °æ¿ì ó¸® ½ÃÀÛ(¿Ã¸®´Â ÆÄÀÏ¸í µÚ¿¡ ÀϷùøÈ£¸¦ ³Ö¾îÁØ´Ù.)
attach_file = UploadForm("ImageFile").FilePath 'ÀúÀåµÉ ÆÄÀÏÀÇ À̸§À» ¾ò´Â´Ù.
FileSize = UploadForm("ImageFile").Size 'ÀúÀåµÉ ÆÄÀÏÀÇ Size¸¦ ¾ò´Â´Ù.
FileName = Mid(attach_file, InstrRev(attach_file, "\") + 1) ' ÆÄÀϸíÀ» ¾ò´Â´Ù.
strName = Mid(FileName, 1, Instr(FileName, ".") - 1) ' È®ÀåÀÚ¸¦ Á¦¿ÜÇÑ ÆÄÀϸíÀ» ¾ò´Â´Ù.
strExt = Mid(FileName, Instr(FileName, ".") + 1) 'È®ÀåÀÚ¸¦ ¾ò´Â´Ù.
bExist = True ' ¿ì¼± °°ÀºÀ̸§ÀÇ ÆÄÀÏÀÌ Á¸ÀçÇÑ´Ù°í °¡Á¤
strFileName = strDirectory & strName & "." & strExt ' ÀúÀåÇÒ ÆÄÀÏÀÇ ¿ÏÀüÇÑ À̸§À» ¸¸µê
countFileName = 0 ' ÆÄÀÏÀÌ Á¸ÀçÇÒ °æ¿ì, À̸§ µÚ¿¡ ºÙÀÏ ¼ýÀÚ¸¦ ¼¼ÆÃÇÔ.
Do While bExist ' ¿ì¼± ÀÖ´Ù°í »ý°¢ÇÔ.
If (FSO.FileExists(strFileName)) Then ' °°Àº À̸§ÀÇ ÆÄÀÏÀÌ ÀÖÀ» ¶§
countFileName = countFileName + 1 'ÆÄÀÏ¸í¿¡ ¼ýÀÚ¸¦ ºÙÀÎ »õ·Î¿î ÆÄÀÏ À̸§ »ý¼º
FileName = strName & "_" & countFileName & "." & strExt
strFileName = strDirectory & FileName
else '°°Àº À̸§ÀÇ ÆÄÀÏÀÌ ¾øÀ» ¶§
bExist = False
' ÆÄÀÏÀÌ Á¸ÀçÇÏÁö ¾ÊÀ¸¹Ç·Î.
End If
Loop
' °°Àº ÆÄÀϸíÀÌ ÀÖÀ» °æ¿ì ó¸® ½ÃÀÛ ³¡
¿©±â=>92¶óÀÎ UploadForm("ImageFile").SaveAs strFileName ' ÆÄÀÏÀ» ½ÇÁ¦·Î ÀúÀåÇÑ´Ù.
end if
'ÆÄÀÏ ¾÷·Îµå ³¡
===================================
ÀÔ´Ï´Ù.. ±ÞÇÕ´Ï´Ù. Á» µµ¿ÍÁÖ¼¼¿ä...
|
|
|
|