@shajul: the code is still wrong.
thanks fincs. my bad. i was busy, but seeing the glaringly obvious mistake, i replied immediately :oops:
@shajul: the code is still wrong.
Asynchronous mode added. Please read the asynchronous mode notes in the documentation before using.But if a real asynchronous upload is possible, even better
Corrected!It works fine on a 64bit Windows and AHK_L x64, but in InternetReadFile() the filenames in the progress dialog are in the wrong order ("local file -> file on server").
But my question indeed is is there by any chance a way we to use SFTP?
user Specifes a user to the remote computer. Syntax: user user-name [password] [account] Parameter(s): user-name - Specifies a user name with which to log in to the remote computer. password - Specifies the password for user-name. If not specified, but required, ftp prompts for the password. account - Specifies an account with which to log on to the remote computer. If account is not specified, but required, ftp prompts for the account.Ref : <!-- m -->http://www.nsftools.com/tips/MSFTP.htm<!-- m -->
nSize := 260 ;lpdwCurrentDirectory is in TCHARs
Thanks for the FTP-library!
When used in conjunction with Windows XP, displayed no time or date on the files, but correct size on the files.
Result Example .:
Name: test.zip CreationTime : 0 LastAccessTime : 0 LastWriteTime : 0 Size : 230424 Attribs : N
When used in conjunction with Windows 8 Pro 64bit, the time and date on the files are in right form, but the size of the files is wrong.
Result Example .:
Name: test.zip CreationTime : 9/9/2014 22:20:59 LastAccessTime : 9/9/2014 22:20:59 LastWriteTime : 9/9/2014 20:21:59 Size : 6889127773210 Attribs : N
Although the date and time in Windows 8, I think it's weird that "Last Write Time" is before the "CreationTime" (but it might have its explanation).
Is it difficult to solve these problems?
Is that the same results with win7 64-bit?
//Jan
//Jan