TcpConnect get files on ver. 5.x

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 55511
interpreted = N
texte = TcpConnect get files on ver. 5.x

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=3Dwww.domain.com[/text]
[text]path=3D/path_to_file_location/on_the_webserver[/text]
[text]filename=3Dfilename.jpg[/text]

[TCPConnect host=3D[host]]
[writefile file=3Dincoming/[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 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 FIXED FIXED FIXED - ( "Scott Anderson" 2004)
  2. Re: TcpConnect get files on ver. 5.x FIXED FIXED FIXED ( Jesse Proudman 2004)
  3. Re: TcpConnect get files on ver. 5.x FIXED FIXED FIXED ( "Scott Anderson" 2004)
  4. Re: TcpConnect get files on ver. 5.x BUG BUG BUG ( "Scott Anderson" 2004)
  5. Re: TcpConnect get files on ver. 5.x BUG BUG BUG ( "Scott Anderson" 2004)
  6. Re: TcpConnect get files on ver. 5.x BUG BUG BUG ( "Scott Anderson" 2004)
  7. Re: TcpConnect get files on ver. 5.x BUG BUG BUG ( Gary Krockover 2004)
  8. Re: TcpConnect get files on ver. 5.x BUG BUG BUG ( "Morten Madsen" 2004)
  9. Re: TcpConnect get files on ver. 5.x ( Alain Russell 2004)
  10. TcpConnect get files on ver. 5.x ( "Morten Madsen" 2004)
TcpConnect get files on ver. 5.x

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=3Dwww.domain.com[/text]
[text]path=3D/path_to_file_location/on_the_webserver[/text]
[text]filename=3Dfilename.jpg[/text]

[TCPConnect host=3D[host]]
[writefile file=3Dincoming/[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 to Web Archive of this list is at: http://webdna.smithmicro.com/ "Morten Madsen"

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:

WCS Newbie question (1997) Part Html part WebDNA (1997) Generating Pages (1999) [Announce]: Web server security and password protection (1997) WebCatalog for Postcards ? (1997) WebCat editing, SiteGuard & SiteEdit (1997) FileInfo (2004) Mime Headers for Mail (1998) WebDNA Prefs & Permissions (2005) Multiple catalog databases and showcart (1997) Single Link browsing (1997) Opposite of Summ=T? (2000) WebCat2b12 CGI Mac - [shownext] problem (1997) Summing fields (1997) Calculating multiple shipping... (1997) Nesting format tags (1997) Install WebDNA 6.0 into MAMP/Apache 2.0 on OS X ... (2005) How do I write this search? (2006) WebDNA 6.x - Compatibility with Fedora release 1? (2004) Re:2nd WebCatalog2 Feature Request (1996)