Can't you create an FTP user whose root and home directory is the same as the directory you want to get to.

That way you would avoid the problem.

If you can't do that from IIS, you might be able to use another FTP server on a different port.

Spike

Mike Kear wrote:
Oh!  Now you're taking me back to my old DOS days!  I haven't written a
batch file since I don't know when. 

How do you pass the commands to FTP from within a batch file? 

For example here are the commands I send from the command line .. (some
details changed for obvious security reasons):

[quote]
ftp
open xxx.xxxx.xxxx.xxx
xxxxxxx     //* (username)
xxxxxxx     //* (password)
cd "Custom extracts"
get filename.zip
close
[/quote]



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



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

Hi Mike,

  
Anyone have any other ideas?
    

I was having some CFFTP dramas once so I wrote
Some code that writes a bat file then executes
The bat with cfexecute.. Which ftps the files
The same as doing it from the command prompt..

Cheers,
Adam



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


  

-- 
Stephen Milligan
Consultant for hire
http://www.spike.org.uk
---
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