Re: Automated FTP from Shell

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 60248
interpreted = N
texte = Hi there I have posted earlier that we install ncftpclient, some use curl.= Withit installed you can enter the shell and issue the ncftpls c= ommand to get a remote file listing. Just a thought. Nitai -- Redakto - Content Management that simply works Content Management & eBusiness Systems ComputerOil=C2=AE AG Dammstrasse 7 5400 Baden / Switzerland Telefon +41 (0)844 44 55 66 info@computeroil.com http://computeroil.com > -----Original Message----- > From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On B= ehalf Of > Steve Craig > Sent: Dienstag, 30. November 2004 14:24 > To: WebDNA Talk > Subject: Re: Automated FTP from Shell > > Hi > > Is there a way to get a list of files on the remote server usin= g ftp in > [shell]? > > I know in the terminal I would use dir once I had logged in, I=20= was just > wondering if their is a single line way of logging in and retur= ning the > list. Sorry if this is easy, I just don't use the Shell that mu= ch. > > Cheers > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Steve Craig - Asylum Interactive Ltd > Tel +44 1224 642960 Fax +44 1224 642962 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > http://www.asylumweb.com > Email: steve@asylumweb.com > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > > From: "Kaiwi, Marc" > > Reply-To: WebDNA Talk > > Date: Mon, 29 Nov 2004 14:41:15 -0800 > > To: WebDNA Talk > > Subject: Re: Automated FTP from Shell > > > > hahaha, I'm kind of kooky about getting things to work ... si= mple 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=20= 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 t= o 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=20= Actions > folder. > > The client's application requires them to upload photos to th= e > webserver. I > > attached the script to a particular folder and now whenever a= ny file is > > dropped in the folder it is immediately uploaded to the serve= r. A > trigger > > based WebDNA script does a [listfiles...] on the server folde= r 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/= > > > > > ------------------------------------------------------------- > 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 digest@talk.smithmicro.com> > 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)
Hi there I have posted earlier that we install ncftpclient, some use curl.= Withit installed you can enter the shell and issue the ncftpls c= ommand to get a remote file listing. Just a thought. Nitai -- Redakto - Content Management that simply works Content Management & eBusiness Systems ComputerOil=C2=AE AG Dammstrasse 7 5400 Baden / Switzerland Telefon +41 (0)844 44 55 66 info@computeroil.com http://computeroil.com > -----Original Message----- > From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On B= ehalf Of > Steve Craig > Sent: Dienstag, 30. November 2004 14:24 > To: WebDNA Talk > Subject: Re: Automated FTP from Shell > > Hi > > Is there a way to get a list of files on the remote server usin= g ftp in > [shell]? > > I know in the terminal I would use dir once I had logged in, I=20= was just > wondering if their is a single line way of logging in and retur= ning the > list. Sorry if this is easy, I just don't use the Shell that mu= ch. > > Cheers > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Steve Craig - Asylum Interactive Ltd > Tel +44 1224 642960 Fax +44 1224 642962 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > http://www.asylumweb.com > Email: steve@asylumweb.com > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > > From: "Kaiwi, Marc" > > Reply-To: WebDNA Talk > > Date: Mon, 29 Nov 2004 14:41:15 -0800 > > To: WebDNA Talk > > Subject: Re: Automated FTP from Shell > > > > hahaha, I'm kind of kooky about getting things to work ... si= mple 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=20= 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 t= o 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=20= Actions > folder. > > The client's application requires them to upload photos to th= e > webserver. I > > attached the script to a particular folder and now whenever a= ny file is > > dropped in the folder it is immediately uploaded to the serve= r. A > trigger > > based WebDNA script does a [listfiles...] on the server folde= r 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/= > > > > > ------------------------------------------------------------- > 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 digest@talk.smithmicro.com> > 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/ "Nitai @ ComputerOil"

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:

Sort Issue? (2000) Trying to append from within a single template file (2005) Add a field to the error log? (1997) Linux problems (2000) searchable list archive (1997) E-mailer error codes (1997) iis 4.0 (1997) WebCatalog seems to choke on large (2meg) html files. (1998) Webcat/Webmerchant (1998) Alternating colors (1997) Firesite and [referrer] atg broke (1997) Re:Remote stockroom ? (1998) Batch upload (2005) Linux Beta4 Problem (2000) OS X permissions to write to Globals directory (2003) Categories and Sub-categories (2003) WC1.6 to WC2 date formatting (1997) Press Release hit the NewsWire!!! (1997) WebCat and WebTV (1997) WebCat2b15MacPlugin - showing [math] (1997)