Click here to Skip to main content
15,881,898 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Error writing to windows Registry Pin
Richard Deeming31-Mar-14 9:49
mveRichard Deeming31-Mar-14 9:49 
GeneralRe: Error writing to windows Registry Pin
dilkonika31-Mar-14 10:08
dilkonika31-Mar-14 10:08 
GeneralRe: Error writing to windows Registry Pin
Richard Andrew x6431-Mar-14 10:42
professionalRichard Andrew x6431-Mar-14 10:42 
QuestionCompare databases structure Pin
dilkonika29-Mar-14 2:42
dilkonika29-Mar-14 2:42 
AnswerRe: Compare databases structure Pin
Peter Leow29-Mar-14 3:12
professionalPeter Leow29-Mar-14 3:12 
QuestionRun a vb project in other systems Pin
Sanya Raj29-Mar-14 0:03
Sanya Raj29-Mar-14 0:03 
AnswerRe: Run a vb project in other systems Pin
Dave Kreskowiak29-Mar-14 4:03
mveDave Kreskowiak29-Mar-14 4:03 
QuestionHow to delete file from FTPS server (using LibCurlNet) Pin
Johan Hakkesteegt28-Mar-14 0:51
Johan Hakkesteegt28-Mar-14 0:51 
Hi,

I am dealing with an old FTPS server. (not to be mistaken for SFTP)
I can connect to it using LibCurlNet. (couldn't get it to work with .net's FtpWebRequest / FtpWebResponse)

using the following code:
VB
With easy
                .SetOpt(CURLoption.CURLOPT_URL, _URI)
                .SetOpt(CURLoption.CURLOPT_SSL_VERIFYPEER, False)
                .SetOpt(CURLoption.CURLOPT_SSL_VERIFYHOST, False)
                .SetOpt(CURLoption.CURLOPT_FTP_SSL, CURLftpSSL.CURLFTPSSL_TRY)

                'For debugging will print received data to console
                .SetOpt(CURLoption.CURLOPT_DEBUGFUNCTION, New Easy.DebugFunction(AddressOf GetFileList))
                .SetOpt(CURLoption.CURLOPT_VERBOSE, True)

                'Get directory listing
                .SetOpt(CURLoption.CURLOPT_FTPLISTONLY, True)

                Dim code As CURLcode = .Perform()
                If code = CURLcode.CURLE_OK Then
                    'Console.WriteLine()
                    If blnFileListSuccess Then
                        If file_list.Count > 0 Then bResult = ProcessResults.AllroundSuccess
                    End If
                Else
                    bResult = ProcessResults.FTPConnectionFailure
                End If
                .Cleanup()
            End With

(with adaptations for each action of course)
I can list files.
I can download files.
I can upload files.
But I cannot delete files.That is, I don't know how to do it with LibCurlNet.

So my question is this, can anyone tell me how to delete files from an ftp server using LibCurlNet ?

Or alternatively, can anyone tell me how to connect to, and interact with, FTPS using normal .net ?

All help much appreciated.

Regards,
Johan
My advice is free, and you may get what you paid for.

AnswerRe: How to delete file from FTPS server (using LibCurlNet) Pin
Dave Kreskowiak28-Mar-14 4:13
mveDave Kreskowiak28-Mar-14 4:13 
GeneralRe: How to delete file from FTPS server (using LibCurlNet) Pin
Johan Hakkesteegt30-Mar-14 20:07
Johan Hakkesteegt30-Mar-14 20:07 
QuestionUsing matlab fuction in VB 6 Pin
azhari2428-Mar-14 0:16
azhari2428-Mar-14 0:16 
AnswerRe: Using matlab fuction in VB 6 Pin
Dave Kreskowiak28-Mar-14 4:14
mveDave Kreskowiak28-Mar-14 4:14 
Questionform resources vs project resources Pin
dilkonika27-Mar-14 2:19
dilkonika27-Mar-14 2:19 
AnswerRe: form resources vs project resources Pin
Nicholas Marty27-Mar-14 2:53
professionalNicholas Marty27-Mar-14 2:53 
QuestionSynchronizing raised events to UI thread possible? Pin
Sam Marrocco24-Mar-14 11:40
Sam Marrocco24-Mar-14 11:40 
AnswerRe: Synchronizing raised events to UI thread possible? Pin
Bernhard Hiller24-Mar-14 22:18
Bernhard Hiller24-Mar-14 22:18 
GeneralRe: Synchronizing raised events to UI thread possible? Pin
Sam Marrocco25-Mar-14 7:33
Sam Marrocco25-Mar-14 7:33 
AnswerRe: Synchronizing raised events to UI thread possible? Pin
Eddy Vluggen26-Mar-14 8:24
professionalEddy Vluggen26-Mar-14 8:24 
QuestionQuestions about SMO Pin
dilkonika24-Mar-14 2:57
dilkonika24-Mar-14 2:57 
AnswerRe: Questions about SMO Pin
Chris Quinn24-Mar-14 3:30
Chris Quinn24-Mar-14 3:30 
GeneralRe: Questions about SMO Pin
dilkonika24-Mar-14 4:02
dilkonika24-Mar-14 4:02 
GeneralRe: Questions about SMO Pin
Chris Quinn24-Mar-14 4:05
Chris Quinn24-Mar-14 4:05 
GeneralRe: Questions about SMO Pin
dilkonika24-Mar-14 4:08
dilkonika24-Mar-14 4:08 
GeneralRe: Questions about SMO Pin
Chris Quinn24-Mar-14 4:10
Chris Quinn24-Mar-14 4:10 
GeneralRe: Questions about SMO Pin
Chris Quinn24-Mar-14 4:14
Chris Quinn24-Mar-14 4:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.