Topic "Access Denied"

Author Message
Pje
[View user's profile]

Joined: 2009-01-27
Posts: 3
Location: Denmark
Can someone tell me whot is wrong whit this:

option batch on
option confirm off
open ftp:\\user:password@domain.dk
option transfer binary
put -delete C:\TEMP\hej.txt
close
exit

i get an Access denied messege, And i dont now why.
JimGriffith
[View user's profile]

Joined: 2009-02-19
Posts: 21
I tried your script with my own setup and received the access denied too. I changed it to what I put below and it worked for me. Obviously weather you can do the delete or not is based on your credentials and setup on the server side.

open ftp:user:password@domain.dk
option confirm off
option transfer binary
rm c:\temp\hej.txt
exit
Pje
[View user's profile]

Joined: 2009-01-27
Posts: 3
Location: Denmark
Thanks this worked
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