Re: Automated FTP from Shell
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 60240
interpreted = N
texte = HiIs there a way to get a list of files on the remote server using ftp in[shell]?I know in the terminal I would use dir once I had logged in, I was justwondering if their is a single line way of logging in and returning thelist. Sorry if this is easy, I just don't use the Shell that much.Cheers========================================Steve Craig - Asylum Interactive LtdTel +44 1224 642960 Fax +44 1224 642962========================================http://www.asylumweb.comEmail: steve@asylumweb.com========================================> 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 ... 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/-------------------------------------------------------------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:
HiIs there a way to get a list of files on the remote server using ftp in[shell]?I know in the terminal I would use dir once I had logged in, I was justwondering if their is a single line way of logging in and returning thelist. Sorry if this is easy, I just don't use the Shell that much.Cheers========================================Steve Craig - Asylum Interactive LtdTel +44 1224 642960 Fax +44 1224 642962========================================http://www.asylumweb.comEmail: steve@asylumweb.com========================================> 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 ... 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/-------------------------------------------------------------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/
Steve Craig
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:
[OT] md5 or sha-1 on OSX (2007)
Emailer (WebCat2) (1997)
FYI: Apache Module perchild (2002)
URL too Long? (1997)
Don't tick me off :) [elaspedtime] (1997)
emailer (1997)
Limiting user access to .tmpl files (1997)
Error (1997)
WC on Linux question (2001)
Help formatting search results w/ table (1997)
WebCat2b13MacPlugIn - [include] (1997)
Where is f2? (1997)
Auto Fill Forms (2000)
Country & Ship-to address & other fields ? (1997)
WebCat B13 Mac CGI -- Frames question (1997)
Looking for a host (1997)
Help! WebCat2 bug (1997)
Alternative To WebDNA? (2006)
WebCat2 beta 11 - new prefs ... (1997)
Multiple Stores and WebCatalog Prefs (1997)