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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FTP remote side

Status
Not open for further replies.

Matta25

Technical User
Jan 6, 2004
82
US
I has a script that is sending a file to the ftp site. on the ftp screen the folde is \incoming\. how do i tell the script to change to this director. right now the file is going to the root director.
thanks
 
strfmt ClaimFile5 "D:\EdiFiles\OhMcdDe\QDX%s.txt.pgp" Now1
ftp local copyfile ClaimFile5

when ClaimFile5 gets copied to the FTP site it includes the "D:\EdiFiles\OhMcdDe\QDX20040223.txt.pgp" i just want the QDX20040223.txt.pgp.
 
Use ftp local chdir to change to the directory containing the file you want to transfer, then just use the filename in the ftp local copyfile command.

aspect@aspectscripting.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top