ohos Posted September 15, 2014 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
ohos Posted September 15, 2014 Author Posted September 15, 2014 Maybe _FTP_FileOpen help me check write rights, i'll let it a try.
ohos Posted September 15, 2014 Author 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
MikahS Posted September 15, 2014 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 & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now