Re: [DELETEFILE] via http
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 49984
interpreted = N
texte = If the remote server has some other CGI program that can delete the files when the file name is passed to the server via Get or POST, you could still use TCPConnect to send the file name to the remote server. Then the other CGI program (instead of webdna) could delete the file for you.It would be a wise move to send the request via secure TCPConnect of course, and also to send a predefined a username and password along with the file name, so bad guys cannot use this system to delete files you do not want to have deleted.Other than this, there's no other way I can think of (at the moment) that would allow this task to be performed automatically ...>It's not, the remote server merely serves images from another location, but>the record in the webDNA db refer to them. So I would like it to delete the>image when the record is deleted.>>>> Hi group, is it possible to use the [deletefile] context as below to>>> delete from a remote server via http?>>>>>> The file server is using NT IIS.>>>>>> [DELETEFILE file=http://00.00.00.00/Images/Hires/[getchars>>> start=4][name][/getchars]]>>>>>> If webdna is running on the remote server, all you have to do is>> create a properly coded template on that remote server that has a>> deletefile tag in it. Then use tcpconnect from the local server to>> request that template on the remote server, and the remote file will>> be deleted.>>>------------------------------------------------------------->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/-- Sincerely,Kenneth Grome-------------------------------------------------------------My programmers will write WebDNA code for you at $27 an hour!--------------------------------------------------------------------------------------------------------------------------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:
If the remote server has some other CGI program that can delete the files when the file name is passed to the server via Get or POST, you could still use TCPConnect to send the file name to the remote server. Then the other CGI program (instead of webdna) could delete the file for you.It would be a wise move to send the request via secure TCPConnect of course, and also to send a predefined a username and password along with the file name, so bad guys cannot use this system to delete files you do not want to have deleted.Other than this, there's no other way I can think of (at the moment) that would allow this task to be performed automatically ...>It's not, the remote server merely serves images from another location, but>the record in the webDNA db refer to them. So I would like it to delete the>image when the record is deleted.>>>> Hi group, is it possible to use the [deletefile] context as below to>>> delete from a remote server via http?>>>>>> The file server is using NT IIS.>>>>>> [DELETEFILE file=http://00.00.00.00/Images/Hires/[getchars>>> start=4][name][/getchars]]>>>>>> If webdna is running on the remote server, all you have to do is>> create a properly coded template on that remote server that has a>> deletefile tag in it. Then use tcpconnect from the local server to>> request that template on the remote server, and the remote file will>> be deleted.>>>------------------------------------------------------------->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/-- Sincerely,Kenneth Grome-------------------------------------------------------------My programmers will write WebDNA code for you at $27 an hour!--------------------------------------------------------------------------------------------------------------------------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/
Kenneth Grome
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:
Bad creator codes which cause access denied errormessage (1997)
[searchString] (1997)
Tax Rates returns only 0.00 (2000)
Major Security Hole (1998)
WebCat2b13MacPlugin - [math][date][/math] problem (1997)
Credit Card Checking?? (1998)
Image Upload and Auto Resize? (2003)
Error reading data -1 (1997)
For those of you not on the WebCatalog Beta... (1997)
Running _every_ page through WebCat ? (1997)
Merry Christmas (2002)
Re:no [search] with NT (1997)
Shell traceroute (2001)
Word Bolding (1996)
Formulas.db (2001)
New Image Gallery using WebDNA and ImageMagick (2003)
Email troubles (2005)
Snake Bites (1997)
Sorry WebDNA server not running (2002)
Simple Store (2000)