Re: TCP Connect/send and CGI

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 54660
interpreted = N
texte = I this i replied too fast...  I forgot the port and the ? the first time...
Try this:
[TCPConnect host=aa.usno.navy.mil&port=80][TCPSend]POST /cgi-bin/aa_altazw?FFX=2&obj=10&xxy=2003&xxm=3&xxd=4&xxi=10&place=&xx0=-1&xx1=118&xx2=14&yy0=1&yy1=34&yy2=03&zz1=8&zz0=-1&ZZZ=END[UnURL]%0D%0A%0D%0A[/UnURL][/TCPSend][/TCPConnect]Matt Perosi


WebDna @ wrote:
Hello Everyone,Is it possible to post data to a cgi script page using TCPconnect/send?I have a form that send to a page and retrieves data. I want to useTCPconnect so I can use webcat to manipulate the data.I tried this and failedThe URL that the Form submits too is:http://aa.usno.navy.mil/cgi-bin/aa_altazwI tried following the TCP stuff from the webcat docs, but cannot get it towork.--code[TCPConnect host=aa.usno.navy.mil/cgi-bin/aa_altazw][TCPSend]POST /FFX=2&obj=10&xxy=2003&xxm=3&xxd=4&xxi=10&place=&xx0=-1&xx1=118&xx2=14&yy0=1&yy1=34&yy2=03&zz1=8&zz0=-1&ZZZ=END[UnURL]%0D%0A%0D%0A[/UnURL][/TCPSend][/TCPConnect]--resultsError: couldn't connect to host [aa.usno.navy.mil/cgi-bin/aa_altazw]I need to post those variables to that cgi script.Thanks for any help,Ron----- Original Message ----- From: "Steve Craig" <steve@asylumweb.com>To: "WebDNA Talk" <WebDNA-Talk@talk.smithmicro.com>Sent: Thursday, December 04, 2003 9:56 AMSubject: Re: Globals Permissions  
Thanks for the reply, the server is running ProFTPD 1.2.8. Does that helpany?Cheers========================================Steve Craig - Asylum Interactive LtdTel +44 1224 642960 Fax +44 1224 642962========================================http://www.asylumweb.comEmail: steve@asylumweb.com========================================    
From: Jesse Proudman <j.list@blueboxdev.com>Reply-To: <WebDNA-Talk@talk.smithmicro.com> (WebDNA Talk)Date: Thu, 4 Dec 2003 09:43:50 -0800To: <WebDNA-Talk@talk.smithmicro.com> (WebDNA Talk)Subject: Re: Globals PermissionsOn Dec 4, 2003, at 9:28 AM, Steve Craig wrote:      
HiI have WebDNA 5.1 on OSX box. I have a system that uses files in theGlobalsfolder quite a lot and I'm trying to sort out an easy way for me toeditthem without being at the server.I can obviously set up an ftp account to that folder but when I do Idon'thave the correct permissions to edit. I can also file share to theserver asit is in the same room but again over file sharing I can't get therightpermissions.Can I just change the permissions on that folder to www www or doesthateffect other things etc? Anyone any magic tricks that will change myftpprefs or any other way?        
On Linux you can get kinda fancy w/ the FTP server and have every fileuploaded be set w/ the right permissions.  Unfortunately, I don't knowwhat the FTP engine is in OS X, so that can make it a bit moredifficult.  The way I always did it was to use file sharing and thenSSH to set permissions.  I would open the connection via File Sharing,move the files and then do the following in my local terminal:ssh jesse@server.comtype my passwordcd /Library/WebServer/CGI-Executables/WebCatalogEngine/Globals/sudo sutype my passwordchmod -R 660 *chmdo -R +x *chown -R jesse:www *And the flush the webcatalog prefs.Once the files are there, you can edit them or replace them and thepermissions generally stay the same.--           Jesse Williams-ProudmanBlue Box Development :: Custom Web Solutions    +1.206.778.8777 :: jesse@blueboxdev.com              *Happy Holidays*-------------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list <WebDNA-Talk@talk.smithmicro.com>.To unsubscribe, E-mail to: <WebDNA-Talk-off@talk.smithmicro.com>To switch to the DIGEST mode, E-mail to<WebDNA-Talk-digest@talk.smithmicro.com>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 <WebDNA-Talk@talk.smithmicro.com>.To unsubscribe, E-mail to: <WebDNA-Talk-off@talk.smithmicro.com>To switch to the DIGEST mode, E-mail to    
<WebDNA-Talk-digest@talk.smithmicro.com>  
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 <WebDNA-Talk@talk.smithmicro.com>.To unsubscribe, E-mail to: <WebDNA-Talk-off@talk.smithmicro.com>To switch to the DIGEST mode, E-mail to <WebDNA-Talk-digest@talk.smithmicro.com>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: TCP Connect/send and CGI ( "WebDna @" 2003)
  2. Re: TCP Connect/send and CGI ( Rob Marquardt 2003)
  3. Re: TCP Connect/send and CGI ( Alain Russell 2003)
  4. Re: TCP Connect/send and CGI ( "WebDna @" 2003)
  5. Re: TCP Connect/send and CGI ( Stuart Tremain 2003)
  6. Re: TCP Connect/send and CGI ( "WebDna @" 2003)
  7. Re: TCP Connect/send and CGI ( "WebDna @" 2003)
  8. Re: TCP Connect/send and CGI ( Alain Russell 2003)
  9. Re: TCP Connect/send and CGI ( "WebDna @" 2003)
  10. Re: TCP Connect/send and CGI ( "Dan Strong" 2003)
  11. Re: TCP Connect/send and CGI ( Alain Russell 2003)
  12. Re: TCP Connect/send and CGI ( John Peacock 2003)
  13. Re: TCP Connect/send and CGI ( Alain Russell 2003)
  14. Re: TCP Connect/send and CGI ( Matthew A Perosi 2003)
  15. Re: TCP Connect/send and CGI ( Matthew A Perosi 2003)
  16. Re: TCP Connect/send and CGI ( "WebDna @" 2003)
  17. Re: TCP Connect/send and CGI ( "WebDna @" 2003)
  18. Re: TCP Connect/send and CGI ( "WebDna @" 2003)
  19. Re: TCP Connect/send and CGI ( Bob Minor 2003)
  20. Re: TCP Connect/send and CGI ( Matthew A Perosi 2003)
  21. Re: TCP Connect/send and CGI ( Matthew A Perosi 2003)
  22. Re: TCP Connect/send and CGI ( Donovan Brooke 2003)
  23. TCP Connect/send and CGI ( "WebDna @" 2003)
