Microsoft
Software
Hardware
Network
Question : PHP file pull
I have to code function to down load text file from Ftp server if file name contains today's date for e.g. Monthly_ABCDE_070320100635
07.txt; the string in front will always be Monthly_ABCDE_ this or something similar and the today's date and then some numbers, I have to check all the files and only copy the files from today's date and put on local server and then process it. I have ftp credential and I have pushed the file there but I do not know how to copy from there to local.
Answer : PHP file pull
More specifically, you need:
http://uk3.php.net/manual/
en/functio
n.ftp-conn
ect.php
(to connect to the server)
http://uk3.php.net/manual/
en/functio
n.ftp-nlis
t.php
(to get a list of files)
http://uk3.php.net/manual/
en/functio
n.ftp-get.
php
(to retrieve a file)
Random Solutions
Sonicwall rule to block DHCP traffic between two site-to-site
RADIUS with other IPSEC tunnels
Emails sent as BCC
Can musical notes/sound frequencies act to cancel each other out?
Error ORA-1722 when DAO is writing data to an Oracle 11g database
Password Protect Folder
Win RAR
My RAM clock speed is off in CPU-Z
Identify available memory for an x86 application in x64 Windows
alpha towards the end of the stage