Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


WebDAV upload: error 80072EFE for files >30 kB

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,41740
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> WebDAV upload: error 80072EFE for files >30 kB
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 WebDAV upload: error 80072EFE for files >30 kB - 1/4/2007 9:43:51 PM   
  Ace_NoOne

 

Posts: 3
Score: 0
Joined: 1/4/2007
Status: offline
Hey there,

While trying to find a way to upload files to my WebDAV drive using VBS, I found Jeff Jones' WebDAV upload functions (see below).
These work just fine, but only as long as the repsective file is smaller than ~30 kB.
If the file is any larger, I get the following error message:
quote:

Script: ...\WebUpload.vbs
Line:   24
Char:   3
Error:  The connection with the server was terminated abnormally

Code:   80072EFE
Source: msxml3.dll

I have absolutely no clue why that is. WebDAV should have no problems with files over 30 kB, so maybe it's some kind of buffering issue?
I'd greatly appreciate some help on this issue!

Thanks a lot in advance!
___

Here's Jeff's original source code (originally downloaded from
http://www.hotscripts.com/Detailed/33124.html), which I have adapted
only by inserting my host's address (https://mediacenter.gmx.net in
this case) and the login data:


      

< Message edited by Ace_NoOne -- 1/4/2007 9:44:52 PM >
 
 
Post #: 1
 
 RE: WebDAV upload: error 80072EFE for files >30 kB - 1/5/2007 7:26:19 PM   
  Snipah


Posts: 1343
Score: 6
Joined: 11/1/2004
From: Netherlands
Status: offline
quote:

ADODB.Stream


I use the below function, with no problem of any file size (until so far no issues)


      

_____________________________

For more information, please see the "Read me First" topic.

http://www.visualbasicscript.com

(in reply to Ace_NoOne)
 
 
Post #: 2
 
 RE: WebDAV upload: error 80072EFE for files >30 kB - 1/5/2007 7:39:03 PM   
  Ace_NoOne

 

Posts: 3
Score: 0
Joined: 1/4/2007
Status: offline
Thanks for the response!

Your script there seems to work fine (I can't really test it because my WebDAV drives require authentication with username and password, and simply adding those to xml.Open "GET", URL, False doesn't seem to suffice).

However, your script is for downloading, whereas Jeff's is for uploading.
So while they complement each other perfectly (I would have asked about downloading sooner or alter anyway, so thanks for saving me the trouble there :) ), I still can't figure out what's wrong with the 30 kB limit in the upload function...
Would you mind testing it with a 50-200 kB file for me? Maybe it's an error of some sort on my system!?


PS: Would those functions also work behind a proxy (i.e. in the office)?

< Message edited by Ace_NoOne -- 1/5/2007 7:41:59 PM >

(in reply to Snipah)
 
 
Post #: 3
 
 RE: WebDAV upload: error 80072EFE for files >30 kB - 8/15/2008 3:34:09 AM   
  shl007

 

Posts: 4
Score: 0
Joined: 8/15/2008
Status: offline
Hi,

There is one piece missing from Jeff's code: an error trapping routine of sorts that will issue a pop-up message or similar if the SharePoint directory target site is invalid. Do you by chance know anyone, your colleagues, who could help me figure out a way to have the program tell me if the SharePoint directory is invalid or whether the SharePoint posting process failed? Currently, the code simply runs to completion and is “silent.”
 
I’ve tried e-mailing “Jeff Jones,” the author, but I cannot find his e-mail address, even though his www.hotscript.com post below says to e-mail him with questions.
 
Thanks,

Sue

(in reply to Ace_NoOne)
 
 
Post #: 4
 
 RE: WebDAV upload: error 80072EFE for files >30 kB - 8/15/2008 6:57:23 AM   
  Rischip


Posts: 510
Score: 2
Joined: 3/26/2007
Status: offline
I would use BITS. It supports upload / download, resume after disconnect/reboot/pretty much anything. http://msdn.microsoft.com/en-us/library/aa362813(VS.85).aspx

Ooops forgot, it also supports SSL.

< Message edited by Rischip -- 8/15/2008 6:58:39 AM >


_____________________________

Rischip
Author of - The Grim Linker

(in reply to shl007)
 
 
Post #: 5
 
 RE: WebDAV upload: error 80072EFE for files >30 kB - 8/18/2008 1:46:15 AM   
  shl007

 

Posts: 4
Score: 0
Joined: 8/15/2008
Status: offline
Thanks for that tip. I've never heard of this BITS tool before. It appears I would need to create something from scratch, i.e., write a program? Is that correct? Also, do I need an extra license?
 
Sorry for these simple questions; I'm just not that familiar with this tool.
 
Thanks,
 
SL

(in reply to Rischip)
 
 
Post #: 6
 
 RE: WebDAV upload: error 80072EFE for files >30 kB - 8/18/2008 1:52:41 AM   
  Rischip


Posts: 510
Score: 2
Joined: 3/26/2007
Status: offline
No license is required. Download the bitsadmin.exe and execute. It'll give you the help instructions. Then you just need to write a script to launch and monitor.

This might help also. http://technet.microsoft.com/en-us/library/cc740133.aspx

_____________________________

Rischip
Author of - The Grim Linker

(in reply to shl007)
 
 
Post #: 7
 
 RE: WebDAV upload: error 80072EFE for files >30 kB - 8/18/2008 2:00:03 AM   
  shl007

 

Posts: 4
Score: 0
Joined: 8/15/2008
Status: offline
Thanks for that link. It seems if I want to install this tool on my own PC, I'll need to access the XP installation CD. We're on Windows XP. Ugh, not sure if I can secure the CD. I'll have to think about whether I want to go thru the trouble of contacting Desktop Support here at my workplace.

I presume the tool is viable even if I install it on my computer only.

Thanks again,
SL

(in reply to Rischip)
 
 
Post #: 8
 
 RE: WebDAV upload: error 80072EFE for files >30 kB - 8/18/2008 2:11:44 AM   
  Rischip


Posts: 510
Score: 2
Joined: 3/26/2007
Status: offline
The download is here... http://www.microsoft.com/downloads/details.aspx?FamilyID=49ae8576-9bb9-4126-9761-ba8011fabf38&displaylang=en
No need for the CD

_____________________________

Rischip
Author of - The Grim Linker

(in reply to shl007)
 
 
Post #: 9
 
 RE: WebDAV upload: error 80072EFE for files >30 kB - 8/18/2008 4:06:59 AM   
  shl007

 

Posts: 4
Score: 0
Joined: 8/15/2008
Status: offline
Thanks again. Is this tool, then, meant to be a replacement of, or complement to, the WebDAV VB code I'm running?

(in reply to Rischip)
 
 
Post #: 10
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> WebDAV upload: error 80072EFE for files >30 kB Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts