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:

[WebDNA] DNA suffix (11:3) Ad Serving Software (2002) Configuring E-mail (1997) Email template names (1997) [referrer] tag (1997) Mac Lockup Problems (1998) Ad Serving Software (2002) WebMerchant 1.6 and SHTML (1997) Sorting when searching with grouped fields (2002) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) [WebDNA] Last WSC shares for sale! (2009) Kinda [OT] Leopard & iTools (2008) creator code (1997) Nested vs conditional (1997) Frames and WebCat (1997) MacAuthorize and WebMerchant (1997) More on ShippingCost help needed (1998) Banners and sort of random display (1997) Feature requests (1998) WebCommerce: Folder organization ? (1997)