Advertisement
Advertisement
| 02.04.2008 at 02:01PM PST, ID: 23136471 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
|
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
| Microsoft |
| Apple |
| Internet |
| Gamers |
| Digital Living |
| Virus & Spyware |
| Hardware |
| Software |
| ITPro |
| Developer |
| Storage |
| OS |
| Database |
| Security |
| Programming |
| Web Development |
| Networking |
| Other |
| Community Support |
| 02.04.2008 at 02:12PM PST, ID: 20818595 |
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: 60: 61: 62: 63: 64: 65: 66: 67: 68: 69: 70: 71: 72: 73: 74: 75: 76: 77: 78: 79: 80: 81: 82: 83: 84: 85: 86: 87: 88: 89: 90: 91: 92: 93: 94: 95: 96: 97: 98: 99: 100: 101: 102: |
'
' Copy and paste the code below into a VB WebForm or WinForm
' application and then do the following:
'
' 1). From within the ASP.NET or WinForm app set a
' reference to the FTP.dll and BitOperators.dll
' files.
' 2). At the top of the application code file
' (E.g WebForm1.aspx.vb or Form1.vb) type in
' Imports FTP
' 3). Compile the application and run.
' 4). Have fun.
'Protected Sub TestFTP()
' Dim ff As clsFTP
' Try
' '-------------------------------------------
' ' OPTION 1
' ' --------
' '
' ' Create an instance of the FTP Class.
' 'ff = New clsFTP()
' ' Setup the appropriate properties.
' 'ff.RemoteHost = "microsoft"
' 'ff.RemoteUser = "ftpuser"
' 'ff.RemotePassword = "password"
' '-------------------------------------------
' '-------------------------------------------
' ' OPTION 2
' ' --------
' ' Pass the values into the constructor
' ' instead. These can be overridden by simply
' ' setting the appropriate properties on the
' ' instance of the clsFTP Class.
' ff = New clsFTP("microsoft", _
' ".", _
' "ftpuser", _
' "password", _
' 21)
' ' Attempt to log into the FTP Server.
' If (ff.Login()) Then
' '
' ' Move the to Area1\Section1\Subby1\ directory.
' ff.ChangeDirectory("Area1")
' ff.ChangeDirectory("Section1")
' 'ff.CreateDirectory("Subby1")
' ff.ChangeDirectory("Subby1")
' ff.SetBinaryMode(True)
' ' Upload a file.
' 'ff.UploadFile("d:\general\secureapps.pdf")
' ' Download a file.
' 'ff.DownloadFile("secureapps.pdf", "d:\general\secureapps.pdf")
' ' Remove a file from the FTP Site.
' If (ff.DeleteFile("secureapps.pdf")) Then
' Response.Write("File has been removed from FTP Site")
' 'MessageBox.Show("File has been removed from FTP Site")
' Else
' Response.Write("Unable to remove file from FTP Site. Message from server: " & ff.MessageString & "<br>")
' 'MessageBox.Show("Unable to remove file from FTP Site")
' End If
' ' Rename a file on the FTP Site.
' 'If (ff.RenameFile("secureapps.pdf", "newapp.pdf")) Then
' ' Response.Write("File has been renamed")
' ' MessageBox.Show("File has been renamed")
' 'End If
' 'ff.ChangeDirectory("..")
' 'If (ff.RemoveDirectory("Subby1")) Then
' ' Response.Write("Directory has been removed<br>")
' ' ' MessageBox.Show("Directory has been removed")
' 'Else
' ' Response.Write("Unable to remove the directory. Message from server: " & ff.MessageString & "<br>")
' ' ' MessageBox.Show("Unable to remove the directory.")
' 'End If
' End If
' Catch ex As System.Exception
' ' ASP.NET
' Response.Write(ex.Message & "<BR>")
' Response.Write("Message from FTP Server was: " & ff.MessageString)
' ' WinForms
' 'Messagebox.Show(ex.Message)
' 'MessageBox.show("Message from FTP Server was: " & ff.MessageString)
' Finally
' '
' ' Always close down the connection to ensure that
' ' there are no "stray" Fido's Fetching data. In
' ' other words, no stray/limbo/not-in-use FTP
' ' connections.
' ff.CloseConnection()
' End Try
'End Sub
|
| 02.04.2008 at 07:01PM PST, ID: 20820278 |
| 02.05.2008 at 08:19PM PST, ID: 20829464 |
| 02.05.2008 at 08:42PM PST, ID: 20829557 |
| 02.05.2008 at 08:46PM PST, ID: 20829577 |
| 02.05.2008 at 11:48PM PST, ID: 20830229 |
| 02.12.2008 at 06:54AM PST, ID: 20875218 |
| 02.12.2008 at 07:30AM PST, ID: 20875624 |
| 02.12.2008 at 11:13AM PST, ID: 20877724 |
| 02.13.2008 at 08:34AM PST, ID: 20885621 |
| 02.13.2008 at 04:28PM PST, ID: 20889857 |
| 02.13.2008 at 05:23PM PST, ID: 20890135 |