Have you tried one set single quotes and one set double quotes:

eg directory=" ' Custom Directory ' "

(I put extra spacing in for display purposes.

>>> [EMAIL PROTECTED] 28/05/2003 16:25:11 >>>
I have to set up a CFFTP session to automatically retrieve a file from
another system.    I have got CFFTP to open and close the ftp session but
it's falling over at the change to the remote directory, because the remote
directory name has a space in it.  How can I get around this? 

If I use FTP on the command line, the command:

cd "Custom extracts" 

Works ok.  (it's the space that's the problem here)  But if I put the
following CFFTP command, it either can't find the directory if I leave out
the extra quotes in the tag, or it complains of too many quotes if I do put
quotes around the directory name:

e.g. It doesn't like this because it doesn't like the two sets of quotes:

<cfftp action="CHANGEDIR" 
directory=""Custom extracts"" 
connection="MyConnection">


and this one just doesn't work - it doesn't change to the directory

<cfftp action="CHANGEDIR" 
directory="Custom extracts" 
connection="MyConnection">


Any idea how I get around this?




Cheers,
Michael Kear
Windsor, NSW, Australia
AFP Webworks.





---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED] 
To unsubscribe send a blank email to [EMAIL PROTECTED] 

MX Downunder AsiaPac DevCon - http://mxdu.com/

-------------------------------------------------------
Maddocks

Tel: (03) 92880555   International: +61 3 92880555
Fax: (03) 92880666   International: +61 3 92880666

Web: http://www.maddocks.com.au

-------------------------------------------------------
The information in this electronic mail is privileged
and confidential, intended only for use of the individual
or entity named.  If you are not the intended recipient,
any dissemination, copying or use of the information is
strictly prohibited.  If you have received this transmission
in error please delete it immediately from your system
and inform us by email on [EMAIL PROTECTED]
-------------------------------------------------------


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to