Re: FTP and [shell]

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 52401
interpreted = N
texte = You will need to write a shell script and execute it using the shell context. Something like: #!/bin/sh HOST='ftp.users.qwest.net' USER='yourid' PASSWD='yourpw' FILE='file.txt' ftp -n $HOST < To: "WebDNA Talk" Sent: Thursday, August 21, 2003 4:22 PM Subject: FTP and [shell] Running WebCat 4.5 on an OSX Xserve I need to use [shell] to run an ftp command to put a file on a different server on the network. How do I string commands together? [shell]ftp [ftp_server] ; [user] ; [pass] ; etc. [/shell] Can I even do what I'm trying to do without a 3rd party ftp program? -- Matthew C. Bohne Web Developer Sandusky Register 314 W. Market St. Sandusky, OH 44870 419-625-5500 ext. 253 matthewbohne@sanduskyregister.com http://www.sanduskyregister.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:

    
  1. Re: FTP and [shell] ( Alain Russell 2003)
  2. Re: FTP and [shell] ( Matthew Bohne 2003)
  3. Re: FTP and [shell] ( "WebDna @" 2003)
  4. Re: FTP and [shell] ( Kalin Mintchev 2003)
  5. Re: FTP and [shell] ( Matthew Bohne 2003)
  6. Re: FTP and [shell] ( "WebDna @" 2003)
  7. Re: FTP and [shell] ( Velma Kahn 2003)
  8. Re: FTP and [shell] ( Aaron Lynch 2003)
  9. Re: FTP and [shell] ( Jay Van Vark 2003)
  10. Re: FTP and [shell] ( "WebDna @" 2003)
  11. Re: FTP and [shell] ( Jay Van Vark 2003)
  12. Re: FTP and [shell] ( Matthew Bohne 2003)
  13. Re: FTP and [shell] ( "WebDna @" 2003)
  14. Re: FTP and [shell] ( Alain Russell 2003)
  15. FTP and [shell] ( Matthew Bohne 2003)
You will need to write a shell script and execute it using the shell context. Something like: #!/bin/sh HOST='ftp.users.qwest.net' USER='yourid' PASSWD='yourpw' FILE='file.txt' ftp -n $HOST <[shell]/path/to/shellftp.sh[/shell] ----- Original Message ----- From: "Matthew Bohne" To: "WebDNA Talk" Sent: Thursday, August 21, 2003 4:22 PM Subject: FTP and [shell] Running WebCat 4.5 on an OSX Xserve I need to use [shell] to run an ftp command to put a file on a different server on the network. How do I string commands together? [shell]ftp [ftp_server] ; [user] ; [pass] ; etc. [/shell] Can I even do what I'm trying to do without a 3rd party ftp program? -- Matthew C. Bohne Web Developer Sandusky Register 314 W. Market St. Sandusky, OH 44870 419-625-5500 ext. 253 matthewbohne@sanduskyregister.com http://www.sanduskyregister.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:

WebCatalog dying in WebTen Revisited (1998) international time (1997) 2.0 Info (1997) [WebDNA] WebDNA Health Monitor (2014) Weird Math and SV (1997) [OT] Linux Mailservers (2003) WebCatalog can't find database (1997) Non-Cart Files in Shopping Cart Folder (1997) WebCat2 - [SendNews] (1997) WebCat2b15MacPlugIn - [authenticate] not [protect] (1997) 2.0Beta Command Ref (can't find this instruction) (1997) Trouble with [fileinfo] (2004) [SHOWIF]s and empty arguments (1997) Faxing orders in place of email (1997) Email (1998) See [shell]s (2008) Beta 18 (1997) removing programming logic white space (2003) More on the email templates (1997) [WebDNA] Comparing 2 MySQL tables (2009)