I this i replied too fast...  I forgot the port and the ? the first time...
Try this:
[TCPConnect host=aa.usno.navy.mil&port=80][tcpsend]POST /cgi-bin/aa_altazw?FFX=2&obj=10&xxy=2003&xxm=3&xxd=4&xxi=10&place=&xx0=-1&xx1=118&xx2=14&yy0=1&yy1=34&yy2=03&zz1=8&zz0=-1&ZZZ=END[unurl]%0D%0A%0D%0A[/UnURL][/TCPSend][/TCPConnect]Matt Perosi


WebDna @ wrote:
Hello Everyone,Is it possible to post data to a cgi script page using TCPconnect/send?I have a form that send to a page and retrieves data. I want to useTCPconnect so I can use webcat to manipulate the data.I tried this and failedThe URL that the Form submits too is:http://aa.usno.navy.mil/cgi-bin/aa_altazwI tried following the TCP stuff from the webcat docs, but cannot get it towork.--code[TCPConnect host=aa.usno.navy.mil/cgi-bin/aa_altazw][tcpsend]POST /FFX=2&obj=10&xxy=2003&xxm=3&xxd=4&xxi=10&place=&xx0=-1&xx1=118&xx2=14&yy0=1&yy1=34&yy2=03&zz1=8&zz0=-1&ZZZ=END[unurl]%0D%0A%0D%0A[/UnURL][/TCPSend][/TCPConnect]--resultsError: couldn't connect to host [aa.usno.navy.mil/cgi-bin/aa_altazw]I need to post those variables to that cgi script.Thanks for any help,Ron----- Original Message ----- From: "Steve Craig" <steve@asylumweb.com>To: "WebDNA Talk" <WebDNA-Talk@talk.smithmicro.com>Sent: Thursday, December 04, 2003 9:56 AMSubject: Re: Globals Permissions  
Thanks for the reply, the server is running ProFTPD 1.2.8. Does that helpany?Cheers========================================Steve Craig - Asylum Interactive LtdTel +44 1224 642960 Fax +44 1224 642962========================================http://www.asylumweb.comEmail: steve@asylumweb.com========================================    
From: Jesse Proudman <j.list@blueboxdev.com>Reply-To: <WebDNA-Talk@talk.smithmicro.com> (WebDNA Talk)Date: Thu, 4 Dec 2003 09:43:50 -0800To: <WebDNA-Talk@talk.smithmicro.com> (WebDNA Talk)Subject: Re: Globals PermissionsOn Dec 4, 2003, at 9:28 AM, Steve Craig wrote:      
HiI have WebDNA 5.1 on OSX box. I have a system that uses files in theGlobalsfolder quite a lot and I'm trying to sort out an easy way for me toeditthem without being at the server.I can obviously set up an ftp account to that folder but when I do Idon'thave the correct permissions to edit. I can also file share to theserver asit is in the same room but again over file sharing I can't get therightpermissions.Can I just change the permissions on that folder to www www or doesthateffect other things etc? Anyone any magic tricks that will change myftpprefs or any other way?        
On Linux you can get kinda fancy w/ the FTP server and have every fileuploaded be set w/ the right permissions.  Unfortunately, I don't knowwhat the FTP engine is in OS X, so that can make it a bit moredifficult.  The way I always did it was to use file sharing and thenSSH to set permissions.  I would open the connection via File Sharing,move the files and then do the following in my local terminal:ssh jesse@server.comtype my passwordcd /Library/WebServer/CGI-Executables/WebCatalogEngine/Globals/sudo sutype my passwordchmod -R 660 *chmdo -R +x *chown -R jesse:www *And the flush the webcatalog prefs.Once the files are there, you can edit them or replace them and thepermissions generally stay the same.--           Jesse Williams-ProudmanBlue Box Development :: Custom Web Solutions    +1.206.778.8777 :: jesse@blueboxdev.com              *Happy Holidays*-------------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list <WebDNA-Talk@talk.smithmicro.com>.To unsubscribe, E-mail to: <WebDNA-Talk-off@talk.smithmicro.com>To switch to the DIGEST mode, E-mail to<WebDNA-Talk-digest@talk.smithmicro.com>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 <WebDNA-Talk@talk.smithmicro.com>.To unsubscribe, E-mail to: <WebDNA-Talk-off@talk.smithmicro.com>To switch to the DIGEST mode, E-mail to    
<WebDNA-Talk-digest@talk.smithmicro.com>  
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 <WebDNA-Talk@talk.smithmicro.com>.To unsubscribe, E-mail to: <WebDNA-Talk-off@talk.smithmicro.com>To switch to the DIGEST mode, E-mail to <WebDNA-Talk-digest@talk.smithmicro.com>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/ Matthew A Perosi

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:

Show shoppingcart after remove last item (1997) Secure server question (1997) Frames and WebCat (1997) Buying sans cart (1997) db access problem after switching to SSL (2001) Problems with [Applescript] (1997) ODBC Performance? (2001) WebMerchant Mac 3.0 beta available (1998) request for comment tag (1998) RE: Error: template (1997) Sendmail question [Newbie] (1999) WebCat2 several catalogs? (1997) Card clearance, problems - solutions? (1997) pictures / referrer etc. (1998) Redirect frame targets (1998) foriegn characters and webcatalog (1997) RE: [WebDNA] Basic Search (2008) (1998) problem serving foreign languages text (1997) EXTERNAL EMAIL: [WebDNA] IF statement evaluation bug report, (2019)