What is a "Foreword" to a blog?
Persits.upload problem
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > ASP web-programming > Persits.upload problem 21 August 2008 10:53:09

  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:

Persits.upload problem

.Net Sports 21 August 2008 10:53:09
 I'm using Persits.upload module in ASP, and when i use the following
form pointed to the object I've always used, i get a "The system
cannot find the file specified" error pointing to the line of my
upload.savevirtual :

Set Upload = Server.CreateObject­("Persits.Upload")
upload.savevirtual ("test/")

.
''''error:
Persits.Upload.1 error '800a0005'

The system cannot find the file specified.

/upl/aspupload1.asp­, line 5


'''form
<form action="aspupload1.­asp" method="post" enctype="multipart/­form-
data">

<input type="file" size="40" name="FILE1" />

<br />
<input type="submit" value="Upload!" />
</form>


<form action="aspupload1.­asp" method="post" enctype="multipart/­form-
data">

<input type="file" size="40" name="FILE1" />

<br />
<input type="submit" value="Upload!" />
</form>


????????
Add comment
dhiraj 21 August 2008 10:53:09 permanent link ]
 Set objForm = Server.CreateObject­("Persits.Upload.1")­
objForm.overWriteFi­les=true
objForm.SetMaxSize 3048576

'map the path of the image folder
Count = objForm.SaveVirtual­("/data/import_test/­")

IF Request.QueryString­("reDirectAction") <> "" THEN
strRedirectAction = Request.QueryString­("reDirectAction")
END IF

strAction=objForm.F­orm("hidAction")
'response.Write("<b­r>strAction="&strAct­ion&"sdfjsf")


if strAction <> "" then
ImportFileName =trim(objForm.Files­("import_file").File­Name)

if ImportFileName = "" then
strError = strError & "<li>You have not selected file for import.</li>"

i have get this :- You have not selected file for import.error even if i upload the file what's the problem. tell me plz.
Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


QAIX > ASP web-programming > Persits.upload problem 21 August 2008 10:53:09

see also:
Problem with Check Numbering
Rollback quickbooks to R5 level from R6
how to record a deposit on services
пройди тесты:
see also:
Hi! ^^

  Copyright © 2001—2008 QAIX
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.qaix.com.
Сообщения об ошибках оставляем в сообществе bugs.qaix.com.
Предложения и комментарии пишем в сообществе suggest.qaix.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .