Access Denied

Advertisement

Pje
Joined:
Posts:
3
Location:
Denmark

Access Denied

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.

Reply with quote

Advertisement

JimGriffith
Joined:
Posts:
18

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

Reply with quote E-mail

Advertisement

You can post new topics in this forum