• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 293
  • Last Modified:

Arbitary FTP Command and INternetConnect()

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
mza
Asked:
mza
  • 2
1 Solution
 
abormanCommented:
0
 
mzaAuthor Commented:
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
 
mikeblasCommented:
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
 
mzaAuthor Commented:
Ok, thanks, I guess I'll have to write my own suite of ftp functions then.. thanks..

Adam
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now