Hi again,
I'm having some problems transferring a file from an edge thing to the server. The file is 3998 bytes and is located in the file transfer folder on the edge thing. When I try to transfer the file (with Resources["FileSystemFunctions"].TransferFile), I get no errors in the Application or Script log, but in the repository folder on the server I just get an empty file with the same name but an '.encrypted' extension. I see these Info messages in the Application log: http://i.imgur.com/I736bFv.png
So the server gets the actual file contents (3998 bytes), renames "file.part" to "file" and completes the file transfer task successfully. But if I check C:\ThingworxStorage\repository, I see that the file is empty and has the "file.encrypted" extension. I use the same file name throughout the whole process (same on the edge thing & the server). Do you know what might be the problem?
Thanks in advance
Hi Stefan,
Hey Adam,
We're using ThingWorx 4.2.0.15 on Java 1.7.0_45 & Windows 7 SP1. The Edge MicroServer is version 4.1.1.3, also on Windows 7 SP1.
The file was created by an application running on the Thing, and is an XML file of 3998 bytes. I don't know why it doesn't work, some files can be transferred, and others can't, so it's possible the problem lies with us somewhere.
I uploaded the trace application log to the repository, log.zip contains the entries around the time of the transfer, and everything.zip contains the complete log file.
Thanks,
Stefan
Stefan,
Would you be available at 2 PM CEST tomorrow (8 AM EST) for a conference call to review the issue?
Regards,
Riaan
Yes, I'm available then.
How to transfer file local to remote repository, it means any file or data ..........tell me please