Nevermind I got it 1.bat ftp -i -s:C:\test2.bat c:\ cd c:\ttt del *.pdf
2.bat open x.x.x.x user pass cd /home/sites/site2/web/ bin prompt put c:\ttt\*.pdf bye > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Vincent Jordan > Sent: Thursday, December 18, 2003 3:27 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: [IMail Forum] [OT] Batch files / script > > Im trying to generate a batch file to take .pdf files and > upload via ftp to a web server then delete the files from > orginal dir when uploaded. Ive got most of it worked out but > am getting stuck in a couple spots. > > 1.bat > ftp -i -s:C:\2.bat > > 2.bat > open x.x.x.x > user > pass > cd /home/sites/site2/web/ > put c:\ttt\*.pdf [ this part isnt working it will not > upload multiple > *.pdf files do I have wildcard syntax wrong?] > > Would like to delete all files in c:\ttt after upload tried > Del c:\ttt\*.* and not working could not find file but I > guess that is > because im still logged into the ftp server. > > Bye > > //EOF > > > > Any help would be appriciated > > > To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html > List Archive: > http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ > Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/ > To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/
