TCPConnect/TCPSend/FTP syntax
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 27983
interpreted = N
texte = This may be slightly off-topic, but I'm using TCPCONNECT/SEND to do this:I would like to be able to FTP into an FTP site and change some file names. if I just had to change one specific file name (or two, or three, etc) this would be a piece of cake. However, I don't know the names of the files. All I know is that they end in .ord (I'd like to change the end to .done). I have two plans to do thisPLAN A: Employ some sort of wild card command.If this were UNIX, I would just say mv *.ord *.done. However, I can't find any sort of wildcard for FTP commands.PLAN B: GET THE FILE LISTIf no wildcard exists, I'd like to be able to retrieve the file list and parse out any files that contain .ord At that point, I would pass them into a [TEXT] variable and [LOOP] through some FTP commands to rename each file. I know that the FTP command to get a directory listing is LIST, but it doesn't seem to work.Does anyone have FTP command experience that could help me? i've looked all over the web and can't find anything useful.Thanks,Michael-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go 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:
|
- TCPConnect/TCPSend/FTP syntax (Michael Winston 2000)
|
This may be slightly off-topic, but I'm using TCPCONNECT/SEND to do this:I would like to be able to FTP into an FTP site and change some file names. if I just had to change one specific file name (or two, or three, etc) this would be a piece of cake. However, I don't know the names of the files. All I know is that they end in .ord (I'd like to change the end to .done). I have two plans to do thisPLAN A: Employ some sort of wild card command.If this were UNIX, I would just say mv *.ord *.done. However, I can't find any sort of wildcard for FTP commands.PLAN B: GET THE FILE LISTIf no wildcard exists, I'd like to be able to retrieve the file list and parse out any files that contain .ord At that point, I would pass them into a [text] variable and [loop] through some FTP commands to rename each file. I know that the FTP command to get a directory listing is LIST, but it doesn't seem to work.Does anyone have FTP command experience that could help me? i've looked all over the web and can't find anything useful.Thanks,Michael-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go 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
Michael Winston
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:
[WebDNA] Basic Search (2008)
webcat (2000)
Multi-processor Mac info ... (1997)
File Upload (1997)
WebCat2b12 CGI Mac - [shownext] problem (1997)
Template Cache problem, bombing WebSTAR problem (2000)
Emailer on NT CAN'T handle large email files (1997)
ssl support WDNA 5.0 (2003)
Quitting WebMerchant ? (1997)
[shownext] and descending order (1997)
A little syntax help (1997)
Emailer port change (1997)
[OT] Friday Time Waster (2003)
Execute Applescript (1997)
autosensing lanague selection (1997)
creating a ShipCosts database (1997)
searching multiple databases in single search (1997)
can webcat create directories on NT? (1997)
New Command prefs ... (1997)
WebCat & WebTen (1997)