VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: emedina on August 12, 2019, 17:49:12 PM

Title: upload images to NAS
Post by: emedina on August 12, 2019, 17:49:12 PM
Hi everybody

Anybody knows if exists any comercial plugin to upload images to a NAS?
Maybe a pluggin trigger lik VmOnImageUpload?

I need to host images in an external host: upload them and then $product->images[0]->file_url must be like = 'http://myNas.com/xxxx'

Thanks
Title: Re: upload images to NAS
Post by: Studio 42 on August 13, 2019, 15:22:12 PM
Noo so easy, you cannot upload directly, so perhaps you should add a PHP code to get a copy of the file.
Another way can be to use FTP. See https://www.w3schools.com/php/func_ftp_put.asp
Title: Re: upload images to NAS
Post by: emedina on August 13, 2019, 17:28:38 PM
now i'm uploading in php using ftp, but i have overrided image model
Title: Re: upload images to NAS
Post by: Milbo on August 27, 2019, 18:06:51 PM
Consider a membership
https://extensions.virtuemart.net/support-updates/virtuemart-membership

and it will be written for you and permanently in the core.
Title: Re: upload images to NAS
Post by: emedina on September 26, 2019, 07:40:49 AM
is this the new feature in 3.6, uploading to remote server?