Overwriting/Not Overwriting (wodSFTP / wodSFTP.NET / wodSFTPdll)
Hello,
While downloading multiple files (using GetFiles() method), how do I set options like overwrite or No Overwrite the existing files on User PC ?
Thanks for your help.
Hello,
While downloading multiple files (using GetFiles() method), how do I set options like overwrite or No Overwrite the existing files on User PC ?
Thanks for your help.
by Jasmine, (7613 days ago) @ sisank
Sisank,
wodFtpDLX would overwrite without question, but LoopItem event is fired before each download/upload. You can set Skip = True in this event for particular file, and component will not overwrite it. Is this what you had in mind?
Regards,
Kreso
by sisank , (7612 days ago) @ Jasmine
Kreso,
LoopItem will do what I need. But I am wondering why didn't you include the ability to pass a boolean paramter (true/false) to GetFiles() method overwrite or not.
BTW, Is there a simple way to copy/move a file from one folder to other folder on the FTP Server ?
by Jasmine, (7612 days ago) @ sisank
Sisank,
you need overwrite, other customer may need truncation, other customer may need something else, etc.. We need to find some optimum in what to support and what can be easily implemented by your code - I think overwrite is one of these things.
As for copy/move - thsi is up to server. You can try to Rename file to different folder - such as
Rename /home/joe/somefile , /tmp/somefile
but I don't promise server will accept this - so you must try.
Kreso
by sisank , (7612 days ago) @ Jasmine
Kreso,
Rename didn't work with Serv-U.
I need to be able to copy/move single/multiple files from one folder to other folder on FTP Server.
Ours is a Medical Transcription company and we use this feature a lot.Right now we are doing it maually.
This Feature is very important for us, How difficult is it for you to add this feature in WodFtpDLX ?
Thanks for your help.
by Jasmine, (7612 days ago) @ sisank
Sisank,
I would love to add it - but this is (I think) impossible. I cannot force server to move file since there's no such command in FTP or SFTP protocols at all. I can upload, download, rename - but 'remote move' just isn't in protocol declaration.
Most servers support Move through Rename. Let me try with Serv-U (I can contact the author to see if this is *somehow* supported) by myself, perhaps I dig it out.
Kreso
by Jasmine, (7612 days ago) @ Jasmine
Sisank,
Serv-U author confirmed that doing rename on the server, and specifying different folders, would actually move file. I haven't personally tried - I will.
Kreso
by Jasmine, (7612 days ago) @ Jasmine
I tried it and it works.
I had file C:\TEMP\WINHELP.EXE, and wanted to move it to C:\ under different name, and this command worked for me:
[code]Ftp1.Rename /c:/whelp.txt , /c:/temp/winhelp.exe [/code]
Can you try something similar?
by sisank , (7612 days ago) @ Jasmine
Kreso,
It's working now.
It didn't when I use the following line of code
Call Ftp1.Rename ( /09.11.2004/Btn.xls , /08.09.2004/Btn.xls )
But, it worked with below line.
Ftp1.Rename /09.11.2004/Btn.xls , /08.09.2004/Btn.xls
Thanks for your help
You guys are the best
Don't be fooled by the cost, it's value and quality far exceeds the price being charged!
You have been great as far as offering support is concerned and has been extremely responsive to both support requests and suggestions for product enhancements.
It was no small factor, however, that your support in getting me up and running made me buy from you.
Your support is fantastic.
You have been great as far as offering support is concerned and has been extremely responsive to both support requests and suggestions for product enhancements.
The people at WeOnlyDo are amazing! ... I always get a super fast response from customer service, and the products are great too. Thanks WeOnlyDo
Your component works really great. With minor effort I have been able to convert my delphi application...
...wodFtpDlx was exactly what I needed, it worked, and it was priced right...
Thank you very much for the rapid responses. I was a little nervous about dealing with a company that is on a different continent from me. You have proven my concerns to be unfounded.
It was no small factor, however, that your support in getting me up and running made me buy from you.