Re: TcpConnect get files on ver. 5.x BUG BUG BUG

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 55625
interpreted = N
texte = Morten, Send me the code you are using and I'll start investigating. It will also help if I can access the same server you are attempting to download from. -----Original Message----- From: Morten Madsen [mailto:dam@laserdisken.dk] Sent: Thursday, January 22, 2004 7:35 AM To: WebDNA-Talk@talk.smithmicro.com Subject: Re: TcpConnect get files on ver. 5.x BUG BUG BUG Ok - I have now tried every possible way of executing the code - And I can only come the the conclusion that it must at bug in WebDNA version 5 - so we can't convert to version 5.X before this is fixed. Is there a system for reporting bugs? o Regards Morten -----Original Message----- From: Alain Russell [ mailto:alain.russell@blackpepper.co.nz ] Sent: 16. januar 2004 20:58 To: WebDNA Talk Subject: Re: TcpConnect get files on ver. 5.x The way you are requesting the data there it will write the headers as well .. ? You might also need to send Host: to the remote server - perhaps the change happened there .. Alain On 17/01/2004, at 4:48 AM, Morten Madsen wrote: > Hi List.... > > We run WebDNA version 4.5 on our main-server. And we are considering > updating to version 5.x. So i downloaded a developer edition to test > if we would gain from the update. > > I installed it on our testserver and it seems to run fine BUT.... We > have a function that automaticly gets files from a webserver and saves > the file on our own server. It runs fine on our main server. But I > can't get to work on our testserver with WebDNA 5.2 Dev.Edi. > > Both servers run Windows 2k - and it worked on the testserver before > installing version 5.2 > > We mainly get pictures from our distributors websites. But with the > new version it is like it won't get the entire picture/file. On the > picture that is 76 kb it only gets 11 kb of data. So it is getting > something but now all data - so of cause the file/picture is corrupt. > > Can anybody test this code on a 5.2 version and perhaps also a 4.x > version? on 4.x it works for me.... > > [!]---------- GET A FILE FROM A GIVEN DOMAIN AND PATH -----------[/!] > [text]host=www.domain.com[/text] > [text]path=/path_to_file_location/on_the_webserver[/text] > [text]filename=filename.jpg[/text] > > [TCPConnect host=[host]] > [writefile file=incoming/[filename]][TCPSend]GET > [path]/[filename][unurl]%0D%0A[/unurl][/TCPSend][/writefile] > [/TCPConnect] > ------------------------------------------------------------- This > message is sent to you because you are subscribed to the mailing list > . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail > toWeb Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: TcpConnect get files on ver. 5.x BUG BUG BUG ( "Scott Anderson" 2004)
  2. Re: TcpConnect get files on ver. 5.x BUG BUG BUG ( "Scott Anderson" 2004)
  3. Re: TcpConnect get files on ver. 5.x BUG BUG BUG ( "Scott Anderson" 2004)
  4. Re: TcpConnect get files on ver. 5.x BUG BUG BUG ( Gary Krockover 2004)
  5. Re: TcpConnect get files on ver. 5.x BUG BUG BUG ( "Morten Madsen" 2004)
Morten, Send me the code you are using and I'll start investigating. It will also help if I can access the same server you are attempting to download from. -----Original Message----- From: Morten Madsen [mailto:dam@laserdisken.dk] Sent: Thursday, January 22, 2004 7:35 AM To: WebDNA-Talk@talk.smithmicro.com Subject: Re: TcpConnect get files on ver. 5.x BUG BUG BUG Ok - I have now tried every possible way of executing the code - And I can only come the the conclusion that it must at bug in WebDNA version 5 - so we can't convert to version 5.X before this is fixed. Is there a system for reporting bugs? o Regards Morten -----Original Message----- From: Alain Russell [ mailto:alain.russell@blackpepper.co.nz ] Sent: 16. januar 2004 20:58 To: WebDNA Talk Subject: Re: TcpConnect get files on ver. 5.x The way you are requesting the data there it will write the headers as well .. ? You might also need to send Host: to the remote server - perhaps the change happened there .. Alain On 17/01/2004, at 4:48 AM, Morten Madsen wrote: > Hi List.... > > We run WebDNA version 4.5 on our main-server. And we are considering > updating to version 5.x. So i downloaded a developer edition to test > if we would gain from the update. > > I installed it on our testserver and it seems to run fine BUT.... We > have a function that automaticly gets files from a webserver and saves > the file on our own server. It runs fine on our main server. But I > can't get to work on our testserver with WebDNA 5.2 Dev.Edi. > > Both servers run Windows 2k - and it worked on the testserver before > installing version 5.2 > > We mainly get pictures from our distributors websites. But with the > new version it is like it won't get the entire picture/file. On the > picture that is 76 kb it only gets 11 kb of data. So it is getting > something but now all data - so of cause the file/picture is corrupt. > > Can anybody test this code on a 5.2 version and perhaps also a 4.x > version? on 4.x it works for me.... > > [!]---------- GET A FILE FROM A GIVEN DOMAIN AND PATH -----------[/!] > [text]host=www.domain.com[/text] > [text]path=/path_to_file_location/on_the_webserver[/text] > [text]filename=filename.jpg[/text] > > [TCPConnect host=[host]] > [writefile file=incoming/[filename]][tcpsend]GET > [path]/[filename][unurl]%0D%0A[/unurl][/TCPSend][/writefile] > [/TCPConnect] > ------------------------------------------------------------- This > message is sent to you because you are subscribed to the mailing list > . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail > toWeb Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ "Scott Anderson"

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Credit Card Checksum (1997) [text] doesn't change [formvariables] (1999) Non-technical messages ... (1997) Newbie Tax Question (1997) How to verify email address (1997) OT: Need Hosting (2002) Add a field to the error log? (1997) html delivery (1997) OT: Web Cams (2003) Separate SSL Server (1997) what servers are supported for Typhoon? (1997) using showpage and showcart commands (1996) I can help! (1996) Extended [ConvertChars] (1997) Inventory lookup & display... (2003) searchable list archive (1997) Interfacing a webcat front end registartion to CommunigatePRO (2000) 2.1 pricing? (1998) E-mailer error codes (1997) FlushDatabase Suggestion (1998)