Skip to content
Advertisement

Tag: ftp

FTP download folder with php

So I was wondering for I can download a intire folder from my FTP server, just by clicking on a link. When I have to download my .log files from my FTP server I do this: First I create a link: Then I call the downloader file: By clicking the link, a browser download is started. Is it possible to

php7.3 ftp_cdup() throws “CDUP successful” exception in some FTP servers [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 2 years ago. Improve this question Exception is ftp_cdup(): CDUP successful. “/” is current directory In fact this is normal. Answer First, I do not think that ftp_cdup (nor any other

Get File from FTP server only for current date via FTP

I am trying to get a file from FTP with the last modified date as today. This works perfectly if I know the file name. In my FTP server, the file name is dynamic. I only know the file extension which .csv and has one CSV file with many other different files. how do I get only the .csv file

List and download clicked file from FTP

I have FTP and I need list all files in FTP in uploads directory and after click on any listed file it will download the specific file from FTP. It list my files in uploads directory but when I will try to download file so it types me “no file” My code: Answer Your link in the generated <a> tag

Passive FTP connection does not work via PHP

My application connects to FTP clients that are connected to the server via VPN. So far all clients supported active PHP and the library I used went with active FTP by default, so there was no issue. Now however we have installed some new clients that don’t properly work over active PHP, so I found out that from the server

Upload a ZIP file and UNZIP ftp folder via PHP

I want to make a form where you can fill FTP login server and get option to upload ZIP file. The script works apart from the last part (UNZIP the file) I want to perform UNZIP uploaded file. Does anyone know what is the problem? TIA THE ERROR Successfully uploaded ftp://:@ftp.***.com/htdocs/file.zip Warning: ZipArchive::extractTo(): Invalid or uninitialized Zip object in C:xampphtdocsupload.php

WordPress plugin install: Could not create directory

I’m using WordPress on centos 6. I try to install a plugin. But I got this error: Installing Plugin: bbPress 2.5.9 Downloading install package from https://downloads.wordpress.org/plugin/bbpress.2.5.9.zip… Unpacking the package… Could not create directory. How can I resolve this? P/S: I run this command: and it works. But I still get that error. Answer The user that is running your web

Advertisement