Re: FTP via Shell Question

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 60873
interpreted = N
texte = Larry Hewitt wrote: > I can't seem to figure out if there is a way to trap the results of an > FTP session using the SHELL command; specifically, > > curl -T user.txt -v -u ftp_test:chinook ftp://192.168.123.157/test3/ > > returns an entire array of useful data in terminal mode, but while it > executes the upload there is no on screen feedback of any sorts. It's likely that curl knows when it isn't connected to a terminal and doesn't send it's output. The other possibility is that the output buffering that curl does isn't playing nicely with [shell]. Try to add the '--no-buffer' option to the command line. Else, you can write the log file using '--output' option and then read that in with WebDNA after the [shell] has completed. HTH John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748 ------------------------------------------------------------- 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: FTP via Shell Question ( Larry Hewitt 2005)
  2. Re: FTP via Shell Question ( sal danna 2005)
  3. Re: FTP via Shell Question ( John Peacock 2005)
  4. FTP via Shell Question ( Larry Hewitt 2005)
Larry Hewitt wrote: > I can't seem to figure out if there is a way to trap the results of an > FTP session using the SHELL command; specifically, > > curl -T user.txt -v -u ftp_test:chinook ftp://192.168.123.157/test3/ > > returns an entire array of useful data in terminal mode, but while it > executes the upload there is no on screen feedback of any sorts. It's likely that curl knows when it isn't connected to a terminal and doesn't send it's output. The other possibility is that the output buffering that curl does isn't playing nicely with [shell]. Try to add the '--no-buffer' option to the command line. Else, you can write the log file using '--output' option and then read that in with WebDNA after the [shell] has completed. HTH John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748 ------------------------------------------------------------- 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/ John Peacock

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:

What about an ends with operator? (2000) Re:Finding max value for a field (1997) WebCatalog NT beta 18 problem (1997) Purchased cart being overwritten - still !?? (1997) I'm new be kind (1997) cybercash (2002) Help! WebCat2 bug (1997) Search (1997) Nested search (1997) Preloader for file uploading (2005) WebCatalog can't find database (1997) Mac v. NT (1998) Security & Query Strings (2004) how to put/keep product customization info in basket? (1998) Replto in [SendMail] (2000) problems with 2 tags (1997) New public beta available (1997) ShipCost Problems (1998) Variables in a Prefernce File (2005) PSC recommends what date format yr 2000??? (1997)