TCP Connect/send and CGI
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 54657
interpreted = N
texte = 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"
To: "WebDNA Talk" 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 help> any?>> Cheers> ========================================> Steve Craig - Asylum Interactive Ltd> Tel +44 1224 642960 Fax +44 1224 642962> ========================================> http://www.asylumweb.com> Email: steve@asylumweb.com> ========================================>>> > From: Jesse Proudman > > Reply-To: (WebDNA Talk)> > Date: Thu, 4 Dec 2003 09:43:50 -0800> > To: (WebDNA Talk)> > Subject: Re: Globals Permissions> >> >> > On Dec 4, 2003, at 9:28 AM, Steve Craig wrote:> >> >> Hi> >>> >> I have WebDNA 5.1 on OSX box. I have a system that uses files in the> >> Globals> >> folder quite a lot and I'm trying to sort out an easy way for me to> >> edit> >> them without being at the server.> >>> >> I can obviously set up an ftp account to that folder but when I do I> >> don't> >> have the correct permissions to edit. I can also file share to the> >> server as> >> it is in the same room but again over file sharing I can't get the> >> right> >> permissions.> >>> >> Can I just change the permissions on that folder to www www or does> >> that> >> effect other things etc? Anyone any magic tricks that will change my> >> ftp> >> prefs or any other way?> >> > On Linux you can get kinda fancy w/ the FTP server and have every file> > uploaded be set w/ the right permissions. Unfortunately, I don't know> > what the FTP engine is in OS X, so that can make it a bit more> > difficult. The way I always did it was to use file sharing and then> > SSH 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.com> > type my password> > cd /Library/WebServer/CGI-Executables/WebCatalogEngine/Globals/> > sudo su> > type my password> > chmod -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 the> > permissions generally stay the same.> >> > -- > > Jesse Williams-Proudman> > Blue Box Development :: Custom Web Solutions> > +1.206.778.8777 :: jesse@blueboxdev.com> >> > *Happy Holidays*> >> >> > -------------------------------------------------------------> > 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:
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" To: "WebDNA Talk" 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 help> any?>> Cheers> ========================================> Steve Craig - Asylum Interactive Ltd> Tel +44 1224 642960 Fax +44 1224 642962> ========================================> http://www.asylumweb.com> Email: steve@asylumweb.com> ========================================>>> > From: Jesse Proudman > > Reply-To: (WebDNA Talk)> > Date: Thu, 4 Dec 2003 09:43:50 -0800> > To: (WebDNA Talk)> > Subject: Re: Globals Permissions> >> >> > On Dec 4, 2003, at 9:28 AM, Steve Craig wrote:> >> >> Hi> >>> >> I have WebDNA 5.1 on OSX box. I have a system that uses files in the> >> Globals> >> folder quite a lot and I'm trying to sort out an easy way for me to> >> edit> >> them without being at the server.> >>> >> I can obviously set up an ftp account to that folder but when I do I> >> don't> >> have the correct permissions to edit. I can also file share to the> >> server as> >> it is in the same room but again over file sharing I can't get the> >> right> >> permissions.> >>> >> Can I just change the permissions on that folder to www www or does> >> that> >> effect other things etc? Anyone any magic tricks that will change my> >> ftp> >> prefs or any other way?> >> > On Linux you can get kinda fancy w/ the FTP server and have every file> > uploaded be set w/ the right permissions. Unfortunately, I don't know> > what the FTP engine is in OS X, so that can make it a bit more> > difficult. The way I always did it was to use file sharing and then> > SSH 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.com> > type my password> > cd /Library/WebServer/CGI-Executables/WebCatalogEngine/Globals/> > sudo su> > type my password> > chmod -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 the> > permissions generally stay the same.> >> > -- > > Jesse Williams-Proudman> > Blue Box Development :: Custom Web Solutions> > +1.206.778.8777 :: jesse@blueboxdev.com> >> > *Happy Holidays*> >> >> > -------------------------------------------------------------> > 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/
"WebDna @"
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:
Integrating Bar Codes with WebDNA (2006)
Change [cart] date (2002)
Quick ShowIf question (1997)
WCS Newbie question (1997)
WebMerchant 1.6 and https (1997)
WebCat2.0 [format thousands .0f] no go (1997)
PCS Emailer's role ? (1997)
Truncated Sendmail (1998)
WebMerchant (2003)
Sorting error (1997)
Creating Dynamic Charts using WebCat and Flash (2000)
Tags not being Interpreted (1999)
bug in [SendMail] (1997)
Install Webcat 4.01 - Server Hard Freeze (2000)
Email Formatting and Encryption (1998)
Trigger Validation Text Broken (2003)
Mystery File - Solved (2005)
Sandbox DB permissions (2005)
email program problem (1998)
WebCat2b12 CGI Mac - [shownext] problem (1997)