Topic "Delete Files - Permission denied"

Author Message
Ralf

Guest


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
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
I do not see why the slash at the beginning is a problem. Why the server does not accept it?
_________________
Martin Prikryl
Ralf

Guest


Hi,

I don't know. But I found this message http://winscp.net/forum/viewtopic.php?t=7140

It's the same problem (with WS FTP Por as server).

Ralf
Guest




Ralf wrote:
Hi,

I don't know. But I found this message http://winscp.net/forum/viewtopic.php?t=7140

It's the same problem (with WS FTP Por as server).

Ralf



Edit: In WS FTP Pro there is in the User settings an option named 'Show home folder as root'... Now everingthing works fine !!!
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Anonymous wrote:
Edit: In WS FTP Pro there is in the User settings an option named 'Show home folder as root'... Now everingthing works fine !!!

Thanks for sharing the information!
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