Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deleting Files

Status
Not open for further replies.

jwocky

Programmer
Mar 2, 2005
4
US
Hi all
I need a script to upload files from our laptops when they dialed into our office. I modified the one I found here
and it works beautiful. So my question is, how do I clear out the upload dirctory on the local host once the ftp is complete? something similar to del *.* ?
Thanks in advance
 
You can use the delfile command to delete files on the local PC. It does not support wildcards, so you will likely want to delete the file after you have uploaded it, or you could use findfirst/findnext to iterate through all of the files in the specified directory.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top