Re: Automated FTP from Shell

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 60227
interpreted = N
texte = hahaha, I'm kind of kooky about getting things to work ... simple ftp = command seems to work fine. You had it right Larry with the -u option, all you needed was the = trailing slash in the URL. Sales Pitch: "The one line solution with no = optional software" ... ftp -u ftp://username:passowrd@host/ file-to-put.txt I'm a nut that way ... : c) MK -----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Joe D'Andrea Sent: Monday, November 29, 2004 1:07 PM To: WebDNA Talk Subject: Re: Automated FTP from Shell At 10:29 AM -0800 11/29/04, Larry Hewitt wrote: >Has anyone built an automated FTP session to upload a file to a remote = FTP server using SHELL and OSX's UNIX ftp program? I had done a search a while ago and found an FTP upload apple script. I = modified it for my particular use and saved it in the Folder Actions = folder. The client's application requires them to upload photos to the = webserver. I attached the script to a particular folder and now whenever = any file is dropped in the folder it is immediately uploaded to the = server. A trigger based WebDNA script does a [listfiles...] on the = server folder from time to time and posts the photos to user profiles. ~joe ------------------------------------------------------------- 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: Automated FTP from Shell ( "Kaiwi, Marc" 2004)
  2. Re: Automated FTP from Shell ( "Nitai @ ComputerOil" 2004)
  3. Re: Automated FTP from Shell ( Steve Craig 2004)
  4. Re: Automated FTP from Shell ( Happy Christmas from Phil! 2004)
  5. Re: Automated FTP from Shell - Update ( "Nitai @ ComputerOil" 2004)
  6. Re: Automated FTP from Shell - Update ( John Peacock 2004)
  7. Re: Automated FTP from Shell - Update ( "Nitai @ ComputerOil" 2004)
  8. Re: Automated FTP from Shell - Update ( Bob Minor 2004)
  9. Re: Automated FTP from Shell - Update ( "Kaiwi, Marc" 2004)
  10. Re: Automated FTP from Shell ( "Kaiwi, Marc" 2004)
  11. Re: Automated FTP from Shell - Update ( "Nitai @ ComputerOil" 2004)
  12. Re: Automated FTP from Shell ( Joe D'Andrea 2004)
  13. Re: Automated FTP from Shell - Update ( "Kaiwi, Marc" 2004)
  14. Automated FTP from Shell - Update ( Larry Hewitt 2004)
  15. Re: Automated FTP from Shell ( Larry Hewitt 2004)
  16. Re: Automated FTP from Shell ( "Nitai @ ComputerOil" 2004)
  17. Re: Automated FTP from Shell ( "Kaiwi, Marc" 2004)
  18. Re: Automated FTP from Shell ( Aaron Lynch 2004)
  19. Re: Automated FTP from Shell ( Jesse Proudman 2004)
  20. Automated FTP from Shell ( Larry Hewitt 2004)
hahaha, I'm kind of kooky about getting things to work ... simple ftp = command seems to work fine. You had it right Larry with the -u option, all you needed was the = trailing slash in the URL. Sales Pitch: "The one line solution with no = optional software" ... ftp -u ftp://username:passowrd@host/ file-to-put.txt I'm a nut that way ... : c) MK -----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Joe D'Andrea Sent: Monday, November 29, 2004 1:07 PM To: WebDNA Talk Subject: Re: Automated FTP from Shell At 10:29 AM -0800 11/29/04, Larry Hewitt wrote: >Has anyone built an automated FTP session to upload a file to a remote = FTP server using SHELL and OSX's UNIX ftp program? I had done a search a while ago and found an FTP upload apple script. I = modified it for my particular use and saved it in the Folder Actions = folder. The client's application requires them to upload photos to the = webserver. I attached the script to a particular folder and now whenever = any file is dropped in the folder it is immediately uploaded to the = server. A trigger based WebDNA script does a [listfiles...] on the = server folder from time to time and posts the photos to user profiles. ~joe ------------------------------------------------------------- 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/ "Kaiwi, Marc"

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:

taxTotal (1997) [WebDNA] Code Library (2013) Where's Cart Created ? (1997) wrong input values? (1997) Blank orders after update to 5.1 (2003) WebDNA Solutions ... sorry! (1997) [WebDNA] WebDNA on PowerPC Leopard Server (2009) unitshipcost vs shipcosts (1997) listfiles, moving files (1998) is your webDNA site 'froogle' ready ??? (2003) WebCatalog2 Feature Feedback (1996) turning every 5th line red (1998) email [title] (1997) extending webcatalog (1997) AutoCommit Preference? (1998) Sending an email to all )or some) email addresses int he database (1999) stuck time (1998) WC2b12: Yes, Formulas.db is for real (1997) Fun with Dates - revisited (again) (1997) WebCat2 - [format thousands] (1997)