GroupBrowser  




Go Back   GroupBrowser > Macromedia Newsgroups > Macromedia Director > Director Lingo
User Name
Password
 
 
Thread Tools Search this Thread Display Modes

DownloadNetThing fails in Director MX ver.10 underWindows-XP
Old 08-22-2008, 04:39 PM #1
Deepak Patil
Guest
 
Status:
Posts: n/a
Default DownloadNetThing fails in Director MX ver.10 underWindows-XP

Hi:
DownloadNetThing and getNetText returns netError 4165 when I execute following
lingo command in Director MX authoring environment.

netID = downLoadNetThing("http://www.hostname.domain/filename.extension",
"Full path to my local file")

put netDone() ....... This shows 1
put netError() ........ This shows 4165

Now if I paste above http url in Internet Explorer it shows the content of the
text file!

I have installed Director MX ver 10 on Windows-XP (latest update). There is no
antivirus or filewall software installed on my computer. I tried adding
Director MX as application in the exception list of windows firewall. Still the
operation fails.

I would be very much thankful if someone let me know what is going wrong.
Thanks for your time.

Deepak

netID = downLoadNetThing("http://www.hostname.domain/filename.extension",
"Full path to my local file")

  Reply With Quote

Re: DownloadNetThing fails in Director MX ver.10 underWindows-XP
Old 08-22-2008, 05:27 PM #2
ensamblador
Guest
 
Status:
Posts: n/a
Default Re: DownloadNetThing fails in Director MX ver.10 underWindows-XP

y googled for 4165 an found that can be bad url or file error.

If fails by url change downloadnetthing by getnettext (like the help example
getNetText ("http://BigServer.com/sample.txt")), dont use the browser to test
the url, that is because netlingo and a browser works different (the browser
has cache, for example)

after netdone = 1 check nettextresult().

That is to isolate the problem, if this fails, is a net problem, if not is a
file access problem,


  Reply With Quote

Re: DownloadNetThing fails in Director MX ver.10 under Windows-XP
Old 08-22-2008, 07:24 PM #3
Sean Wilson
Guest
 
Status:
Posts: n/a
Default Re: DownloadNetThing fails in Director MX ver.10 under Windows-XP

What is the real extension of the file you're trying to download?
It may be that your server is gzip encoding your data which will fail
with netLingo. There was a thread related to this on Direct-L some time
ago - you could search there as a last resort. The first thing you
should try is looking at the headers returned by the server - any packet
sniffer will help with this.
  Reply With Quote

Re: DownloadNetThing fails in Director MX ver.10 underWindows-XP
Old 09-01-2008, 03:54 PM #4
Deepak Patil
Guest
 
Status:
Posts: n/a
Default Re: DownloadNetThing fails in Director MX ver.10 underWindows-XP

Here is another experience!

downLoadNetThing and getNetText works well on a fresh installation of
Windows-XP Professional SP3 and Director MX Version 10.0 BUT IT FAILS (file
access error 4165) if the system is updated to SP3 and all latest updates from
Microsoft's site!

I am trying to download a text file with extension .txt

I would be thankful if someone helps me to fix this problem.


  Reply With Quote
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes





Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump




Adobe Newsgroups | Software Newsgroups


Powered by: vBulletin Version 3.0.7
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2003-2004 All Rights Reserved GroupBrowser LLC.