|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
file information in ftp sitehi,
I'm working on Script Task among the tools of SSIS Package. I need to write codes to verify creation date of certain files in ftp site. I tried to use the "System.Net.FtpWebRequest". and then How about the information of the files in ftp sites??? Please try code below
FtpWebRequest request = (FtpWebRequest)WebRequest.Create(serverUri); request.Method = WebRequestMethods.Ftp.ListDirectoryDetails; http://www.alvas.net - Audio tools for C# and VB.Net developers Show quote "Ken" <k***@jeromegroup.com> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ: news:uInqESILIHA.4684@TK2MSFTNGP06.phx.gbl... > hi, > I'm working on Script Task among the tools of SSIS Package. > I need to write codes to verify creation date of certain files in ftp > site. > > I tried to use the "System.Net.FtpWebRequest". > and then How about the information of the files in ftp sites??? > it doesn't help much.
because I want to know modified date for specific file, it doesn't give me the information like that. Thanks Show quote "Alexander Vasilevsky" <al***@alvas.net> wrote in message news:fi3ou2$2g61$1@behemoth.volia.net... > Please try code below > FtpWebRequest request = (FtpWebRequest)WebRequest.Create(serverUri); > request.Method = WebRequestMethods.Ftp.ListDirectoryDetails; > > http://www.alvas.net - Audio tools for C# and VB.Net developers > > > "Ken" <k***@jeromegroup.com> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ: > news:uInqESILIHA.4684@TK2MSFTNGP06.phx.gbl... >> hi, >> I'm working on Script Task among the tools of SSIS Package. >> I need to write codes to verify creation date of certain files in ftp >> site. >> >> I tried to use the "System.Net.FtpWebRequest". >> and then How about the information of the files in ftp sites??? >> > > |
|||||||||||||||||||||||