FTP-Copy with C++

  • Thread starter Reiner Wahnsiedler
  • Start date
R

Reiner Wahnsiedler

Hallo,

is it possible to copy files from a FTP-server to my computer?

How to do this?

Thanks in advance,

Reiner
 
V

Victor Bazarov

Reiner Wahnsiedler said:
is it possible to copy files from a FTP-server to my computer?

Yes, I've done that many times. I issue 'ftp' command and then
connect to the server, then continue inputting commands when it
prompts me...

Oh, were you asking how to do this programmatically? There is
no way in C++. You might want to research communication libraries
available for your OS.
How to do this?

Google
 
J

Jerry Coffin

Reiner Wahnsiedler said:
Hallo,

is it possible to copy files from a FTP-server to my computer?

No -- those times you thought you were using ftp, you were imagining
it. :)
How to do this?

That depends on your platform, so you'll really need to discuss it in
a newsgroup devoted to the platform(s) of interest to you.
 
C

Corne' Cornelius

Surely you could develop a FTP class or plain library from the relevant
RFC. From that class/library you could develop your own client or just
use class instances to transfer files.

You could even look for such a class/library on the web.
 
M

Michiel Salters

Reiner Wahnsiedler said:
Hallo,

is it possible to copy files from a FTP-server to my computer?

std::system("ftp /*arguments");

Regards,
Michiel Salters
 
R

Reiner Wahnsiedler

Hello Michiel,

thanks a lot.
I will test it immediately.

Bye,

Reiner
 

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

Forum statistics

Threads
474,169
Messages
2,570,917
Members
47,458
Latest member
Chris#

Latest Threads

Top