FTP Failure

Use this forum to report bugs you find in the software.
Forum rules
We have no special rules for UVK forums. Just try to be polite and clear in your posts.
Please don't post spam in this forum. Spammers will be banned by IP, e-mail and username.
We reserve the right to delete all posts and ban all users we consider not having respected these rules without warning.
Post Reply
texomans
Posts: 4
Joined: Wed Apr 06, 2016 11:29 pm

FTP Failure

Post by texomans »

Unsure as to the cause, but I am unable to get reports to upload to our FTP server.I am able to connect to the server without issues using WinSCP, but when trying to configure UVK to upload, I get the error "Failure to send reports by FTP! The remote directory does not exist". The funny thing is that UVK does hit the directory as there is a new .zip file created, but it shows 0KB in size. I have tried Passive mode on and off, different user accounts and ensured users testing have permissions to the folder. Even tried using another folder in the root so that no sub-folders would be required.

P.S. I am aware of the typo in the directory. That was just for the screenshot, but I get the same error when the typo is not present.


UVK-FTP.png
UVK-FTP.png (85.74 KiB) Viewed 118 times
Fred
Site Admin
Posts: 2316
Joined: Sat Jul 30, 2011 12:05 pm
Location: Red coast, France
Contact:

Re: FTP Failure

Post by Fred »

Hi Texomans.

I'm sorry you're experiencing that issue, but I could not reproduce it myself. I just tried sending a report using the same settings (FTPS, not passive) and it worked fine. See the screenshot below. You could check out your server logs to see if there is any FTP related error. If your server tells you something bout it please post back. I'd like to know what's happening as much as you, so I could fix it.
ftp.png
ftp.png (54.4 KiB) Viewed 116 times
The only thing we humans have in common is that we are all different. So, if you think you're weird because you're different from everyone else, then we are all weird.

Fred
texomans
Posts: 4
Joined: Wed Apr 06, 2016 11:29 pm

Re: FTP Failure

Post by texomans »

I got it working. I was using a custom port on the external side of the firewall forwarding to port 21 on the server. Seems that this was the issue. I changed the firewall to accept port 21 and forward as usual, and this seems to have solved the issue. I was using the "Server Name: site.domain.com:xxxx", but this still did not work. It is working now, although not the best security by using the default port, but it works. I will leave it like this for the time being. (Not usre if it may be helpful for someone else, but I am using a QNAP TS-251+ as our FTP server as well as other functions such as WebDav, http and PHP site hosting. Not usre how, but maybe the QNAP was/is the cause.)

Thank you for the functionality confirmation.
Fred
Site Admin
Posts: 2316
Joined: Sat Jul 30, 2011 12:05 pm
Location: Red coast, France
Contact:

Re: FTP Failure

Post by Fred »

Thanks for posting back your solution. Although it still does not explain why WinSCP managed to send files and UVK didn't.

Anyway, glad you could work it out.
The only thing we humans have in common is that we are all different. So, if you think you're weird because you're different from everyone else, then we are all weird.

Fred
Post Reply