PDA

Click to See Complete Forum and Search --> : FTP Question!! (Somebody please help!!)


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

rowena
Jan 11th, 2001, 02:03 PM
Hi, Sorry this is not an answer to your question but a question instead. If it's okay with you, may I know how did you copy the files to an FTP server? I hope you will help me with this.

Thank you very much.

Jan 11th, 2001, 02:57 PM
Are you sure you delete permissions on the ftp server?

rowena
Jan 11th, 2001, 04:05 PM
Hi, thanks for your reply. Yes, i can ask permission for that.