ohos 0 Posted September 15, 2014 Hi, function _FTP_FilePut doesn't detect file locks "file being used by another person or program" and return 1 as "all fine" result. Is here any solution? To simply test locks i used this console program http://www.jensscheffler.de/filelocker Share this post Link to post Share on other sites
ohos 0 Posted September 15, 2014 Maybe _FTP_FileOpen help me check write rights, i'll let it a try. Share this post Link to post Share on other sites
ohos 0 Posted September 15, 2014 (edited) _FTP_FileDelete helped but now i don't sure how check if sertain file exist, because _FTP_FileDelete return error even when file doesn't exist at all seems _FTP_FileGetSize can help when file exist and not 0 size, but how check exist loked files with 0 size i don't know yet xD Edited September 15, 2014 by ohos Share this post Link to post Share on other sites
MikahS 92 Posted September 15, 2014 If you want to see if it is open, this should help you out. >link Otherwise, to see if a file exists use _FTP_FindFileFirst() _FTP_FindFileNext() Snips & ScriptsMy Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4Feel free to use any of my code for your own use. Forum FAQ Share this post Link to post Share on other sites