Dec 26th, 2000, 05:51 PM
I am using Microsoft Internet Transfer Control 6.0 (INet control) in my VB program! The sole intension of this program is to get the required information from a text file to load the parameters adn start downloading files from the given FTP location to the specified local directory location!
It has following parameters to serve the purpose:
Source EWR=/Dir2/ -(Source Location 1)
Source LAX=/Dir4/ -(Source Location 2)
Dest EWR=C:\Dir1 -(Destination Location 1)
Dest LAX=C:\Dir3 -(Destination Location 2)
Log Information=Yes -(Application Log Request)
Provider=MSDASQL -(SQL Connection String info)
Driver={SQL SERVER} -(SQL Connection String info)
Server=TestSQL -(SQL Connection String info)
Database=PfxMaster -(SQL Connection String info)
UserId=TestUser -(SQL Connection String info)
Password=PassTest -(SQL Connection String info)
Notify To=notify@notice.com -(Email to parameter in case of errors)
Remove SourceFiles=Yes -(Delete Files once copied/moved)
Remove Directory=Yes -(Delete Directories once copied)
Display Debug Info=Yes -(Display msgs for subroutine)
Email Info=From TestSQL - Filemover Test -(Email Header)
SendEmail=Yes -(On/Off parameter to send emails)
SendInformationalEmail=Yes -(Send emails at any cost)
FTPURL=ftp.something.com -(FTP URL Address)
FTPUsername=ftpuser -(FTP UserName)
FTPPassword=ftppass -(FTP Password for connection)
Till coping files the program works good! When it comes to removing files from the given FTP location, it works good but still does shows that files exists and doesn't allow FTP directories to get removed!!
I have the program but can't attach it for you to test run it! Please let me know if you have some solution on this problem.
Thanks
Mahesh
It has following parameters to serve the purpose:
Source EWR=/Dir2/ -(Source Location 1)
Source LAX=/Dir4/ -(Source Location 2)
Dest EWR=C:\Dir1 -(Destination Location 1)
Dest LAX=C:\Dir3 -(Destination Location 2)
Log Information=Yes -(Application Log Request)
Provider=MSDASQL -(SQL Connection String info)
Driver={SQL SERVER} -(SQL Connection String info)
Server=TestSQL -(SQL Connection String info)
Database=PfxMaster -(SQL Connection String info)
UserId=TestUser -(SQL Connection String info)
Password=PassTest -(SQL Connection String info)
Notify To=notify@notice.com -(Email to parameter in case of errors)
Remove SourceFiles=Yes -(Delete Files once copied/moved)
Remove Directory=Yes -(Delete Directories once copied)
Display Debug Info=Yes -(Display msgs for subroutine)
Email Info=From TestSQL - Filemover Test -(Email Header)
SendEmail=Yes -(On/Off parameter to send emails)
SendInformationalEmail=Yes -(Send emails at any cost)
FTPURL=ftp.something.com -(FTP URL Address)
FTPUsername=ftpuser -(FTP UserName)
FTPPassword=ftppass -(FTP Password for connection)
Till coping files the program works good! When it comes to removing files from the given FTP location, it works good but still does shows that files exists and doesn't allow FTP directories to get removed!!
I have the program but can't attach it for you to test run it! Please let me know if you have some solution on this problem.
Thanks
Mahesh