﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
2999	FTP read fails because of exe file name and the path location	TouchOdeath		"This is on Windows 7 Ultimate x64, if the file is named mtu.exe and it is placed in @StartupDir for me thats (C:\Users\TouchOdeath\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup).  Then that function will return 0.  If you simply rename the file to test.exe, then it will work.  If mtu.exe is placed on c:\ it works fine.  For reference, I do know that windows does look for specific file names and executes special code for it, I don't know if this is one of those instance or not.

{{{
#AutoIt3Wrapper_outfile=mtu.exe
$hex = ftpreadflraw('ftp.xxx.com', 'user', 'pass', 'file.txt')

func ftpreadflraw($server, $usern, $pass, $flnm)
$ftpc = _FTP_Connect(_FTP_Open(''),$server,$usern,$pass)
$flsz = _FTP_FileGetSize($ftpc,$flnm)
$ftpflo = _FTP_FileOpen($ftpc,$flnm)
$returnhex = _FTP_FileRead($ftpflo,$flsz)
_FTP_Close($ftpc)
Return $returnhex
EndFunc
}}}"	Bug	closed		AutoIt	3.3.12.0	None	No Bug	ftp	
