Answer the question
In order to leave comments, you need to log in
How to upload files from the list to the FTP server?
There is a txt file with a list of files like
D:\files\0001\wwwwwwwwwwwww.jpg
D:\files\0002\wwwwwwwwwwwww.avi
D:\files\0001\qqqqqq.jpg
......
the list contains about 60,000 files.
How can I upload these files to an FTP server from under Windows? Filezilla thought, but there only through xml is possible - not an option
Answer the question
In order to leave comments, you need to log in
Most file managers and ftp clients are able to work with lists of files (sometimes with additional features). Do you want the full list or what?
oh, how difficult it is to convert one text file to another
pack the files into an archive, upload to ftp and unzip
it there, it will be much faster than
how to unpack on the server using PHP
<?
$zip = new ZipArchive;
$zip->open('zip.zip');
$zip->extractTo('./');
$zip->close();
echo "Ok!";
?>
tar czf backup.tgz -T filelist.txt
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question