I'm testing a new FTP service to replace our old one written using the wininet.dll API.
The application connect to more than 100 remote servers and all of then works on the old service.
On the new one, written in C# and using FluentFTP, in only one remote server the upload doesn't work (dowload is ok so, there's not a connection issue).
I've contacted the infra team responsible for the server, they said that all transfered files are moved imediately from the destiny folder as soon as transfer is finished.
I imagine that this is causing the error below, when upload command sends the MDTM command to keep original file timestamp and the transfered file doesn't exists anymore.
Is that correct? Is there an option that I can set to make the upload just put the file in destiny and nothing else?
I've tried the verifyOptions = FtpVerify.None but the error persists.
# UploadFile("c:\temp\testfile.txt\testfile.txt", "/envio/testfile.txt", Overwrite, False, None)
# FileExists("/envio/testfile.txt")
Command: SIZE /envio/testfile.txt
Response: 550 Requested action not taken. File doesnot exist
Command: MDTM /envio/testfile.txt
Response: 213 19700101000000
# DeleteFile("/envio/testfile.txt")
Command: DELE /envio/testfile.txt
Response: 550 Requested action not taken. File unavailable (e.g., file not found, no access).
Thanks
Related
Another user in my organization put a folder with source code on a central server. I copied the source code to my local machine and when I try to run the application in VS on my local machine I get the following error:
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Detailed Error Information:
Module IIS Web Core
Notification Unknown
Handler Not yet determined
Error Code 0x80070005
Config Error Cannot read configuration file due to insufficient permissions
Config File \\?\UNC\...\users\username\My Web Sites\Website1\web.config
The issue is with the file location of the problematic .config file:
\\?\UNC...\users\username\My Web Sites\Website1\web.config
This location does not exist on my local machine. I have confirmed with the other user that it does exist on his machine - so it appears that the application is referencing a file location that simply does not exist. My suspicion is that there is some kind of folder/cache that needs to be cleared out, but I don't know what to do in this situation. Any ideas?
Ended up actually finding a duplicate question with an answer regarding deleting an applicationhost.config file and then recreating it in VS:
HTTP error 500.19 - Cannot read configuration file
I installed my private application which makes use of the Desktop Bridge and Dev Express XAF Winforms, from the Windows Store.
Then I uninstalled it using powershell
Remove-AppxPackage -Package *jobtalk*
Now when I try to reinstall from the store I get
Cannot compile the generated code. Please inspect the generated code via this exception's SourceCode property. The following errors occurred:
(0, 0): Error generating Win32 resource: Access is denied.
(0, 0): Unable to delete temporary file 'c:\Program Files\WindowsApps\jobtalk.jobtalk_1.0.1.0_neutral__8kpaqbvntb9aj\SBD.JobTalk.Workflow.Win\CSC88B14BFB7D314F00B0D1BB57EFD11.TMP' used for default Win32 resource -- The system cannot find the file specified.
[Update]
I think I need to install as administrator somehow.
The problem and solution are described at http://blog.delegate.at/
In order to contain app state, the bridge attempts to capture changes the app makes to AppData. All write to the user's AppData folder (e.g., C:\Users\user_name\AppData), including create, delete, and update, are copied on write to a private per-user, per-app location.
i have migrated my iOS app parse DB to Azure, but had not finalised it yet.
I have changed end point to azure URL and its almost fine i mean i can login with my previous accounts.
But when i am querying anything to fetch or update data it giving me errors in response like:
[Error]: {"code":1,"message":"Internal server error."} (Code: 1, Version: 1.13.0)
[Error]: Response status code was unacceptable: 404
[Error]: This user is not allowed to access non-existent class: user (Code: 119, Version: 1.13.0)
Can anybody help me here that, will it be possible to update or fetch data to azure only after i finalize at parse migration or still there is something which i need to update from my code?
I had this issue. You just need to go to the parse dashboard and create the class
I found the solution from azure document.
I was getting error for fetching parse's PFFile object, and for that i need to add file key in azure settings. the value for the key can be find from azure settings.
image of azure settings
You can create a class in the ParseDashboard which will fix the problem. I was not able to open parse dashboard in browser (Only allowed remote https connection). I had to start it locally and finally was able to open the dashboard. Then i created the class there and it fixed my problem.
To launch the dashboard locally run the following commands
npm install -g parse-dashboard
and
parse-dashboard --appId yourAppId --masterKey yourMasterKey --serverURL "https://example.com/parse" --appName optionalName
I am trying to use the Google Rest API from a Heroku instance. I am having problems with my certificate file, but everything works as expected locally.
The certificate is a PKCS 12 certificate, and the exception I get is:
java.io.IOException: DerInputStream.getLength(): lengthTag=111, too
big.
I finally found the source of this problem. Somewhere along the way the certificate file is modified, locally it is 1732 bytes but on the Heroku instance it is 3024 bytes. But I have no idea when this occurs. I build with the same command locally (./gradlew stage) and execute the resulting jar with the same command.
The file is stored in grails-app/conf, I don't know any better place to put it. I am reading it using this.getClass().getClassLoader().getResourceAsStream(...)
I found similar problems can occur when using Maven with resource filtering. But I haven't found any signs of Grails or Gradle doing the same kind of resource filtering.
Does anyone have any clues about what this can be?
I'm using Ruby version: 2.0. The function Resolv.getaddress(fqdn) is returning following error when used in rails application.
Parameters: {"fqdn"=>"1kzdm.scalsoln.in"}
Completed 500 Internal Server Error in 64ms
Resolv::ResolvError (no address for 1kzdm.scalsoln.in):
I'm have entry for this host in /etc/hosts and is resolvable using ping.
How can I make the Resolv.getaddress() function to read entries in /etc/hosts file?
It should just work like you expect - and it does on my machine.
Resolve::Hosts doesn't read in /etc/hosts on every resolution, though. It reads the file on first resolution and it is then cached for the subsequent calls. Perhaps you simply need to restart your server process to force a reload of the /etc/hosts file?
To work around the caching (ie. always resolve using non-cached data) you can create a new Resolv instance every time you want to look something up:
Resolv.new.getaddress("1kzdm.scalsoln.in")
(note the new in there).