Re: Image upload
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 29237
interpreted = N
texte = Use applescript to reanem the file?[listfiles [cart]][applescript]tell application finder set name of file [filename] to Blahend tell[/applescript]Then move file.The trick is to get the path into the applescript. Jesse Proudman - NineWire Productions http://www.ninewire.com <-> jesse@ninewire.com Innovative and Creative Web Design and Hosting> -----Original Message-----> From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On> Behalf Of Larry Orchier> Sent: Friday, March 17, 2000 9:45 PM> To: WebCatalog Talk> Subject: Re: Image upload> > > What happens when the clients upload files with spaces in the > names? I have been unable to get [movefile] to work with files > with spaces in the middle. > > > > On Friday, March 17, 2000, Jesse Proudman
wrote:> >What I've been thinking for something like this is on the page with the> >upload form have code like:> >> >[createfolder [cart]]> >[writefile [cart]/index.html]META REDIRECT TO index.tpl[/writefile]> >[writefile [cart]/index.tpl]INDEX.TPL File[/writefile]> >> >and then submit.> >> >The on the index.tpl file, to a listfiles context on the folder, > delete in> >the index.tpl and index.html, and movefile the last file left to > a new area> >and then delete the [cart] folder.> >> > Jesse Proudman - NineWire Productions> > http://www.ninewire.com <-> jesse@ninewire.com> > Innovative and Creative Web Design and Hosting> >> >> -----Original Message-----> >> From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On> >> Behalf Of Brian B. Burton> >> Sent: Friday, March 17, 2000 1:09 PM> >> To: WebCatalog Talk> >> Subject: Image upload> >>> >>> >> The good news (that I've heard of) is that WebCatalog allows you> >> from within> >> WebCat4 to upload a file on the same page as other data fields.> >>> >> The bad news is this that WebCat4 isn't ready yet, and I have > to quickly> >> finish a solution to allow the public to upload pictures via a> >> web form to a> >> website. This site is hosted on a Mac, with WebSTAR, which > includes a file> >> upload plugin. Does anybody have any experience using this. Any> >> tips for how> >> to have people name the file before uploading it, or how to have> >> WebCatalog> >> find the file they just uploaded and rename it.> >>> >> Thanks for any help.> >>> >> Brian B. Burton> >> BOFH - Department of Redundancy Department> >> ---------------------------------------------------------------> >> MMT Solutions - Specializing in Online Shopping Solutions> >> 973-808-8644 http://www.safecommerce.com> >>> >> By three methods we may learn wisdom: First, by reflection, which is> >> noblest; Second, by imitation, which is easiest; and third by > experience,> >> which is the bitterest.> >> Confucius> >>> >>> >> -------------------------------------------------------------> >> 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> >> > >>> >> >> >-------------------------------------------------------------> >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> >> > > -------------------------------------------------------------> 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 > -------------------------------------------------------------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
Associated Messages, from the most recent to the oldest:
Use applescript to reanem the file?[listfiles [cart]][applescript]tell application finder set name of file [filename] to Blahend tell[/applescript]Then move file.The trick is to get the path into the applescript. Jesse Proudman - NineWire Productions http://www.ninewire.com <-> jesse@ninewire.com Innovative and Creative Web Design and Hosting> -----Original Message-----> From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On> Behalf Of Larry Orchier> Sent: Friday, March 17, 2000 9:45 PM> To: WebCatalog Talk> Subject: Re: Image upload> > > What happens when the clients upload files with spaces in the > names? I have been unable to get [movefile] to work with files > with spaces in the middle. > > > > On Friday, March 17, 2000, Jesse Proudman wrote:> >What I've been thinking for something like this is on the page with the> >upload form have code like:> >> >[createfolder [cart]]> >[writefile [cart]/index.html]META REDIRECT TO index.tpl[/writefile]> >[writefile [cart]/index.tpl]INDEX.TPL File[/writefile]> >> >and then submit.> >> >The on the index.tpl file, to a listfiles context on the folder, > delete in> >the index.tpl and index.html, and movefile the last file left to > a new area> >and then delete the [cart] folder.> >> > Jesse Proudman - NineWire Productions> > http://www.ninewire.com <-> jesse@ninewire.com> > Innovative and Creative Web Design and Hosting> >> >> -----Original Message-----> >> From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On> >> Behalf Of Brian B. Burton> >> Sent: Friday, March 17, 2000 1:09 PM> >> To: WebCatalog Talk> >> Subject: Image upload> >>> >>> >> The good news (that I've heard of) is that WebCatalog allows you> >> from within> >> WebCat4 to upload a file on the same page as other data fields.> >>> >> The bad news is this that WebCat4 isn't ready yet, and I have > to quickly> >> finish a solution to allow the public to upload pictures via a> >> web form to a> >> website. This site is hosted on a Mac, with WebSTAR, which > includes a file> >> upload plugin. Does anybody have any experience using this. Any> >> tips for how> >> to have people name the file before uploading it, or how to have> >> WebCatalog> >> find the file they just uploaded and rename it.> >>> >> Thanks for any help.> >>> >> Brian B. Burton> >> BOFH - Department of Redundancy Department> >> ---------------------------------------------------------------> >> MMT Solutions - Specializing in Online Shopping Solutions> >> 973-808-8644 http://www.safecommerce.com> >>> >> By three methods we may learn wisdom: First, by reflection, which is> >> noblest; Second, by imitation, which is easiest; and third by > experience,> >> which is the bitterest.> >> Confucius> >>> >>> >> -------------------------------------------------------------> >> 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> >> > >>> >> >> >-------------------------------------------------------------> >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> >> > > -------------------------------------------------------------> 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 > -------------------------------------------------------------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
Jesse Proudman
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:
Country & Ship-to address & other fields ? (1997)
wc 2 pro users - sites, quotes wanted (1997)
Linux vs Jaguar (OSX) (2002)
Quitting WebMerchant ? (1997)
Download (1999)
[Sum] function? (1997)
A little help on e-mail (HELP!!! :-) ) (1998)
[WebDNA] Live Currency exchanege rates (2008)
Search all Fields in a db (1997)
is this how [break] works? (1998)
Problems with [Search] param - Mac Plugin b15 (1997)
[lookup] speed sales pitch (2003)
[WebDNA] Mac Question (2018)
One Hour Email (2002)
WebDNA dying or ... ? (2005)
Interfacing WebMerchant to www.fedex.com (1997)
search context w shownext works! (1997)
Bookmarked URL with cart (1998)
[FileInfo] strangeness (1998)
Cart Transfer from Un-Secure to Secure (2000)