Dear drivehq.com. I am a new user but so far i am very satisfied with your service. But i have a small prolem, whch i tihink you will be able to help me.
I am using ubuntu 11.10 and I want to write a small script which will upload/update a certan file once a day. I do i using this script belo. I connect, change the mode to passive and the file transfer mode to binary, but when i use the put command (i intend to upload in the root directory) i have an error. Please help me.
lamersoft@Rosen-PC2:~$ sudo ftp -i -n ftp.drivehq.com
[sudo] password for lamersoft:
Connected to ftp.mbizgroup.biz.
220 Welcome to the most popular FTP hosting service! Save on hardware, software, hosting and admin. Share files/folders with read-write permission. Visit http://www.drivehq.com/ftp/;
ftp> passive
Passive mode on.
ftp> user my_username my_password
331 User name ok, need password.
230 User logged on. Free service has restrictions and is slower.
Remote system type is UNIX.
ftp> binary
200 Type set to I
ftp> cd /
250 CWD command successful. "/" is current directory.
ftp> put /home/lamersoft/P
local: /home/lamersoft/P remote: /home/lamersoft/P
227 Entering Passive Mode (66,220,9,50,51,48).
550 Permission denied.
ftp>
What should i do? Please help.