How i resume upload through wodftpdlx (wodFTPServer)
Hi
I want to know that how i give the option of resume in my code.
what is the code lines in vb.net for that.
actually i develop a backup software where i use wodftpdlx.dll,
i want to give an option of resume in my software.so how i can this.
Ajit
Re: How i resume upload through wodftpdlx
Hi Ajit,
You are using wodFTPServer for server and wodFtpDLX for client right?
You don't have to do anything in wodFTPServer Resume is enabled on server side. In wodFtpDLX you should just set Resume Property to True.
[code]dlx1.Resume = True[/code]
More help for Resume Property you can find here:
http://www.weonlydo.com/FtpDLX/Help/wodFtpDLXLib~wodFtpDLX~Resume.html
Same is with any other server that you want to use with wodFtpDLX.
Let us know how it goes.
Regards,
Drazen
Re: How i resume upload through wodftpdlx
Hi Ajit,
You are using wodFTPServer for server and wodFtpDLX for client right?You don't have to do anything in wodFTPServer Resume is enabled on server side. In wodFtpDLX you should just set Resume Property to True.
[code]dlx1.Resume = True[/code]
More help for Resume Property you can find here:
http://www.weonlydo.com/FtpDLX/Help/wodFtpDLXLib~wodFtpDLX~Resume.htmlSame is with any other server that you want to use with wodFtpDLX.
Let us know how it goes.
Regards,
Drazen
can u suggest me that this code lines are right or wrong,i hv used version 2.5.7.221
ftp = New wodFtpDLXComLib.wodFtpDLXCom
Try
ftp.Disconnect()
ftp.Blocking = True
ftp.LicenseKey = gFTPLkey
ftp.Hostname = gFTPUrl
ftp.Login = gFTPUid
ftp.Password = gFTPPwd
ftp.Resume = True
ftp.Connect()
bool = True
ftp.Compression = 6
ftp.Encryption = wodFtpDLXComLib.EncryptionsEnum.encAES128
ftp.RemotePath = /users/ & OldUserID & /home
'ftp.RemotePath = /users/ & gFTPUid & /home
lblBackUp.Visible = True
Me.txtAppendLog.AppendText(DateTime.Now.ToString() & : Uploading Files & vbNewLine)
lblBackUp.Text = Uploading Files, Please Wait.....
ftp.PutFile(strDestination)
please suggest me with some line of code ASAP.
Thanks for reply
Ajit
Re: How i resume upload through wodftpdlx
Hi Ajit,
Yes, you code looks fine. Resume file transfer in wodFtpDLX should be enabled.
I have already reply to your ticket with suggestion that you should try with some other FTP client and it it failed also then probably your server doesn't support resume file transfer.
Drazen