FTP Task Reports Error After Successful File Upload - VisualCron - Forum

Community forum

Randy Tippitt
2021-12-09T19:39:03Z
An FTP task finds successfully uploads the intended file(s) but reports a status of "Failed" with the following output:

Exception in Task: Error preparing upload of FTP folder (2), targetpath: /<xxxxxxxxx>, CurrentPath: , log: 1, error: Object reference not set to an instance of an object.
Sponsor
Forum information
Joey S
2021-12-17T15:23:39Z
Depending on your settings and the (more importantly) the access your user has to the ftp, you may be trying to rename the file after the upload OR query the status (date, name, size, etc) of the file which might not be allowed on the server.

We have a couple thousand ftp users connecting to us, from external locations, and every once in a while we get users who say they are receiving errors. The users are always able to upload files but they receive an error after the fact. Almost always it is an issue of permissions. We do not allow the users to rename or change files and their ftp software is trying, by default, to upload then rename or upload then change the date or modify the file in some sort of way.

if it is FTP make sure it is in passive mode. I am pretty sure the ftp backend, in VC, is based on filezilla software, Support should chime in as it may make a difference.

I would suggest using a 3rd part app, like filezilla or winscp, to test manually and report back your results. If all methods produce a similar result, reach out to the owner of the ftp and see if there are logs. Those would be the best way to track the issue down
Support
2022-01-11T13:30:59Z
Originally Posted by: Randy Tippitt 

An FTP task finds successfully uploads the intended file(s) but reports a status of "Failed" with the following output:

Exception in Task: Error preparing upload of FTP folder (2), targetpath: /<xxxxxxxxx>, CurrentPath: , log: 1, error: Object reference not set to an instance of an object.



Randy,

Are you still having this issue? Please reply here or send us an email to support@visualcron.com with more details.
Michael
Support
http://www.visualcron.com 

Please like  VisualCron on facebook!
Scroll to Top