I am trying to transfer a file from my pc to my server with the script below. All the process goes well according to Macro Scheduler but when I check the result in the server I only get the name of the file and a file size of Cero: It transfered the name but none of the data in the file. Tried to do it with a picture and a .swf file but it didn't work with neither.
My ftp filezilla is set to binary transfer and by doing it this way the files are transferred correctly.
Please help

input>swfname,Choose the SWF file to upload
ExtractFileName>swfname,namecalculatorwithext
let>BEhostfile=%namecalculatorwithext%
//extracts the name of the file remving the extension
Position>.,%namecalculatorwithext%,1,extension
let>extension22=extension-1
MidStr>%namecalculatorwithext%,1,extension22,namecalculator
let>password=xxxxxx
let>user=bengixxxx
//binary transfer: I
FTPPutFile>better-engineers.com,user,password,21,localfilebe,bedirectory,BEhostfile,I
mdl>FTP_RESULT