On April 27, 2024, our Sign-in and Create Account options will be unavailable from 9am-12pm ET. During this maintenance window, developer account access and free trial registration will be unavailable.
Uploading File is Subdirectory Issue - OD 6.0 FTP
Gregg Faus
Verified
I've been messing with the OpenDeploy 6.0 FTP Delivery Adapter and have come across an issue I need help with. It appears that any file in my filelist deployment that's beyond a first level directory is not being uploaded to the FTP site. For example:
One workaround that I could think of is to write a recursive deployment that creates deployment config's for each sub directory using a TargetDir (in the ftp config file) based on the currently iterated subdirectory. Seems like a lot of work to me.
Environment: Win2k / TS 6.1 / OD 6.0
images\newsletter\sign.jpg [Fails]Looking at the IIS 5.0 FTP logs I see the last file, sign.jpg, failed because the adapter tried to create a multi-level directory. See the relevant portion of the log:
include\globalnav.asp [Works]
20:37:17 172.31.5.50 [146]USER ftpiwovtest 331Also, here is the relevant port of the ftpadapter.log file:
20:37:17 172.31.5.50 [146]PASS - 230
20:37:17 172.31.5.50 [146]MKD /images/newsletter 550
20:37:17 172.31.5.50 [146]created /images/newsletter/sign.jpg 550
20:37:17 172.31.5.50 [147]USER ftpiwovtest 331
20:37:17 172.31.5.50 [147]PASS - 230
20:37:17 172.31.5.50 [147]MKD /include 257
20:37:17 172.31.5.50 [147]created /include/globalnav.asp 226
20:37:17 172.31.5.50 [147]QUIT - 226
ADAPTER: 2004-07-14 21:35:42 BST GMT+01:00 absPath = e:\ftp_deployments\2420\images\newsletter\sign.jpgIs this a bug in the adapter? Am I not using it correctly? Is there a workaround that I could possibly use?
ADAPTER: 2004-07-14 21:35:42 BST GMT+01:00 In FtpHelper:ut()
ADAPTER: 2004-07-14 21:35:43 BST GMT+01:00 Full Path =/\images\newsletter\sign.jpg
ADAPTER: 2004-07-14 21:35:43 BST GMT+01:00 Parent Dir =\\images\newsletter
ADAPTER: 2004-07-14 21:35:43 BST GMT+01:00 Change remote dir =\\images\newsletter
ADAPTER: 2004-07-14 21:35:43 BST GMT+01:00 Create Dir =\\images\newsletter
ADAPTER: 2004-07-14 21:35:43 BST GMT+01:00 Creation of new dir =\\images\newsletter failed
ADAPTER: 2004-07-14 21:35:43 BST GMT+01:00 Change dir =\\images\newsletter failed
ADAPTER: 2004-07-14 21:35:43 BST GMT+01:00 ftping local file e:\ftp_deployments\2420\images\newsletter\sign.jpg
to /\images\newsletter\sign.jpg
ADAPTER: 2004-07-14 21:35:43 BST GMT+01:00 UNSUCCESSFUL in ftping file = /\images\newsletter\sign.jpg
One workaround that I could think of is to write a recursive deployment that creates deployment config's for each sub directory using a TargetDir (in the ftp config file) based on the currently iterated subdirectory. Seems like a lot of work to me.
Environment: Win2k / TS 6.1 / OD 6.0
Categories
- All Categories
- Cloud Editions
- 1 Thrust Services
- cat as link
- 1 Core SaaS Application development
- 10 Developer Announcements
- 15 General Questions
- 33.4K TeamSite
- 141 Application Governance & Archiving
- 15.2K Designing Analytics Reports
- 1K DevShare Downloads
- Core SaaS Applications
- nested parent
- 4.3K Developing Analytics Applications
- 8.8K Documentum Developer Forum
- Media Management developer
- 159 Transactional Content Processing (TCP)
- 1.7K Web Experience Management
- 55 Tempo Social
- 1 XM Fax