Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Nhazffs

Finded with add -delete after put ><
Nhazffs

Problem to delete

Hello,

I'm new in programming and my english is very bad, sorry

I want to delete all files in a local folder, but i fail

////////////////////////////////////////////////////////
option batch on

option confirm off

# open user:XXXXXXX

open ftp://XXXXXXX

option transfer binary

put c:\temp\PDF\ *.pdf* www/certificat/PDF

# don't know how do work rm for local :(
# should i do : rm *.pdf* c:\temp\PDF\
# Or something like : lcd c:\temp\PDF\
# rm *.pdf*
#

close
exit
///////////////////////////////////////////////////////////////////

So my upload work great but i can't remove files in local folder c:\temp\PDF\
I do like that because my .bat copy files at launching in another folder so these one are just tempory folders.
I already checked the doc and forum so can someone tell me where i'm wrong : /