If no local file

  • Thread starter Thread starter Bob Achgill
  • Start date Start date
B

Bob Achgill

Two part question for my windows application ...

1) Is there a after-the-fact way to know if the Flash
file did not play because the file does not exist? Maybe
some handle I can check?

Also, if the file is not there...

2) How can I call an FTP file copy function to go get the
missing file from my repository on a FTP server and copy
it to my local drive? I looked in help for Visual
Basic.Net and did not see any FTP support.


++++++++++++++++++
AxShockwaveFlash1.Movie = CurDir() + "\"
+ "MyFlashAnimation.swf" ' play Flash animation
AxShockwaveFlash1.Play()
AxShockwaveFlash1.Loop = True
++++++++++++++++++
 
Hi Bob,

The answer on the first question is to look at the DirectoryInfo class on
MSDN
http://msdn.microsoft.com/library/d...html/frlrfsystemiodirectoryinfoclasstopic.asp

For the second some additions to Mad

If there are some duplicates, check that for yourself.
Have especialy a look at Indy because that is not only recommended by Kudzu.

VB.NET:

Net Component
http://www.indyproject.org/indy.html

http://www.freevbcode.com/ShowCode.Asp?ID=4655
http://www.allapi.net/downloads/NetFTP.zip
http://www.visualbuilder.com/article/viewarticle.asp?id=1234
http://www.abderaware.com/ (commercial FTP component)

Microsoft webrequest
VB
http://support.microsoft.com/?scid=kb;en-us;812404
C#
http://support.microsoft.com/default.aspx?scid=kb;EN-US;812409


C#:
http://www.csharphelp.com/archives/archive9.html
http://www.codeproject.com/csharp/FTPDriver1.asp

I hope this helps?

Cor
 
* "Bob Achgill said:
1) Is there a after-the-fact way to know if the Flash
file did not play because the file does not exist? Maybe
some handle I can check?

What Flash file? You can use 'System.IO.File.Exists' to check if a file
exists.

There is an interesting new article about .NET + Flash available online
here:

<URL:http://www.devx.com/dotnet/Article/21033/>
 
Back
Top