Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Arbitary FTP Command and INternetConnect()

Posted on 1998-10-21
4
Medium Priority
?
291 Views
Last Modified: 2013-12-03
Is there a way to execute an arbitrary FTP command on a HINTERNET handle opened to an FTP server using InternetConnect()?  I know there is an FTPCommand() function, but the MSDN library says this function is available only for WinCE platform? Does anyone know of a way to just send an arbitrary command? (eg: quote, user, close, etc. )

Thanks,

Adam
0
Comment
Question by:mza
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 

Author Comment

by:mza
ID: 1415518
No I had not seen that particular web page, but it contains all of the same information as the MSDN CD.  What I need to be able to do is send an ARBRITRARY command to the server. I am also using the functions for creating directories and such, but the application I am writing needs to do some other things (like changing password) which CAN be done from a  script file (processed by ftp -s) but for which no WinInet functions exist.
0
 
LVL 11

Accepted Solution

by:
mikeblas earned 150 total points
ID: 1415519
You can't.  WININET.DLL does not support it.  Maybe, in a future update it will, but for now it's not there.  Since the connection isn't available to you (as it's abstracted by the DLL), there's no workaround.

B ekiM

0
 

Author Comment

by:mza
ID: 1415520
Ok, thanks, I guess I'll have to write my own suite of ftp functions then.. thanks..

Adam
0

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial is about how to put some of your C++ program's functionality into a standard DLL, and how to make working with the EXE and the DLL simple and seamless.   We'll be using Microsoft Visual Studio 2008 and we will cut out the noise; that i…
What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question