FTP download from another site

N

Nico Schuyt

In order to update a MySQL-database on my website I need to download data
(daily) from another site.
The other site is not accessible for PHP.
Is it possible to start an FTP batch file in my site in a HTML/PHP-page?
Regards, Nico
 
M

Michel

You're welcome.
Good luck with the script.

Ah... I have found in some cases, I still do not have all the access I want.
I would like to rip a fileheader only from public FTP's. Something that
should be a walk in the park (get 384 bytes and parse the results)
Somehow.... I can't get it done.

If you, or anyone else could give me a push in the direction I should be
looking.... go ahead and make my day.

Regards,

Michel
 
T

Toby A Inkster

Michel said:
I would like to rip a fileheader only from public FTP's. Something that
should be a walk in the park (get 384 bytes and parse the results)
Somehow.... I can't get it done.

You would need to implement your own FTP functions for this, using PHP's
lower level TCP stuff.

Much better if possible to communicate with the server in some other
(non-FTP) way, such as SSH or telnet.
 
M

Michel

Yes, you're right of course.
Only thing is I can't have a clue on what would work on which server. It's
rather complicated and probably the only thing working in every situation
thanks,

M
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top