x
Yes No
Do you want to visit DriveHQ English website?
Forum Index \ DriveHQ Customer Support Forum \
Reply
Read/Reply : 21946/2

I would need to download a file over FTP from DriveHQ but it always doesnt have permissions could someone help me with that? I verified that both my ftp password and username are correct 


1/1/2019 8:07:05 AM

If you try to download a file from a folder shared to you by another user, please make sure that folder is still shared to you, and that the folder was shared with Download or a higher level permission.

If you try to download a file from your own account, there should be no permission issue at all. Please verify that you can download files using FileZilla first and check if your code is sending the same (or similar) FTP commands. We usually don't support your own code or custom software. But if you have a business level subscription, you can try to send an email to DriveHQ customer support. 


Reply
1/17/2019 11:19:57 AM

This will work - :)         

 

$conn = ftp_ssl_connect(IMG_FTP_HOST);

 
if(!$conn)
{
exit("Can not connect to server: ".IMG_FTP_HOST."\n");
}
 
if(!ftp_login($conn,IMG_FTP_USERNAME,IMG_FTP_PASSWORD))
{
ftp_quit($conn);
exit("Can't login\n");
}
 
ftp_set_option($conn, FTP_USEPASVADDRESS, false); // set ftp option
 
ftp_pasv($conn, true); //make connection to passive mode
 
ftp_chdir($conn,$DIR);
 
$files = ftp_nlist($conn, '.');

Reply
3/6/2020 5:06:05 AM

Quickly Reply
Top

Please logon and reply, Not DriveHQ Member?



Leading Cloud Surveillance service

Leading Enterprise Cloud IT Service Since 2003