Questions tagged [ftp]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
2k views

Upload local file to sever SFTP via curl php

I am trying to implement upload local file to server via sftp curl method but facing File upload error. Error number: 7. Here is my code. <?php $ourFileName = "/var/www/html/example.com/...
0 votes
1 answer
1k views

Magento2.3: How to send a file using SFTP connection?

I have successfully connected SFTP in magento 2 by referring the below URL: How to connect SFTP in magento 2 Now, I want to send a file to that server. In order to send a file, how can I proceed? ...
1 vote
2 answers
1k views

Errors in composer when trying to install extensions via composer

Magento ver. 2.4.5-p1 Smartwave Porto theme I am trying to install the 'Multiple Shipping Flat Rates' extension from Mageplaza as per a recommendation here: Easiest way to add a second flat rate ...
0 votes
1 answer
181 views

Unable to open SFTP connection

I have to read CSV files from an ftp and copy it to my magento2 var folder. I'm getting this exception Exception #0 (Exception): Unable to open SFTP connection When I tried with main cpanel user,it ...
0 votes
0 answers
193 views

ftp_connect function not working to connect with localhost in MAC

I have tried so many things but ftp_connect and ftp_ssl_connect are not working in my development instance. I am using MAC and PHP8.1, I am trying to connect to localhost with the below simple script: ...
0 votes
1 answer
618 views

Error on FTP file import - Warning: ftp_get(): php_connect_nonb() failed:

I use a third-party extension to deal with product imports - Firebear's Improved Import/Export (Magento 2). It works fine when I upload a file locally but when I try to import a file via FTP from the ...
0 votes
1 answer
27 views

Magento website backups

Sorry for the low level of this question; I'm a beginner, and I'm kinda unaware of the extent of my own ignorance at this point. I need to back up my Magento 2.2.2 website before upgrading to v2.4. So ...
0 votes
1 answer
31 views

loca.xml - 0 bytes

I have downloaded the local.xml file from the directory: /htdocs/app/etc I've amended some code and attempted to re-uploaded the file back to the same directory, via FTP (Filezilla). However, the ...
2 votes
1 answer
3k views

Magento2: How to get content of file from remote sftp?

I have one requirement in which i need to get zip file from remote sftp and read its data after extract it. I see there is class Magento\Framework\Filesystem\Io\Sftp which i can use like below. \...
3 votes
2 answers
3k views

How to send a file using FTP?

I have a sample CSV file and want to send it to another server using FTP. I have successfully connected FTP but couldn't able to send the file. In the FTP where I want to send, there are 2 folders ...
1 vote
1 answer
117 views

Magento2.3: How to send a file to another server?

I have a requirement that is sending the customer details like their wish-list details, address, names, etc., to another server(I have all the credentials for that server with me). I want to send ...
0 votes
0 answers
207 views

Magento2.3: How to connect SFTP?

I want to connect SFTP in magento 2 but not sure where to start. I have seen some of the post regarding this but not understand where to put the code. Below is one of the link which I have ...
0 votes
2 answers
935 views

Sftp not able to connect in magento2.2.5?

I am not able to connect to Sftp in magento2.2.5 Here is my code: public function execute() { $connection = $this->sftp->open( array( '...
1 vote
1 answer
708 views

Magento ftp access

I have a magento website with hotel booking extension installed , now i am hiring a developer for frontend theme who will work from remote , if i give him only the FTP Access to site , can he download ...
7 votes
6 answers
6k views

Check my Magento security status

I just had trouble to install the SUPEE-1533 and SUPEE-5344 on CE 1.7.0.0. I did it through the FTP method from Magentary. Question is then : how can I make sure that my Magento install got all ...
1 vote
0 answers
477 views

Could not establish FTP connection, invalid host or port in magento 2.2.5

i include the use \Magento\Framework\Filesystem\Io\Ftp; at the top nd connct the ftp as $connection = $this->ftp->open( array( 'host' => '00....
1 vote
1 answer
92 views

Question Magento htaccess - FTP subfolder are reachable for everyone

I clean installed a new Magento shop and everything works fine. I only have a problem with the protection of the subfolders. For example i can type in the URL www.exampleshop.com/vendor this url is ...
0 votes
1 answer
35 views

Encrypting Magento Website

Is there way to encrypt Magento FTP/Cpanel Codes so that no one except myself can be able to access it? If there is a way how, I would really appreciate the help. Thank you!
-1 votes
1 answer
65 views

Securing site only with FTP [duplicate]

I just want to understand something. Our developer, busy with cleaning up malware from our site, asked for SSH access in order to install latest security patches on our magento 1.9.2.4. The hosting ...
0 votes
1 answer
145 views

No able to download system.log through FTP connection

I open files of a site in Magento 1.9 through Notepad++ with plugin for FTP connection. I don't try to download system.log file. The error is the following: Download of /balmain/var/log/system.log ...
0 votes
1 answer
119 views

Linking files with Filezilla - not working

I have copied and pasted a working link and adjusted it to match the PDF I currently have in Filezilla. But I cannot get it to work... the code I have is: href="/media/brochure/...
0 votes
1 answer
64 views

Just to confirm and share: how to apply for magento patch supee-5344 [duplicate]

I found a possible solution for those who have no SSH access, or having difficulties using sh command to apply for the patch: (community edition) With the successful update on the local machine, find ...
1 vote
1 answer
774 views

rm($filename) method in Varien_Io_Sftp does not delete remote file

I'm pretty new to Magento dev so forgive me if some of my terminology isn't quite right. My module needs to download and delete XML files from a remote FTP server using the sftp protocol. I'm using ...
2 votes
1 answer
25 views

Moving a online Magento from a server to another (including domain, emails and magento files)

I have tricky situation (for me at least) that I have not been in before. We are going to take over a customers hosting of Magento, the domain and the emails (only one email). This is something we ...
0 votes
1 answer
50 views

Can I transfer database from public to development site using ftp? [closed]

Can I transfer database (products & phots, clients, sales history) from public to development site using ftp?
3 votes
2 answers
95 views

Communication with ERM

I have Magento, our warehouses use AMT as their primary ERM system. They use .txt files via FTP to keep track of orders and update inventory. I need to know what extension I can use that can output ....
1 vote
2 answers
2k views

Product descriptions & titles are stored in which file in Magento?

So basically some tables in my ecommerce magento website are missing, and the whole website basically cannot load properly / 'empty'. I cannot access the admin panel, and when I put in forgot password/...
1 vote
1 answer
1k views

Where to place Google Webmaster verification file

I'm in the process of uploading the Google Webmaster verification file via FTP, and I just want to check with you guys that I'm putting it in the right place. Below is a screenshot of what I can see....
3 votes
3 answers
4k views

Writing a local file from an external FTP server - Issue with Varien_Io_File

I have a script that pulls a file from an external server, and tries to save it locally (to then be processed). I'm using Varien_Io_Ftp() to facilitate this, however, upon saving the file locally, it ...