WatchDirectory home page
WatchDirectory Startseite (Deutsche Version)
Site WatchDirectory (Français)
  Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
   
  HomeHelpSearchLoginRegister  
 
Page Index Toggle Pages: 1
FTP Plugin (Read 3603 times)
Chris
YaBB Newbies
*
Offline



Posts: 8
FTP Plugin
May 2nd, 2007 at 5:07pm
 
I'm attempting to use the FTP plug-in but to send files to an emulated ftp which does not support the command CWD. Is there any way to tweak the ftp plug-in so that it does not use this command?


Many Thanks,

Chris
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2224
The Netherlands
Re: FTP Plugin
Reply #1 - May 3rd, 2007 at 6:26am
 
What kind of emulated ftp is that?
Can you create an account for me on that ftp server so I can experiment with it? If you do, please send the login details to my email.

Gert
Back to top
 

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
Chris
YaBB Newbies
*
Offline



Posts: 8
Re: FTP Plugin
Reply #2 - May 3rd, 2007 at 10:42am
 
Its an app which belongs to a customer of ours so its impossible for me to give you a login im afraid. It decides itself where to put files once it is supplied with one so commands like cd or cwd just return the message "Syntax error" which seems to cause WD to return the error 40300 after a couple of attempts. To upload a file all that it will really allow you to do is the command 'put' and then the filename.

I realise a batch file would do the trick easily but we use WD for the output which it writes to the event viewer which can easily be captured by out system management software and flag errors to us.

Many Thanks,
Chris
Back to top
 
 
IP Logged
 
Chris
YaBB Newbies
*
Offline



Posts: 8
Re: FTP Plugin
Reply #3 - May 15th, 2007 at 2:40pm
 
I began to wonder - is it possible to just use the FTP raw commands so that the ftp plugin makes the connection to the ftp server and then instead of trying to send the file goes straight to carrying out the listed ftp raw commands?

Many thanks,

Chris
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2224
The Netherlands
Re: FTP Plugin
Reply #4 - May 15th, 2007 at 4:04pm
 
I don't think that will work, because those commands are only started when the "normal upload" has completed successfully.
However, I just remember I have a script (a batch file) that can be started by the "automatically run an existing .bat file" plugin. That script uses the standard Windows ftp.exe program, so you have complete control over all commands that are sent to the FTP server.

Only problem (maybe) is that ftp.exe doesn't support secure ftp, nor does it support passive mode. Let me know if you are interested, then I will look for it.

Gert
Back to top
 

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
Page Index Toggle Pages: 1