Topic "Problem to delete"

Author Message
Nhazffs
[View user's profile]

Joined: 2014-01-14
Posts: 2
Location: FRANCE
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 Sad
# 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 : /
Nhazffs
[View user's profile]

Joined: 2014-01-14
Posts: 2
Location: FRANCE
Finded with add -delete after put ><
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License