Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using INDY 10 FTP- Change local directory ?

Status
Not open for further replies.

StuM

MIS
Jan 16, 2001
148
US
I'm trying to send some files with INDY 10 FTP. How do I select a file NOT is the current directory ? I can't find a "change local directory" command. Are Wild Card suppose to work in file selection for sending ? TEMP*.EXP

 
If you're using the Put method, you can specify a path along with the filename for the ASourceFile parameter.

You can also specify a path for the ADest parameter if you like.
 
Code:
  chdir('c:\');
Changes the current directory. It's in the System unit. (System is NOT required in your uses clause.)

Roo
Delphi Rules!
 
Thanks .... I must have had a really bad brain fart.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top