Delete Files - Permission denied
Hi,
I use WinSCP V 4.2.7 as Client, the Server is WS FTP Pro 7.
The Code I use is something like that:
get -delete *.txt "D:\Beispiel FTP Transfer\Download vom Transparenztool\*.txt"
and I get Permission denied. In the log-file I can see something like this:
Deleting file "7886701145_137_2010.txt".
DELE /export/tsnl_no/7886701145_137_2010.txt
450 Deletion failed
The problem is the / at the beginning. In the Command-Line this will delete the file:
Executing user defined command.
dele export/tsnl_no/7886701145_137_2010.txt
250 deleted
Getting current directory name.
How can I change my script so that there is no / at the beginning of the commmands? Or is this only a Problem of WS FTP Pro 7 (FileZilla works fine)?
Thanks,
Ralf
I use WinSCP V 4.2.7 as Client, the Server is WS FTP Pro 7.
The Code I use is something like that:
get -delete *.txt "D:\Beispiel FTP Transfer\Download vom Transparenztool\*.txt"
and I get Permission denied. In the log-file I can see something like this:
Deleting file "7886701145_137_2010.txt".
DELE /export/tsnl_no/7886701145_137_2010.txt
450 Deletion failed
The problem is the / at the beginning. In the Command-Line this will delete the file:
Executing user defined command.
dele export/tsnl_no/7886701145_137_2010.txt
250 deleted
Getting current directory name.
How can I change my script so that there is no / at the beginning of the commmands? Or is this only a Problem of WS FTP Pro 7 (FileZilla works fine)?
Thanks,
Ralf