Menu

#64 Upload exception (ver 0.10.2)

v0.10.1
open
nobody
None
5
2014-09-06
2014-03-13
psyafter
No

Hi.
I try FullSync on win2012r2 where regular ftp client work fine.
When I sync files from local to ftp there are strange exception and no files uploaded (no problem to upload to same ftp server from usual ftp client program):

<?xml version="1.0" encoding="UTF-8"?>
<Profiles version="1.1">
    <Profile description="" enabled="true" lastErrorLevel="0"
        lastErrorString="" lastUpdate="3/10/14 4:40 PM" name="mssql" type="Publish/Update">
        <RuleSetDescriptor type="simple">
            <SimpleRuleSet ignorePattern="" patternsType=""
                syncSubs="false" takePattern="" useFilter="false"/>
        </RuleSetDescriptor>
        <Schedule displayUnit="hours" firstinterval="86400000"
            interval="86400000" type="interval"/>
        <Source uri="file:/C:/backup/mssql/vv/"/>
        <Destination password="xxxxxx"
            uri="ftp://10.34.54.6:21/" username="lm_backup_mssql"/>
    </Profile>
</Profiles>

17 [main] DEBUG org.apache.commons.configuration.ConfigurationUtils - ConfigurationUtils.locate(): base is C:\Users\adminrdp.config\fullsync, name is preferences.properties
22 [main] DEBUG org.apache.commons.configuration.ConfigurationUtils - Loading configuration from the path C:\Users\adminrdp.config\fullsync\preferences.properties
1015 [Scheduler] DEBUG net.sourceforge.fullsync.schedule.Scheduler - searching for next task after 1394531602958
1017 [Scheduler] DEBUG net.sourceforge.fullsync.schedule.Scheduler - found: Scheduled execution of mssql at 1394618002370
1017 [Scheduler] DEBUG net.sourceforge.fullsync.schedule.Scheduler - waiting for 86399412 mseconds
3298 [Thread-0] INFO org.apache.commons.vfs2.impl.StandardFileSystemManager - Using "C:\Users\adminrdp\AppData\Local\Temp\2\vfs_cache" as temporary files store.
3337 [Thread-0] DEBUG org.apache.commons.vfs2.impl.StandardFileSystemManager - Skipping provider "org.apache.commons.vfs2.provider.http.HttpFileProvider" because required class "org.apache.commons.httpclient.HttpClient" is not available.
3337 [Thread-0] DEBUG org.apache.commons.vfs2.impl.StandardFileSystemManager - Skipping provider "org.apache.commons.vfs2.provider.https.HttpsFileProvider" because required class "org.apache.commons.httpclient.HttpClient" is not available.
3344 [Thread-0] DEBUG org.apache.commons.vfs2.impl.StandardFileSystemManager - Skipping provider "org.apache.commons.vfs2.provider.webdav.WebdavFileProvider" because required class "org.apache.commons.httpclient.HttpClient" is not available.
3396 [Thread-0] DEBUG org.apache.commons.vfs2.cache.SoftRefFilesCache - putFile: file:///C:/backup/mssql/vv
3478 [Thread-0] DEBUG org.apache.commons.vfs2.cache.SoftRefFilesCache - putFile: ftp://10.34.54.6/
3483 [Thread-0] DEBUG org.apache.commons.vfs2.cache.SoftRefFilesCache - putFile: file:///C:/backup/mssql/vv/Create_Synchronicity-6.0_Setup.txt
3509 [Thread-0] DEBUG StateDecider - Create_Synchronicity-6.0_Setup.txt; 305552 Bytes Mon Feb 24 12:11:32 IST 2014 vs. Create_Synchronicity-6.0_Setup.txt; -1 Bytes Thu Jan 01 01:59:59 IST 1970
3509 [Thread-0] DEBUG StateDecider - destination missing
3510 [Thread-0] DEBUG TaskGeneratorImpl - Create_Synchronicity-6.0_Setup.txt: [Add(Destination) BU: Destination; Rec: true - Add]
4462 [ActionPerformer] INFO FullSync - Synchronization started
4463 [ActionPerformer] INFO FullSync - source: C:\backup\mssql\vv
4463 [ActionPerformer] INFO FullSync - destination: ftp://10.34.54.6:21/
4511 [ActionPerformer] DEBUG org.apache.commons.vfs2.cache.SoftRefFilesCache - putFile: ftp://10.34.54.6/Create_Synchronicity-6.0_Setup.txt
4530 [ActionPerformer] ERROR FullSync - Exception
org.apache.commons.vfs2.FileSystemException: Could not write to "ftp://10.34.54.6/Create_Synchronicity-6.0_Setup.txt".
at org.apache.commons.vfs2.provider.AbstractFileObject.getOutputStream(AbstractFileObject.java:1439)
at org.apache.commons.vfs2.provider.DefaultFileContent.getOutputStream(DefaultFileContent.java:461)
at org.apache.commons.vfs2.provider.DefaultFileContent.getOutputStream(DefaultFileContent.java:441)
at net.sourceforge.fullsync.fs.connection.CommonsVfsConnection.writeFile(CommonsVfsConnection.java:121)
at net.sourceforge.fullsync.fs.connection.AbstractFile.getOutputStream(AbstractFile.java:198)
at net.sourceforge.fullsync.impl.FileCopyEntryDescriptor.getOutputStream(FileCopyEntryDescriptor.java:67)
at net.sourceforge.fullsync.buffer.BlockBuffer.flush(BlockBuffer.java:110)
at net.sourceforge.fullsync.impl.FillBufferTaskExecutor.flush(FillBufferTaskExecutor.java:172)
at net.sourceforge.fullsync.Synchronizer.performActions(Synchronizer.java:124)
at net.sourceforge.fullsync.ui.TaskDecisionPage$2.run(TaskDecisionPage.java:226)
at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.commons.vfs2.FileSystemException: Cant open output connection for file "ftp://10.34.54.6/Create_Synchronicity-6.0_Setup.txt". Reason: "550 Access is denied.
".
at org.apache.commons.vfs2.provider.ftp.FtpFileObject.doGetOutputStream(FtpFileObject.java:648)
at org.apache.commons.vfs2.provider.AbstractFileObject.getOutputStream(AbstractFileObject.java:1431)
... 10 more
GUIUpdateQueue<taskfinishedevent>::doUpdate: 1
4536 [ActionPerformer] DEBUG org.apache.commons.vfs2.cache.SoftRefFilesCache - close fs: file:///C:/
4536 [ActionPerformer] DEBUG org.apache.commons.vfs2.cache.SoftRefFilesCache - close fs: ftp://10.34.54.6/
4536 [ActionPerformer] INFO FullSync - synchronization successful
4536 [ActionPerformer] INFO FullSync - ------------------------------------------------------------
5491 [main] DEBUG org.apache.commons.vfs2.cache.SoftRefFilesCache - close fs: file:///C:/
5492 [main] DEBUG org.apache.commons.vfs2.cache.SoftRefFilesCache - close fs: ftp://10.34.54.6/</taskfinishedevent>

Discussion


Log in to post a comment.

MongoDB Logo MongoDB