-1

If I have a Windows computer and a Mac computer or a Linux computer, is there a recommended library way to transfer a file between them that doesn't involve FTP, passwords, etc.

For example:

Computer #1: Windows 7 with a local ip of 192.168.1.5 Computer #2: Mac Lion with a local ip of 192.168.1.9

Is there a known peer-to-peer file transfer library out there for C and/or C++ or is this a common method for this using an established library or something I'm not aware of.

B. Nadolson
  • 2,988
  • 2
  • 20
  • 27
  • Plain TCP sockets or anything you can build on top of them yourself. Our company has several products that might help you (MsgConnect, SecureBlackbox). I recommend looking at MsgConnect, as it's a peer-to-peer communication library. – Eugene Mayevski 'Callback Apr 01 '13 at 18:12

1 Answers1

0

you can use the library libcurl.

There is no login and password prompts. just give the login and the password in the curl config with the function curl_easy_setopt and all the work will done by the libcurl

MOHAMED
  • 41,599
  • 58
  • 163
  • 268
  • In a way that does not involve FTP? – B. Nadolson Apr 01 '13 at 17:26
  • there is no lgin and password prompts. just give the login and the password in the curl config with the function `curl_easy_setopt` and all the work will done by the libcurl – MOHAMED Apr 01 '13 at 17:28
  • My question states "in a way that does not involve FTP or passwords". I'm looking to facilitate the transfer of files if needed by a multiplatform application amongst computers connected to the same router. – B. Nadolson Apr 01 '13 at 17:31
  • OK I did not get your question. libcurl support other protocols other than the FTP you could check them in the website of libcurl – MOHAMED Apr 01 '13 at 17:39
  • I'm looking for something easier than writing sockets code and reinventing the wheel. Unless I have to. – B. Nadolson Apr 01 '13 at 17:42