Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

secure ftp

Status
Not open for further replies.

rowr308

MIS
Oct 18, 2005
7
US
Hello,

I have to automate ftp'ing a file to an unix system from a win xp prof system. The unix system only allows secure ftp. I can connect to it using a secure ftp tool. However, plain ftp command at dos prompt won't work. Can you suggest what is the approach to secure ftp a file to unix? I have psftp on winxp system. I think I can use psftp commands to connect. However, I am not sure if that is a good approach. Someone who doesn't have psftp cannot use my dos batch file ... Any ideas?
 
rowr308,

Windows ftp.exe will only work in Active mode. You probably need to switch to the Windows API to FTP in Passive mode. At least that was the problem I ran into on our secure server.

Take a look at my thread in the Win API(Microsoft) forum on this site. I posted a question there for which I was able to find the answer(sample code) at davesummers.net/foxporlinks.htm That is where I downloaded the code which I modified to meet my needs.

culleoka
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top