-
September 13th, 2012, 01:15 PM
#1
File Transfer using FTP/TCP IP in windows
Hello,
I need to copy a file from remote location.
I know following information.
a) Address of the remote file location
b) Port number
c) File Name
d) Size of file in bytes
How i copy the file from specified port/socket and write it to the file opened in local machine.
Which C++ function/class help to achieve this.
Please give some guidance to copy the specified number of bytes.
Thanks
Dave
-
September 13th, 2012, 02:14 PM
#2
Re: File Transfer using FTP/TCP IP in windows
A web search of MSDN FTP yielded all kinds of useful results.
-
September 14th, 2012, 01:37 AM
#3
Re: File Transfer using FTP/TCP IP in windows
Hi,
will you tell how can i achieve the following steps
_socket->open()
_socket->set_option()
_socket->bind()
_socket->async_connect()
in handleConnect(): _socket->async_read_some()
will you give info where i can start as a beginner in client server communication
Thanks
Dave
-
September 14th, 2012, 03:14 AM
#4
Re: File Transfer using FTP/TCP IP in windows
In windows, the simplest way to download/upload a file is to use the WinInet functions.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|