> im sure im missing something i just don't know what. in ftpsend there > is no available command for changing local folder (all commands refer > to remote) and still, trying to storefile that exists in a different > folder than the exe file (exe file is located in c: \folder1\ while > the file to send is located in c:\folder1\files\) and i wonder how did > the ftp class knew where to locate the file and send it.
You are telling to ftpsend where local file is. TFtpsend.directfilename property. > when doing the following: ftp.StoreFile (path + sr.Name,FALSE); the > file on the server is named as path+filename and i, ofcourse, want it > to be called just filename (without the path). does the ftp knows by > itself where ALL my files are located? im sure it's not, so can > someone tell me what is the secret and what am i missing? You must change actial directory on FTP server by TFtpSend.ChangeWorkingDir -- Lukas Gebauer. E-mail: gebau...@mlp.cz http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib. ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ synalist-public mailing list synalist-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synalist-public