Forum Index \ DriveHQ Customer Support Forum \
Read/Reply : 9872/3
  • lamersoft
  • (3 posts)

Dear 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
[sudo] password for lamersoft:
Connected to
220 Welcome to the most popular FTP hosting service! Save on hardware, software, hosting and admin. Share files/folders with read-write permission. Visit;
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.


What should i do? Please help.

3/2/2012 5:47:43 PM

  • DriveHQSupport
  • (420 posts)
Subject: Re:Error 550 Permission denied ubuntu script

Do you have this folder ( /home/lamersoft/P ) already created? If not, please create the folder first.

Please try to change:

put  /home/lamersoft/P


cd  /home/lamersoft

put p




3/2/2012 5:58:14 PM

  • lamersoft
  • (3 posts)
Subject: Re:Error 550 Permission denied ubuntu script

Thank you for the fast response. I have created on the ftp folder /home/lamesoft and after that i could upload the file to it. My question is. If the file is situated on my computer in /home/lamersoft how can i upload it on the ftp in directory called /lamersoft/ ?

3/3/2012 1:53:16 AM

  • lamersoft
  • (3 posts)
Subject: Re:Error 550 Permission denied ubuntu script

* FIXED Again thank you very much for your tips. The solution to my problem:

ftp -i -n
user my_username my_password
put /home/lamersoft/ /lamersoft/

3/3/2012 3:22:56 AM

Quickly Reply

Please logon and reply, Not DriveHQ Member?