My email address is in my forum profile.
Please, please sure your email address in your profile is correct.
Please, please sure your email address in your profile is correct.
Dim myFilePermissions As New FilePermissions
myFilePermissions.Octal = "755"
Dim transferOptions As New TransferOptions
transferOptions.TransferMode = TransferMode.Automatic
transferOptions.ResumeSupport.State = TransferResumeSupportState.Smart
transferOptions.FilePermissions = myFilePermissions
Session.SessionLogPath
. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.With mySessionOptions
.Protocol = Protocol.Ftp
.HostName = "vaultcracker2"
.UserName = "XXXXX"
.Password = "XXXXXXXXX"
End With
Using mySession As Session = New Session
Dim transferOptions As New TransferOptions
transferOptions.TransferMode = TransferMode.Automatic
transferOptions.SpeedLimit = 2500
transferOptions.ResumeSupport.State = TransferResumeSupportState.Smart
' Connect
mySession.Open(mySessionOptions)
'Create Remote folder
If (mySession.FileExists(szRemoteFolder) = False) Then
mySession.CreateDirectory(szRemoteFolder)
End If
' Upload files
transferResult = mySession.PutFiles(szSavedFolder, szRemoteFolder, False, transferOptions)
' Throw on any error
transferResult.Check()
For Each transfer In transferResult.Transfers
Console.WriteLine("Upload of {0} succeeded", transfer.FileName)
Next
End Using