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:

File Upload (1997) [WebDNA] function not as expected (2010) Converting characters to numbers ... (1997) WebDNA monitor not working (2002) Max Record length restated as maybe bug (1997) [WebDNA] Error: Can't open order file. Ignoring [OrderFile] context Error: Error: expected [/APPLICATION], but found [/!] instead[/!] (2011) Has anyone integrated ZipBurst with WebCat? (2000) SiteBuilder and reportin on page hits (awstats) (2006) matching shipto and others (1998) shrink-wrapped version out yet? (1997) Parameter vs. Operator (1998) Security Question (1997) Emailer choke (1997) About WebDNA (2006) Hiding usernames and passwords in URL (1998) OT: Flash developer needed (2007) [WebDNA] Format Days_To_Date (2008) WebCat2final1 crashes (1997) Associative lookup style? (1997) Signal Raised Error (1997)