Link to home
Start Free TrialLog in
Avatar of forums_mp
forums_mp

asked on

ftp using boost regex


Need to ftp a file to directory.  It appears boost regex might be a good library to use to achieve the objective.   Need code that does just that.
ASKER CERTIFIED SOLUTION
Avatar of Infinity08
Infinity08
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of forums_mp
forums_mp

ASKER


Maybe i misunderstood the link
http://www.boost.org/doc/libs/1_39_0/libs/regex/doc/html/boost_regex/ref/regex_match.html

It's unclear to me how to change directory from the stack overflow example
>> Maybe i misunderstood the link

There is an example on that page that parses an FTP response by using regular expressions. However, to get that response, you need an implementation of the FTP protocol. libcurl provides an implementation of the FTP protocol, and it looks like boost asio also does (I've never used it for FTP though, so I can't vouch for it heh).
>> I've never used it for FTP though, so I can't vouch for it heh
Personally, I'd use libcurl but I thought I'd try check that it wasn't just confusion over which boost library we were discussing.
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.