Re: CFFTP - put file problems
Hmmm what a pain. I've now tried this in both directions (running the code on CF 8 and on CF MX) but get the same problems on both servers. I'm now considering automated FTP tools but I don't really want to spend $100 on a tool when CF should do it for me. Giles On Nov 28, 2007 6:42 PM, Steve Logan [EMAIL PROTECTED] wrote: Unfortunately, no answer for you, but we're also have an CFFTP issue under CF8. A working template (under CF5) that FTP'd backup files to a remote server nightly no longer works on CF8. The files are generally around 10mb, but they always time out now at around 3mb +/-. Generally around 30 seconds. I've tried adjust the timeouts in the CFFTP tag, adding a request timeout etc. Here it does try to upload the files but nothing appears in the target directory. Both files are around 3 MB. I have successfully uploaded a sample file from explorer so I know that the FTP server is ok. I also successfully put a file using the command line ftp client. I'm beginning to think that it might be better to try getting the file using CF on the target server rather than putting the file from the source server. Steve Logan No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.9/1155 - Release Date: 11/27/2007 8:30 PM ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293950 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFFTP - put file problems
I was looking at http://www.turboftp.com/purchase.php#turbo but I'll look at ncftp as well. I assume this is a command line app that I can fire off from scheduled tasks? On Nov 29, 2007 10:45 AM, Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 29 Nov 2007, Giles Roadnight wrote: I'm now considering automated FTP tools but I don't really want to spend $100 on a tool when CF should do it for me. Who's charging you $100, when you can get a scriptable free tool like ncftp ? -- Tom Chiverton Helping to dramatically customize vertical bandwidth on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293954 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFFTP - put file problems
On Thursday 29 Nov 2007, Giles Roadnight wrote: I'm now considering automated FTP tools but I don't really want to spend $100 on a tool when CF should do it for me. Who's charging you $100, when you can get a scriptable free tool like ncftp ? -- Tom Chiverton Helping to dramatically customize vertical bandwidth on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293952 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFFTP - put file problems
Giles Roadnight wrote: I'm trying to get my CF server to FTP files to another server. I can connect ok but cannot put files. That can be caused by several issues with filesystem permissions and firewalls as the most likely culprits. Check the log files on the FTP server and if that doesn't provide any clues log on to the server hosting CF and run the command line FTP client and try to upload a file using both an active and a passive connection. That will most likely tell you what the problem is. Jochem ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293912 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFFTP - put file problems
Thanks for the reply. Unfortunately I still can't get it working. I have looked at the FTP server logs. If I try a passive transfer I get the following when trying to transfer 2 files: userName logged in. (45) 28/11/2007 13:07:30 - userName () TYPE I (45) 28/11/2007 13:07:30 - userName () 200 Type set to I. (45) 28/11/2007 13:07:31 - userName () PASV (45) 28/11/2007 13:07:31 - userName () 227 Entering Passive Mode (192,168,0,30,71,171) (45) 28/11/2007 13:07:54 - userName () TYPE I (45) 28/11/2007 13:07:54 - userName () 200 Type set to I. (45) 28/11/2007 13:07:55 - userName () PASV (45) 28/11/2007 13:07:55 - userName () 227 Entering Passive Mode (192,168,0,30,47,141) (45) 28/11/2007 13:08:18 - userName () QUIT (45) 28/11/2007 13:08:18 - userName () 221 Bye bye ... (45) 28/11/2007 13:08:18 - userName () disconnected. (00:00:48) so apparently it doesn't even try to copy the 2 files. if I don't use passive I get the following: (47) 28/11/2007 13:15:22 - userName (IP) logged in. (47) 28/11/2007 13:15:22 - userName (IP) 230 User userName logged in. (47) 28/11/2007 13:15:23 - userName (IP) TYPE I (47) 28/11/2007 13:15:23 - userName (IP) 200 Type set to I. (47) 28/11/2007 13:15:23 - userName (IP) PORT 213,232,95,93,7,95 (47) 28/11/2007 13:15:23 - userName (IP) 200 Port command successful. (47) 28/11/2007 13:15:23 - userName (IP) STOR log 20071127191937.rar (47) 28/11/2007 13:15:23 - userName (IP) asked to upload 'log 20071127191937.rar' in '\\Vault\Server Backup\' -- Access allowed. (47) 28/11/2007 13:15:23 - userName (IP) 150 Opening data connection for log 20071127191937.rar. (47) 28/11/2007 13:15:44 - userName (IP) 226 File received ok. (47) 28/11/2007 13:15:44 - userName (IP) finished uploading 'log 20071127191937.rar' in '\\Vault\Server Backup\' - (13:15:45 - -0.001 KB - 0.000 KBytes/s). (47) 28/11/2007 13:15:54 - userName (IP) TYPE I (47) 28/11/2007 13:15:54 - userName (IP) 200 Type set to I. (47) 28/11/2007 13:15:54 - userName (IP) PORT 213,232,95,93,7,100 (47) 28/11/2007 13:15:54 - userName (IP) 200 Port command successful. (47) 28/11/2007 13:15:55 - userName (IP) STOR log 20071127230005.rar (47) 28/11/2007 13:15:55 - userName (IP) asked to upload 'log 20071127230005.rar' in '\\Vault\Server Backup\' -- Access allowed. (47) 28/11/2007 13:15:55 - userName (IP) 150 Opening data connection for log 20071127230005.rar. (47) 28/11/2007 13:15:55 - userName (IP) QUIT (47) 28/11/2007 13:15:55 - userName (IP) 221 Bye bye ... (47) 28/11/2007 13:15:55 - userName (IP) aborted uploading 'log 20071127230005.rar' in '\\Vault\Server Backup\' - (13:15:56 - -0.001 KB - 0.000 KBytes/s). (47) 28/11/2007 13:15:55 - userName (IP) disconnected. (00:00:33) Here it does try to upload the files but nothing appears in the target directory. Both files are around 3 MB. I have successfully uploaded a sample file from explorer so I know that the FTP server is ok. I also successfully put a file using the command line ftp client. I'm beginning to think that it might be better to try getting the file using CF on the target server rather than putting the file from the source server. Any other suggestions? On Nov 28, 2007 11:30 AM, Jochem van Dieten [EMAIL PROTECTED] wrote: Giles Roadnight wrote: I'm trying to get my CF server to FTP files to another server. I can connect ok but cannot put files. That can be caused by several issues with filesystem permissions and firewalls as the most likely culprits. Check the log files on the FTP server and if that doesn't provide any clues log on to the server hosting CF and run the command line FTP client and try to upload a file using both an active and a passive connection. That will most likely tell you what the problem is. Jochem ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293915 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CFFTP - put file problems
Unfortunately, no answer for you, but we're also have an CFFTP issue under CF8. A working template (under CF5) that FTP'd backup files to a remote server nightly no longer works on CF8. The files are generally around 10mb, but they always time out now at around 3mb +/-. Generally around 30 seconds. I've tried adjust the timeouts in the CFFTP tag, adding a request timeout etc. Here it does try to upload the files but nothing appears in the target directory. Both files are around 3 MB. I have successfully uploaded a sample file from explorer so I know that the FTP server is ok. I also successfully put a file using the command line ftp client. I'm beginning to think that it might be better to try getting the file using CF on the target server rather than putting the file from the source server. Steve Logan No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.9/1155 - Release Date: 11/27/2007 8:30 PM ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293922 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4