Re: [WebDNA] jumpstart me? - how to auto-upload to a remote server?
This WebDNA talk-list message is from 2010
It keeps the original formatting.
numero = 105701
interpreted = N
texte = >> Anyway if all I need is just this one little FTP upload.. isn't it >> just one small simple [shell] command, on a tiny page I hit daily >> with a trigger?> The tool you want is curl. Run "man curl" from a terminal window to > see what the various options are.>> It will be something along the lines of "curl path-to-file ftp://username:password@ftp.someserver.com/folder1/folder2/filename > "For anyone who was following this thread (and who also may someday need to go (like I did) from mostly command-line-newbie, to successfully using webdna's [shell] for (auto) FTP'ing file(s) to a remote host) -After some tweaking, I got it working! (Thank you again Grant! - for saving me God-knows-how-many hours with the jumpstart you gave me :-)I am successfully (test-)uploading from my local machine to a remote server where I have an ftp acct....and (later) once i get the FTP access for the 3rd party FTP acct where I am actually needing to upload to, then I can finish tweaking the curl command so it works for that account (God willing they do not have weird settings there, that force me to wade through much more of the command-line manual).Anyway, this is just a note that in case anyone else comes to this crossroads.. don't hesitate to ask me for help/sample code. (Off- list, if all you need is the curl command itself, which has nothing to do with webdna directly.)------------Govindagovinda.webdnatalk@gmail.com
Associated Messages, from the most recent to the oldest:
>> Anyway if all I need is just this one little FTP upload.. isn't it >> just one small simple
[shell] command, on a tiny page I hit daily >> with a trigger?> The tool you want is curl. Run "man curl" from a terminal window to > see what the various options are.>> It will be something along the lines of "curl path-to-file ftp://username:password@ftp.someserver.com/folder1/folder2/filename > "For anyone who was following this thread (and who also may someday need to go (like I did) from mostly command-line-newbie, to successfully using webdna's
[shell] for (auto) FTP'ing file(s) to a remote host) -After some tweaking, I got it working! (Thank you again Grant! - for saving me God-knows-how-many hours with the jumpstart you gave me :-)I am successfully (test-)uploading from my local machine to a remote server where I have an ftp acct....and (later) once i get the FTP access for the 3rd party FTP acct where I am actually needing to upload to, then I can finish tweaking the curl command so it works for that account (God willing they do not have weird settings there, that force me to wade through much more of the command-line manual).Anyway, this is just a note that in case anyone else comes to this crossroads.. don't hesitate to ask me for help/sample code. (Off- list, if all you need is the curl command itself, which has nothing to do with webdna directly.)------------Govindagovinda.webdnatalk@gmail.com
Govinda
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:
Postprocessing CCs (2000)
[WebDNA] incomplete redirect tag (2009)
off topic - dna snipets (1997)
WebCat2b13MacPlugIn - syntax to convert date (1997)
AuthorizeNet Down? (2001)
The IBC root beer has arrived! (1997)
still having shipCost.db Problem (1997)
WebCatalog and directory indexing (1998)
Crazy dates (was: sorting dates) (1999)
Changing price for a SLU based on options (size, etc.) (1997)
Changing the value assigned to a formvariable (2000)
is sku a REQUIRED field on NT (1997)
[input] questions (1997)
Re2: frames & carts (1997)
New Command prefs ... (1997)
server2003 issue (OT) (2006)
oops private message leaked into talk list (1997)
Country & Ship-to address & other fields ? (1997)
Authorize.net setup (2002)
Keep away (1997)