Re: FTP and [shell]
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 52433
interpreted = N
texte = Hi,Here is how it works.Create a file and name it whatever. I named mine shellftp.sh for ease ofrecognition.-- shellftp.sh#dataftp#ftp script#ftp -inv <To: "WebDNA Talk"
Sent: Friday, August 22, 2003 7:09 AMSubject: Re: FTP and [shell]> I need to do something like this too. Is there a reason regular OSX> command-line FTP can't work? It seems like webdna@inkblotmedia.com's shell> script uses regular FTP? Would some knowledgeable soul point me to some> documentation for doing FTP via shell scripts (I don't know enough to> understand the shell script example well enough to be sure I know how to> modify it for my purposes, and I don't know how to run it via my shell> access to my server to test it). Also--I think this might be in the> archives, but would someone who knows be willing to reiterate, in:> [shell]/path/to/shellftp.sh[/shell]> where does that "/" take you to--the virtual root of the web site?>> Velma>> At 02:35 AM 8/22/2003, you wrote:> >You can also use curl to do this, it's already there in osx.> >> >Man curl> >(cuz I've never actually done it)> >> >> > >>> > >>> > >>> Best approach is to just write a unix shell script -- to do the ftpstuff> > >>> that you want -- then use the WebDNA [shell] to just execute that> > >> script...> > >>>> > >>> On 8/21/03 4:22 PM, "Matthew Bohne"> > >>> wrote:> > >>>> > >>>> Running WebCat 4.5 on an OSX Xserve> > >>>>> > >>>> I need to use [shell] to run an ftp command to put a file on adifferent> > >>>> 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 ftpprogram?> > >>>> >> > -- Aaron Lynch --> > -- C.T.O. NineWire Digital Solutions --> >> >-- Artificial intelligence is no match for natural stupidity. --> >>> ----------------------------------------> Velma Kahn> Glory Day Software Company> 200 Tanager Ln NW, Floyd, Virginia 24091, U.S.A.> phone: 540-745-6469 * fax: 651-321-4884> email: vkahn@glorydaysoftware.com> http://www.glorydaysoftware.com> http://www.communitymade.com> http://www.floydcrafts.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:
Hi,Here is how it works.Create a file and name it whatever. I named mine shellftp.sh for ease ofrecognition.-- shellftp.sh#dataftp#ftp script#ftp -inv <[shell]/path/to/shellftp.sh[/shell]or[shell]sudo /path/to/shellftp.sh[/shell]depending on how you set permissions.The / willt ake you to the root level of the Unix (OSX which is just abastardized BSD) server.1.) / = root2.) ./ = same directory you are currently in3.) ../ = up one directoryHope this helps.Ronny Mc----- Original Message ----- From: "Velma Kahn" To: "WebDNA Talk" Sent: Friday, August 22, 2003 7:09 AMSubject: Re: FTP and [shell]> I need to do something like this too. Is there a reason regular OSX> command-line FTP can't work? It seems like webdna@inkblotmedia.com's shell> script uses regular FTP? Would some knowledgeable soul point me to some> documentation for doing FTP via shell scripts (I don't know enough to> understand the shell script example well enough to be sure I know how to> modify it for my purposes, and I don't know how to run it via my shell> access to my server to test it). Also--I think this might be in the> archives, but would someone who knows be willing to reiterate, in:> [shell]/path/to/shellftp.sh[/shell]> where does that "/" take you to--the virtual root of the web site?>> Velma>> At 02:35 AM 8/22/2003, you wrote:> >You can also use curl to do this, it's already there in osx.> >> >Man curl> >(cuz I've never actually done it)> >> >> > >>> > >>> > >>> Best approach is to just write a unix shell script -- to do the ftpstuff> > >>> that you want -- then use the WebDNA [shell] to just execute that> > >> script...> > >>>> > >>> On 8/21/03 4:22 PM, "Matthew Bohne"> > >>> wrote:> > >>>> > >>>> Running WebCat 4.5 on an OSX Xserve> > >>>>> > >>>> I need to use [shell] to run an ftp command to put a file on adifferent> > >>>> 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 ftpprogram?> > >>>> >> > -- Aaron Lynch --> > -- C.T.O. NineWire Digital Solutions --> >> >-- Artificial intelligence is no match for natural stupidity. --> >>> ----------------------------------------> Velma Kahn> Glory Day Software Company> 200 Tanager Ln NW, Floyd, Virginia 24091, U.S.A.> phone: 540-745-6469 * fax: 651-321-4884> email: vkahn@glorydaysoftware.com> http://www.glorydaysoftware.com> http://www.communitymade.com> http://www.floydcrafts.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:
Help name our technology! (1997)
[OT] JavaScript Error (2002)
Results table formatting (2003)
Faxing orders in place of email (1997)
webcat error log (1998)
Database Updates (1997)
Secure server question (1997)
WebCatalog Upgrade Pricing? (1997)
Misunderstanding?? (1997)
[WebDNA] MD5 encryption (2011)
[HIDEIF] inside [FOUNDITEM] (1997)
Some Questions (1997)
Command=FlushDatabases Question... (2001)
WebCat2_Mac RETURNs in .db (1997)
Re[2]: POSTing to a secure server ... (2000)
Busted at the Border (1998)
WebCat2 - Getting to the browser's username/password data (1997)
[WriteFile] problems (1997)
off topic - dna snipets (1997)
Need help with emailer- 2 issues (1997)