is it an IIS web server you are connecting to?

if it is, you might be able to use the dosname (8 character) version of the folder name

eg C:\Program Files = C:\Progra~1

(6 characters then a ~1)

i don't know about apache though.

>>> [EMAIL PROTECTED] 28/05/2003 16:34:27 >>>
Thanks for the suggestion Antony.  I tried that too, both with the single
quotes on the outside, and on the inside.  Neither of them work, although
they don't throw errors.  They just don't do anything.

So this doesn't work:  

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

And nor does this:

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



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





-----Original Message-----
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Antony
Sideropoulos
Sent: Wednesday, 28 May 2003 4:27 PM
To: CFAussie Mailing List
Subject: [cfaussie] Re: CFFTP with long directory name? How to get around
this?



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/ 


---
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